Oh, sorry I confused this with the staging URL. The plugins parent has
this configuration:
<plugin>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<stagingSiteURL>scp://people.apache.org/www/maven.apache.org/plugins/${project.artifactId}-${project.version}</stagingSiteURL>
</configuration>
</plugin>
So it's not the same POM element, but I think the intention is the same.
Whatever we do, we need to be consistent. We don't currently version our
sites, but I know Archiva does. We should discuss this on [EMAIL PROTECTED]
before we change any previous pattern.
Olivier Lamy wrote:
> Hi,
>
> Whats about :
> /www/maven.apache.org/scm-versions/1.0 ( or maven-scm-1.0)
> /www/maven.apache.org/scm-versions/1.1
>
> and a link (or a redirect) in root to the last version.
>
> ?
> --
> Olivier
>
> 2008/8/13 Dennis Lundberg <[EMAIL PROTECTED]>:
>> There's a problem doing that as well, and that is that you are mixing
>> content from several different site deploys into a single directory scm/
>>
>> Brett Porter wrote:
>>> Would scm/$VERSION be better, to reduce the number of directories in the
>>> root / ?
>>>
>>> Cheers,
>>> Brett
>>>
>>> On 13/08/2008, at 12:33 AM, [EMAIL PROTECTED] wrote:
>>>
>>>> Author: olamy
>>>> Date: Tue Aug 12 07:33:54 2008
>>>> New Revision: 685168
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=685168&view=rev
>>>> Log:
>>>> updgrade to last parent and versionned site deployment
>>>>
>>>> Modified:
>>>> maven/scm/trunk/maven-scm-site/pom.xml
>>>>
>>>> Modified: maven/scm/trunk/maven-scm-site/pom.xml
>>>> URL:
>>>> http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-site/pom.xml?rev=685168&r1=685167&r2=685168&view=diff
>>>>
>>>> ==============================================================================
>>>>
>>>> --- maven/scm/trunk/maven-scm-site/pom.xml (original)
>>>> +++ maven/scm/trunk/maven-scm-site/pom.xml Tue Aug 12 07:33:54 2008
>>>> @@ -21,7 +21,7 @@
>>>> <parent>
>>>> <artifactId>maven-scm</artifactId>
>>>> <groupId>org.apache.maven.scm</groupId>
>>>> - <version>1.1-SNAPSHOT</version>
>>>> + <version>1.2-SNAPSHOT</version>
>>>> </parent>
>>>> <modelVersion>4.0.0</modelVersion>
>>>> <artifactId>maven-scm-site</artifactId>
>>>> @@ -32,7 +32,7 @@
>>>> <distributionManagement>
>>>> <site>
>>>> <id>apache.website</id>
>>>> - <url>scpexe://people.apache.org/www/maven.apache.org/scm</url>
>>>> +
>>>> <url>scpexe://people.apache.org/www/maven.apache.org/scm-${pom.version}</url>
>>>>
>>>> </site>
>>>> </distributionManagement>
>>>>
>>>>
>>>>
>>> --
>>> Brett Porter
>>> [EMAIL PROTECTED]
>>> http://blogs.exist.com/bporter/
>>>
>>>
>>
>> --
>> Dennis Lundberg
>>
>
--
Dennis Lundberg