You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by si...@apache.org on 2012/01/06 00:25:56 UTC

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

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>



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

Posted by Dennis Lundberg <de...@apache.org>.
On 2012-01-08 22:59, Hervé BOUTEMY wrote:
> How is your solution different from Maven Plugins parent?
> I just applied stagingSiteURL like usual.

It's not :) I used the same pattern as in plugins parent.

> For the skins parent site, what about integrating it in the actual parent poms 
> list [1], and adding site-pom.xml + src/site-docs/ like other parent poms?

Sounds like a good idea.

> Any objection?
> 
> Regards,
> 
> Hervé
> 
> [1] http://maven.apache.org/pom/
> 
> Le dimanche 8 janvier 2012 20:04:14 Dennis Lundberg a écrit :
>> Hi
>>
>> Now that I have looked closer at this, I have a solution locally ready
>> to be checked in. But, because of a bug in the Site Plugin, the staged
>> (what Simone called an rc) site in my solution will end up in the wrong
>> place. Simone's rc profile on the other hand will deploy the staged/rc
>> site in the correct place.
>>
>> So I think that I will not check in my solution right now. Let us do
>> this release using Simone's rc profile. After that release is done I'll
>> check in my solution and start to push for a release of the Site Plugin
>> (which has a fix for the mentioned bug).
>>
>> One important thing to note though: the site for the parent maven-skins
>> should not be deployed. That index-page is part of the site for Maven.
>> Currently the wrong page is live, but the order will be restored the
>> next time someone deploy the Maven site.
>>
>> On 2012-01-07 21:08, Simone Tripodi wrote:
>>> 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 <de...@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 <he...@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.ht
>>>>>> ml
>>>>>>
>>>>>> 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 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-applicati
>>>>>>>> on-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/${proj
>>>>>>>> ect.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-s
>>>>>>>> kin/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/${proj
>>>>>>>> ect.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-s
>>>>>>>> kin/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/${proj
>>>>>>>> ect.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-sk
>>>>>>>> in/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/${proj
>>>>>>>> ect.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-sk
>>>>>>>> in/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/skin
>>>>>>>> s/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/${proj
>>>>>>>> ect.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=122
>>>>>>>> 7893&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}</si
>>>>>>>> te.destina tio n> +      </properties>
>>>>>>>> +    </profile>
>>>>>>>> +  </profiles>
>>>>>>>> +
>>>>>>>>
>>>>>>>>  </project>
>>>>>>>
>>>>>>> ----------------------------------------------------------------
>>>>>>> -----
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>>>
>>>>>> ------------------------------------------------------------------
>>>>>> ---
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>>
>>>>> --------------------------------------------------------------------
>>>>> -
>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>
>>>> --
>>>> Dennis Lundberg
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg

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


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

Posted by Hervé BOUTEMY <he...@free.fr>.
How is your solution different from Maven Plugins parent?
I just applied stagingSiteURL like usual.

For the skins parent site, what about integrating it in the actual parent poms 
list [1], and adding site-pom.xml + src/site-docs/ like other parent poms?

Any objection?

Regards,

Hervé

[1] http://maven.apache.org/pom/

Le dimanche 8 janvier 2012 20:04:14 Dennis Lundberg a écrit :
> Hi
> 
> Now that I have looked closer at this, I have a solution locally ready
> to be checked in. But, because of a bug in the Site Plugin, the staged
> (what Simone called an rc) site in my solution will end up in the wrong
> place. Simone's rc profile on the other hand will deploy the staged/rc
> site in the correct place.
> 
> So I think that I will not check in my solution right now. Let us do
> this release using Simone's rc profile. After that release is done I'll
> check in my solution and start to push for a release of the Site Plugin
> (which has a fix for the mentioned bug).
> 
> One important thing to note though: the site for the parent maven-skins
> should not be deployed. That index-page is part of the site for Maven.
> Currently the wrong page is live, but the order will be restored the
> next time someone deploy the Maven site.
> 
> On 2012-01-07 21:08, Simone Tripodi wrote:
> > 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 <de...@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 <he...@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.ht
> >>>> ml
> >>>> 
> >>>> 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 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-applicati
> >>>>>> on-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/${proj
> >>>>>> ect.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-s
> >>>>>> kin/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/${proj
> >>>>>> ect.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-s
> >>>>>> kin/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/${proj
> >>>>>> ect.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-sk
> >>>>>> in/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/${proj
> >>>>>> ect.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-sk
> >>>>>> in/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/skin
> >>>>>> s/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/${proj
> >>>>>> ect.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=122
> >>>>>> 7893&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}</si
> >>>>>> te.destina tio n> +      </properties>
> >>>>>> +    </profile>
> >>>>>> +  </profiles>
> >>>>>> +
> >>>>>> 
> >>>>>>  </project>
> >>>>> 
> >>>>> ----------------------------------------------------------------
> >>>>> -----
> >>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >>>>> For additional commands, e-mail: dev-help@maven.apache.org
> >>>> 
> >>>> ------------------------------------------------------------------
> >>>> ---
> >>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >>>> For additional commands, e-mail: dev-help@maven.apache.org
> >>> 
> >>> --------------------------------------------------------------------
> >>> -
> >>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >>> For additional commands, e-mail: dev-help@maven.apache.org
> >> 
> >> --
> >> Dennis Lundberg
> >> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: dev-help@maven.apache.org
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org

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


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

Posted by Dennis Lundberg <de...@apache.org>.
Hi

Now that I have looked closer at this, I have a solution locally ready
to be checked in. But, because of a bug in the Site Plugin, the staged
(what Simone called an rc) site in my solution will end up in the wrong
place. Simone's rc profile on the other hand will deploy the staged/rc
site in the correct place.

So I think that I will not check in my solution right now. Let us do
this release using Simone's rc profile. After that release is done I'll
check in my solution and start to push for a release of the Site Plugin
(which has a fix for the mentioned bug).

One important thing to note though: the site for the parent maven-skins
should not be deployed. That index-page is part of the site for Maven.
Currently the wrong page is live, but the order will be restored the
next time someone deploy the Maven site.


On 2012-01-07 21:08, Simone Tripodi wrote:
> 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 <de...@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 <he...@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 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/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-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>
>>
>> --
>> Dennis Lundberg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg

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


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

Posted by Simone Tripodi <si...@apache.org>.
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 <de...@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 <he...@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 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/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-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

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


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

Posted by Dennis Lundberg <de...@apache.org>.
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 <he...@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 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/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-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg

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


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

Posted by Simone Tripodi <si...@apache.org>.
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 <he...@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 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/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-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

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


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

Posted by Hervé BOUTEMY <he...@free.fr>.
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 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/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-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

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


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

Posted by Hervé BOUTEMY <he...@free.fr>.
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