summaryrefslogtreecommitdiffstats
path: root/archiva-modules/pom.xml
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-05-03 23:30:53 +0000
committerOlivier Lamy <olamy@apache.org>2013-05-03 23:30:53 +0000
commit2eaa058a7b0c68bd9af3c6cee71a1b7d6dd1500f (patch)
treec5155ec6f5a600cd0b42584806a671ed52ac58e6 /archiva-modules/pom.xml
parente7394ea2adc322ab18b3a8b41d732524ed17d37c (diff)
downloadarchiva-2eaa058a7b0c68bd9af3c6cee71a1b7d6dd1500f.tar.gz
archiva-2eaa058a7b0c68bd9af3c6cee71a1b7d6dd1500f.zip
simplify site deployment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1479005 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/pom.xml')
-rw-r--r--archiva-modules/pom.xml35
1 files changed, 26 insertions, 9 deletions
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 @@
<properties>
<siteFilePath>${user.home}/archiva-sites/archiva-ref-${project.version}/</siteFilePath>
<siteUrlDeployment>file://${siteFilePath}</siteUrlDeployment>
- <scmPubCheckoutDirectory>${user.home}/archiva-sites/archiva-ref-${project.version}-content</scmPubCheckoutDirectory>
+ <scmPubCheckoutDirectory>${basedir}/.site-content</scmPubCheckoutDirectory>
</properties>
<modules>
@@ -53,7 +53,7 @@
<configuration>
<pubScmUrl>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/ref/${project.version}</pubScmUrl>
<checkinComment>Apache Archiva Versionned ref for ${project.version}</checkinComment>
- <content>${siteFilePath}</content>
+ <content>${project.build.directory}/staging</content>
</configuration>
</plugin>
</plugins>
@@ -83,13 +83,6 @@
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<configLocation>config/maven_checks.xml</configLocation>
</configuration>
- <reportSets>
- <reportSet>
- <reports>
- <report>checkstyle-aggregate</report>
- </reports>
- </reportSet>
- </reportSets>
</plugin>
<plugin>
<!-- No need for the standard project reports -->
@@ -168,6 +161,30 @@
</plugins>
</reporting>
+ <profiles>
+ <profile>
+ <id>reporting</id>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>${checkstyleVersion}</version>
+ <inherited>false</inherited>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>checkstyle-aggregate</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
+ </profile>
+ </profiles>
+
+
<distributionManagement>
<site>