Created
January 5, 2012 23:20
-
-
Save simonetripodi/1567920 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: maven-classic-skin/pom.xml | |
=================================================================== | |
--- maven-classic-skin/pom.xml (revision 1227886) | |
+++ maven-classic-skin/pom.xml (working copy) | |
@@ -33,7 +33,7 @@ | |
<name>Maven Classic Skin</name> | |
<description>Maven Classic Skin</description> | |
- <url>http://maven.apache.org/skins/${project.artifactId}</url> | |
+ <url>http://maven.apache.org/skins/${site.destination}</url> | |
<issueManagement> | |
<system>jira</system> | |
@@ -47,7 +47,7 @@ | |
<!-- Cannot define in parent --> | |
<site> | |
<id>apache.website</id> | |
- <url>scp://people.apache.org/www/maven.apache.org/skins/${project.artifactId}-${project.version}</url> | |
+ <url>scp://people.apache.org/www/maven.apache.org/skins/${site.destination}</url> | |
</site> | |
</distributionManagement> | |
</profile> | |
Index: maven-fluido-skin/pom.xml | |
=================================================================== | |
--- maven-fluido-skin/pom.xml (revision 1227886) | |
+++ maven-fluido-skin/pom.xml (working copy) | |
@@ -31,7 +31,7 @@ | |
<name>Apache Maven Fluido Skin</name> | |
<description>The Apache Maven Fluido Skin is an Apache Maven site skin | |
built on top of Twitter's bootstrap.</description> | |
- <url>http://maven.apache.org/skins/${project.artifactId}</url> | |
+ <url>http://maven.apache.org/skins/${site.destination}</url> | |
<inceptionYear>2011</inceptionYear> | |
<contributors> | |
@@ -138,7 +138,7 @@ | |
<!-- Cannot define in parent --> | |
<site> | |
<id>apache.website</id> | |
- <url>scp://people.apache.org/www/maven.apache.org/skins/${project.artifactId}-${project.version}</url> | |
+ <url>scp://people.apache.org/www/maven.apache.org/skins/${site.destination}</url> | |
</site> | |
</distributionManagement> | |
</profile> | |
Index: maven-application-skin/pom.xml | |
=================================================================== | |
--- maven-application-skin/pom.xml (revision 1227886) | |
+++ maven-application-skin/pom.xml (working copy) | |
@@ -33,7 +33,7 @@ | |
<name>Maven Application Skin</name> | |
<description>Maven Application Skin</description> | |
- <url>http://maven.apache.org/skins/${project.artifactId}</url> | |
+ <url>http://maven.apache.org/skins/${site.destination}</url> | |
<issueManagement> | |
<system>jira</system> | |
@@ -47,7 +47,7 @@ | |
<!-- Cannot define in parent --> | |
<site> | |
<id>apache.website</id> | |
- <url>scp://people.apache.org/www/maven.apache.org/skins/${project.artifactId}-${project.version}</url> | |
+ <url>scp://people.apache.org/www/maven.apache.org/skins/${site.destination}</url> | |
</site> | |
</distributionManagement> | |
</profile> | |
Index: maven-stylus-skin/pom.xml | |
=================================================================== | |
--- maven-stylus-skin/pom.xml (revision 1227886) | |
+++ maven-stylus-skin/pom.xml (working copy) | |
@@ -33,7 +33,7 @@ | |
<name>Maven Site Skin</name> | |
<description>Maven Site Skin</description> | |
- <url>http://maven.apache.org/skins/${project.artifactId}</url> | |
+ <url>http://maven.apache.org/skins/${site.destination}</url> | |
<scm> | |
<connection>scm:svn:http://svn.apache.org/repos/asf/maven/skins/trunk/maven-stylus-skin/</connection> | |
@@ -52,7 +52,7 @@ | |
<!-- Cannot define in parent --> | |
<site> | |
<id>apache.website</id> | |
- <url>scp://people.apache.org/www/maven.apache.org/skins/${project.artifactId}-${project.version}</url> | |
+ <url>scp://people.apache.org/www/maven.apache.org/skins/${site.destination}</url> | |
</site> | |
</distributionManagement> | |
</profile> | |
Index: maven-default-skin/pom.xml | |
=================================================================== | |
--- maven-default-skin/pom.xml (revision 1227886) | |
+++ maven-default-skin/pom.xml (working copy) | |
@@ -33,7 +33,7 @@ | |
<name>Maven Default Skin</name> | |
<description>Maven Default Skin</description> | |
- <url>http://maven.apache.org/skins/${project.artifactId}</url> | |
+ <url>http://maven.apache.org/skins/${site.destination}</url> | |
<issueManagement> | |
<system>jira</system> | |
@@ -47,7 +47,7 @@ | |
<!-- Cannot define in parent --> | |
<site> | |
<id>apache.website</id> | |
- <url>scp://people.apache.org/www/maven.apache.org/skins/${project.artifactId}-${project.version}</url> | |
+ <url>scp://people.apache.org/www/maven.apache.org/skins/${site.destination}</url> | |
</site> | |
</distributionManagement> | |
</profile> | |
Index: pom.xml | |
=================================================================== | |
--- pom.xml (revision 1227884) | |
+++ pom.xml (working copy) | |
@@ -69,6 +69,7 @@ | |
<!-- Workaround for SUREFIRE-300 --> | |
<properties> | |
<maven.test.skip>true</maven.test.skip> | |
+ <site.destination>${project.artifactId}</site.destination> | |
</properties> | |
<build> | |
@@ -85,4 +86,13 @@ | |
</pluginManagement> | |
</build> | |
+ <profiles> | |
+ <profile> | |
+ <id>rc</id> | |
+ <properties> | |
+ <site.destination>${project.artifactId}-${project.version}</site.destination> | |
+ </properties> | |
+ </profile> | |
+ </profiles> | |
+ | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment