Hi Ian,
Here are my thoughts for the site deployment:
1. shindig/shindig-1.0.x => current release/snapshot
2. shindig/shindig-1.0.x/1.0 => specific release (staged doc during
the release process)
Are you agree on this concept?
The following is based on the revert of r772435.
To do 1: mvn site:deploy -Preporting
Will be called in the step 8 of the release process.
To do 2: mvn site:stage-deploy -Preporting
Will be called in the step 4 of the release process
We just need to add this conf
<artifactId>maven-site-plugin</artifactId>
<configuration>
<stagingSiteURL>scp://people.apache.org/www/incubator.apache.org/shindig/shindig-1.0.x/${pom.version}</stagingSiteURL>
</configuration>
I hope it is a little more clear :)
Cheers,
Vincent
2009/5/7 Ian Boston <[email protected]>:
>
> On 6 May 2009, at 23:27, Vincent Siveton wrote:
>
>> Nice catch!
>>
>> I will revert to:
>>
>> <url>scp://people.apache.org/www/incubator.apache.org/shindig/shindig-1.0.x/</url>
>> ie /shindig-1.0.x/ for release or snapshot deploy
>>
>>
>> and update the release process (step 4) to
>> mvn site:stage-deploy -Preporting
>
> -Prelease
>
>>
>> which deploy to shindig-1.0.x/1.0-incubating (release)
>>
>> WDYT?
>
>
> Bear with me... I could be confused :),
>
> I think svn is good as it stands and all it needs is a
> mvn site:deploy -Prelease
> in stage 4
> ?
>
> ie, deploy the site to the 'release' location
>
> I will re-run the release and see what happens.
>
> I will first re-deploy the branch site.
> Ian
>
>
>>
>>
>> Thanks
>>
>> Vincent
>>
>> 2009/5/6 Ian Boston <[email protected]>:
>>>
>>> Hmm, I will test but are you sure about that?
>>> We are not using the release profile for the site build or deploy
>>> as per step 4 in [1]
>>> So AFAICT the url will be the distro management site url from the default
>>> profile
>>> Ian
>>>
>>>
>>> [1] http://incubator.apache.org/shindig/community/releasing.html
>>>
>>> On 6 May 2009, at 22:42, [email protected] wrote:
>>>
>>>> Author: vsiveton
>>>> Date: Wed May 6 21:42:21 2009
>>>> New Revision: 772435
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=772435&view=rev
>>>> Log:
>>>> o added distributionManagement tag for release
>>>>
>>>> Modified:
>>>> incubator/shindig/branches/1.0.x-incubating/pom.xml
>>>>
>>>> Modified: incubator/shindig/branches/1.0.x-incubating/pom.xml
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/incubator/shindig/branches/1.0.x-incubating/pom.xml?rev=772435&r1=772434&r2=772435&view=diff
>>>>
>>>>
>>>> ==============================================================================
>>>> --- incubator/shindig/branches/1.0.x-incubating/pom.xml (original)
>>>> +++ incubator/shindig/branches/1.0.x-incubating/pom.xml Wed May 6
>>>> 21:42:21 2009
>>>> @@ -73,7 +73,7 @@
>>>> <!-- D I S T R I B U T I O N M A N A G E M E N T
>>>> -->
>>>> <!--
>>>> ======================================================================
>>>> -->
>>>> <distributionManagement>
>>>> - <!-- This is the technical website for Shindig 1.0.x -->
>>>> + <!-- This is the technical website for Shindig 1.0.x (SNAPSHOT) -->
>>>> <site>
>>>> <id>apache.website</id>
>>>>
>>>>
>>>> <url>scp://people.apache.org/www/incubator.apache.org/shindig/shindig-1.0.x</url>
>>>> @@ -679,6 +679,13 @@
>>>>
>>>> <profile>
>>>> <id>release</id>
>>>> + <distributionManagement>
>>>> + <!-- This is the technical website for Shindig 1.0.x (release)
>>>> -->
>>>> + <site>
>>>> + <id>apache.website</id>
>>>> +
>>>>
>>>> <url>scp://people.apache.org/www/incubator.apache.org/shindig/shindig-1.0.x/${pom.version}</url>
>>>> + </site>
>>>> + </distributionManagement>
>>>> <build>
>>>> <plugins>
>>>> <!-- We want to sign the artifact, the POM, and all attached
>>>> artifacts -->
>>>>
>>>>
>>>
>>>
>
>