Hi Dennis!

yes please, it would be much more than appreciated, feel free to fix
stuff there if needed!
TIA!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Sat, Jan 7, 2012 at 8:26 PM, Dennis Lundberg <denn...@apache.org> wrote:
> Hi Simone
>
> I agree with Hervé, we already have a method for this that we use in
> most of our sub-projects. That work in the same way as your method, but
> it would be easier if ha only one way of doing it. I'd be happy to help
> set it up.
>
> On 2012-01-06 20:21, Simone Tripodi wrote:
>> Salut Hervé,
>>
>> sorry but didn't notice earlier you replied to the commit!
>>
>> At the end of the day I figured out how to deploy the staging site
>> directly to the required location, avoiding the auxiliary scp
>> invocation - that is simple approach based on a RC profile that allows
>> deploys all skins in one shot.
>> It just worked - I'm waiting for sites sync to open the VOTE thread -
>> hope that works for you as well, all the best!
>> -Simo
>>
>> http://people.apache.org/~simonetripodi/
>> http://simonetripodi.livejournal.com/
>> http://twitter.com/simonetripodi
>> http://www.99soft.org/
>>
>>
>>
>> On Fri, Jan 6, 2012 at 1:16 AM, Hervé BOUTEMY <herve.bout...@free.fr> wrote:
>>> forgot the link...
>>> [1] http://svn.apache.org/viewvc/maven/plugins/tags/maven-
>>> plugins-22/pom.xml?view=markup
>>>
>>> and the doc to staging release:
>>> http://maven.apache.org/developers/release/maven-plugin-release.html
>>>
>>> Le vendredi 6 janvier 2012 01:14:01 Hervé BOUTEMY a écrit :
>>>> 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 simonetrip...@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/po
>>>>> m.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.artifa
>>>>> ctI d}-${project.version}</url> +
>>>>> <url>scp://people.apache.org/www/maven.apache.org/skins/${site.destinati
>>>>> on} </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.xm
>>>>> l?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.artifa
>>>>> ctI d}-${project.version}</url> +
>>>>> <url>scp://people.apache.org/www/maven.apache.org/skins/${site.destinati
>>>>> on} </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.xm
>>>>> l?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.artifa
>>>>> ctI d}-${project.version}</url> +
>>>>> <url>scp://people.apache.org/www/maven.apache.org/skins/${site.destinati
>>>>> on} </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.artifa
>>>>> ctI d}-${project.version}</url> +
>>>>> <url>scp://people.apache.org/www/maven.apache.org/skins/${site.destinati
>>>>> on} </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/ma
>>>>> ven -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.artifa
>>>>> ctI d}-${project.version}</url> +
>>>>> <url>scp://people.apache.org/www/maven.apache.org/skins/${site.destinati
>>>>> on} </url> </site>
>>>>>
>>>>>        </distributionManagement>
>>>>>
>>>>>      </profile>
>>>>>
>>>>> Modified: maven/skins/trunk/pom.xml
>>>>> URL:
>>>>> http://svn.apache.org/viewvc/maven/skins/trunk/pom.xml?rev=1227893&r1=12
>>>>> 278 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.destina
>>>>> tio n> +      </properties>
>>>>> +    </profile>
>>>>> +  </profiles>
>>>>> +
>>>>>
>>>>>  </project>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>>>> For additional commands, e-mail: dev-h...@maven.apache.org
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: dev-h...@maven.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>> For additional commands, e-mail: dev-h...@maven.apache.org
>>
>>
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>

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

Reply via email to