On 3/20/08, Torsten Curdt <[EMAIL PROTECTED]> wrote:
> I usually using / in favor of...
>
> ${commons.deployment.protocol}://people.apache.org/home/${user}/somepath
>
<snip/>
That'd work too, if we can all agree on the somepath fragment (I don't
want to make that call for everyone, other than it begin with
public_html :-). Moreover, I've used pao/builds for this sort of thing
before, so I gravitate to that. Just had a look again, seems to be a
popular stage for (some parts of, formerly) Maven land [1] and various
[2] other [3] places [4].
Couple of updates to my proposed pattern below:
* I think the m2-staging-repository fragment can just go, or atleast
be shorter like m2-staged or something
* Given the way we do releases (multiple RCs), it makes sense to
replace the ${pom.version} fragment with
${pom.version}-${commons.rc.version} at the risk of inventing a new
property.
-Rahul
[1] http://people.apache.org/builds/maven/
[2] http://people.apache.org/builds/struts/
[3] http://people.apache.org/builds/shale/
[4] http://people.apache.org/builds/myfaces/
> ...and after release that gets moved into the correct place in the m2 repo.
>
> cheers
> --
> Torsten
>
>
> On 3/19/08, Rahul Akolkar <[EMAIL PROTECTED]> wrote:
> > How is everyone staging m2 releases? Can we apply the following patch
> > to commons-parent? Please try to read over any formatting mishaps --
> > its the (release profile)/distributionManagement/repository element.
> >
> >
> > Index: pom.xml
> > ===================================================================
> > --- pom.xml (revision 638493)
> > +++ pom.xml (working copy)
> > @@ -378,9 +378,9 @@
> > <id>release</id>
> > <distributionManagement>
> > <repository>
> > - <id>apache.releases</id>
> > - <name>Apache Release Distribution Repository</name>
> > -
> <url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
> > + <id>commons.staging</id>
> > + <name>Apache Commons Staging Repository</name>
> > +
> <url>${commons.deployment.protocol}://people.apache.org/builds/commons/${commons.componentid}/${pom.version}/m2-staging-repository/</url>
> > </repository>
> > </distributionManagement>
> > <build>
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]