maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BOUTEMY <herve.bout...@free.fr>
Subject Re: svn commit: r1227893 - in /maven/skins/trunk: maven-application-skin/pom.xml maven-classic-skin/pom.xml maven-default-skin/pom.xml maven-fluido-skin/pom.xml maven-stylus-skin/pom.xml pom.xml
Date Fri, 06 Jan 2012 00:14:01 GMT
Hi Simone,

The classical way to do such versioned + non-versioned site deployment is by 
using stagingSiteURL configuration in site plugin, see [1]
Then the release documentation explains how to stage the versionned doc

I suppose this is usable in this case, instead of this rc profile, no?

Regards,

Hervé

Le jeudi 5 janvier 2012 23:25:56 simonetripodi@apache.org a écrit :
> 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.x
> ml?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.artifactI
> d}-${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?r
> ev=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.artifactI
> d}-${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?r
> ev=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.artifactI
> d}-${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?re
> v=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.artifactI
> d}-${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?re
> v=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.artifactI
> d}-${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=12278
> 92&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.destinatio
> n> +      </properties>
> +    </profile>
> +  </profiles>
> +
>  </project>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message