diff --git a/archiva-modules/deploySite.sh b/archiva-modules/deploySite.sh
index c876c99d6..44a13e0e9 100644
--- a/archiva-modules/deploySite.sh
+++ b/archiva-modules/deploySite.sh
@@ -1 +1 @@
-mvn clean site-deploy scm-publish:publish-scm $@
+mvn clean site site:stage -Preporting scm-publish:publish-scm $@
diff --git a/archiva-modules/pom.xml b/archiva-modules/pom.xml
index 0af6f5499..d6ac47991 100644
--- a/archiva-modules/pom.xml
+++ b/archiva-modules/pom.xml
@@ -32,7 +32,7 @@
${user.home}/archiva-sites/archiva-ref-${project.version}/
file://${siteFilePath}
- ${user.home}/archiva-sites/archiva-ref-${project.version}-content
+ ${basedir}/.site-content
@@ -53,7 +53,7 @@
scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/ref/${project.version}
Apache Archiva Versionned ref for ${project.version}
- ${siteFilePath}
+ ${project.build.directory}/staging
@@ -83,13 +83,6 @@
true
config/maven_checks.xml
-
-
-
- checkstyle-aggregate
-
-
-
@@ -168,6 +161,30 @@
+
+
+ reporting
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ ${checkstyleVersion}
+ false
+
+
+
+ checkstyle-aggregate
+
+
+
+
+
+
+
+
+
+