Browse Source

simplify site deployment

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1479005 13f79535-47bb-0310-9956-ffa450edef68
tags/archiva-1.4-M4
Olivier Lamy 11 years ago
parent
commit
2eaa058a7b
2 changed files with 27 additions and 10 deletions
  1. 1
    1
      archiva-modules/deploySite.sh
  2. 26
    9
      archiva-modules/pom.xml

+ 1
- 1
archiva-modules/deploySite.sh View File

@@ -1 +1 @@
mvn clean site-deploy scm-publish:publish-scm $@
mvn clean site site:stage -Preporting scm-publish:publish-scm $@

+ 26
- 9
archiva-modules/pom.xml View File

@@ -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>

Loading…
Cancel
Save