Author: simonetripodi
Date: Thu Jan 5 23:25:56 2012
New Revision: 1227893
URL: http://svn.apache.org/viewvc?rev=1227893&view=rev
Log:
allows dynamic URLs depending on the active profiles
Modified:
maven/skins/trunk/maven-application-skin/pom.xml
maven/skins/trunk/maven-classic-skin/pom.xml
maven/skins/trunk/maven-default-skin/pom.xml
maven/skins/trunk/maven-fluido-skin/pom.xml
maven/skins/trunk/maven-stylus-skin/pom.xml
maven/skins/trunk/pom.xml
Modified: maven/skins/trunk/maven-application-skin/pom.xml
URL:
http://svn.apache.org/viewvc/maven/skins/trunk/maven-application-skin/pom.xml?rev=1227893&r1=1227892&r2=1227893&view=diff
==============================================================================
--- maven/skins/trunk/maven-application-skin/pom.xml (original)
+++ maven/skins/trunk/maven-application-skin/pom.xml Thu Jan 5 23:25:56 2012
@@ -33,7 +33,7 @@ under the License.
<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 @@ under the License.
<!-- 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>
Modified: maven/skins/trunk/maven-classic-skin/pom.xml
URL:
http://svn.apache.org/viewvc/maven/skins/trunk/maven-classic-skin/pom.xml?rev=1227893&r1=1227892&r2=1227893&view=diff
==============================================================================
--- maven/skins/trunk/maven-classic-skin/pom.xml (original)
+++ maven/skins/trunk/maven-classic-skin/pom.xml Thu Jan 5 23:25:56 2012
@@ -33,7 +33,7 @@ under the License.
<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 @@ under the License.
<!-- 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>
Modified: maven/skins/trunk/maven-default-skin/pom.xml
URL:
http://svn.apache.org/viewvc/maven/skins/trunk/maven-default-skin/pom.xml?rev=1227893&r1=1227892&r2=1227893&view=diff
==============================================================================
--- maven/skins/trunk/maven-default-skin/pom.xml (original)
+++ maven/skins/trunk/maven-default-skin/pom.xml Thu Jan 5 23:25:56 2012
@@ -33,7 +33,7 @@ under the License.
<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 @@ under the License.
<!-- 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>
Modified: maven/skins/trunk/maven-fluido-skin/pom.xml
URL:
http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/pom.xml?rev=1227893&r1=1227892&r2=1227893&view=diff
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/pom.xml (original)
+++ maven/skins/trunk/maven-fluido-skin/pom.xml Thu Jan 5 23:25:56 2012
@@ -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>
Modified: maven/skins/trunk/maven-stylus-skin/pom.xml
URL:
http://svn.apache.org/viewvc/maven/skins/trunk/maven-stylus-skin/pom.xml?rev=1227893&r1=1227892&r2=1227893&view=diff
==============================================================================
--- maven/skins/trunk/maven-stylus-skin/pom.xml (original)
+++ maven/skins/trunk/maven-stylus-skin/pom.xml Thu Jan 5 23:25:56 2012
@@ -33,7 +33,7 @@ under the License.
<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 @@ under the License.
<!-- 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>
Modified: maven/skins/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/maven/skins/trunk/pom.xml?rev=1227893&r1=1227892&r2=1227893&view=diff
==============================================================================
--- maven/skins/trunk/pom.xml (original)
+++ maven/skins/trunk/pom.xml Thu Jan 5 23:25:56 2012
@@ -69,6 +69,7 @@ under the License.
<!-- Workaround for SUREFIRE-300 -->
<properties>
<maven.test.skip>true</maven.test.skip>
+ <site.destination>${project.artifactId}</site.destination>
</properties>
<build>
@@ -85,4 +86,13 @@ under the License.
</pluginManagement>
</build>
+ <profiles>
+ <profile>
+ <id>rc</id>
+ <properties>
+
<site.destination>${project.artifactId}-${project.version}</site.destination>
+ </properties>
+ </profile>
+ </profiles>
+
</project>