commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simone.trip...@gmail.com>
Subject Re: [infra] Digester 2.1 release blocked Was [Digester] Auth fail when copying artifacts from staging
Date Fri, 24 Sep 2010 09:14:20 GMT
Ciao Antonio :)
I've been following the release process for commons components as
described in the commons wiki[1], the rc profile was needed to
generate the RC, what blocked me was just the execution of the
following maven command:

mvn stage:copy -Dsource="http://people.apache.org/builds/commons/digester/2.1/RC2/staged/"
\
  -Dtarget="scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository"
\
  -DtargetRepositoryId=apache.releases \
  -Dversion=2.1

The fixes you suggested allowed maven working like a swiss clock :P

Thanks a lot for your help, more than appreciated!
Simo

[1] http://wiki.apache.org/commons/CreatingReleases

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



On Fri, Sep 24, 2010 at 10:36 AM, Antonio Petrelli
<antonio.petrelli@gmail.com> wrote:
> 2010/9/24 Simone Tripodi <simone.tripodi@gmail.com>:
>> thanks a lot for your help!!! During the final phase of release I
>> wasn't using profiles at all
>
> You didn't, but unfortunately I discovered that commons-parent does. I
> see this in commons-parent pom:
>
> <plugin>
>            <artifactId>maven-release-plugin</artifactId>
>            <configuration>
>              <!-- Pass these arguments to the deploy plugin. -->
>              <arguments>-Prc</arguments>
>            </configuration>
>          </plugin>
>
> This overrides the configuration in org.apache:apache:7
>
> <plugin>
>          <groupId>org.apache.maven.plugins</groupId>
>          <artifactId>maven-release-plugin</artifactId>
>          <version>2.0-beta-9</version>
>          <configuration>
>            <useReleaseProfile>false</useReleaseProfile>
>            <goals>deploy</goals>
>            <arguments>-Papache-release</arguments>
>          </configuration>
>        </plugin>
>
> IOW, the "rc" profile is activated instead of "apache-release" and it
> deploys in people.a.o. I suggest to contact the commons-parent
> maintainer to fix this and, as a temporary fix, run:
> mvn release:perform -Darguments="-Papache-release"
> Or try to modify the "release.properties" file (generated after you
> ran release:prepare) to do this exact thing.
> It should work this way.
>
> Ciao
> Antonio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

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


Mime
View raw message