commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@gmail.com>
Subject Re: svn commit: r603888 - /commons/proper/commons-parent/trunk/pom.xml
Date Thu, 13 Dec 2007 12:00:30 GMT
On Dec 13, 2007 11:39 AM, Torsten Curdt <tcurdt@apache.org> wrote:
> We also need to pass on the gpg passphrase
>
>   mvn release:perform -Prc -Dgpg.passphrase=PASSPHRASE -Darguments="-
> Prc -Dgpg.passphrase=PASSPHRASE"

Are you sure? When did the commons-skin-2 I using the "rc" profile I
was prompted for the passphrase and it worked no problem.

> IMO this is a maven bug/misconception that one cannot just pass on
> those parameters automatically. This whole 'arguments' business looks
> like a nasty hack IMO.

I agree, but I don't see an alternative ATM - if anyone has one then great.

Niall

P.S. I set up the following Jira ticket to discuss these changes here:

   https://issues.apache.org/jira/browse/COMMONSSITE-21


> cheers
> --
> Torsten
>
>
> On 13.12.2007, at 12:30, niallp@apache.org wrote:
>
> > Author: niallp
> > Date: Thu Dec 13 03:30:18 2007
> > New Revision: 603888
> >
> > URL: http://svn.apache.org/viewvc?rev=603888&view=rev
> > Log:
> > COMMONSSITE-21 - Configure the maven-release-plugin in the "rc" and
> > "release" profiles with an "arguments" to specify the profile. This
> > will (hopefully) resolve the issue of the deploy plugin not picking
> > up the distribution management from the correct profile.
> >
> > Modified:
> >     commons/proper/commons-parent/trunk/pom.xml
> >
> > Modified: commons/proper/commons-parent/trunk/pom.xml
> > URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/
> > trunk/pom.xml?rev=603888&r1=603887&r2=603888&view=diff
> > ======================================================================
> > ========
> > --- commons/proper/commons-parent/trunk/pom.xml (original)
> > +++ commons/proper/commons-parent/trunk/pom.xml Thu Dec 13 03:30:18
> > 2007
> > @@ -154,6 +154,11 @@
> >            <artifactId>maven-assembly-plugin</artifactId>
> >            <version>2.2-beta-1</version>
> >          </plugin>
> > +        <plugin>
> > +          <groupId>org.apache.maven.plugins</groupId>
> > +          <artifactId>maven-release-plugin</artifactId>
> > +          <version>2.0-beta-7</version>
> > +        </plugin>
> >        </plugins>
> >      </pluginManagement>
> >      <plugins>
> > @@ -297,6 +302,13 @@
> >              </executions>
> >            </plugin>
> >            <plugin>
> > +            <artifactId>maven-release-plugin</artifactId>
> > +            <configuration>
> > +              <!-- Pass these arguments to the deploy plugin. -->
> > +              <arguments>-Prelease</arguments>
> > +            </configuration>
> > +          </plugin>
> > +          <plugin>
> >              <artifactId>maven-javadoc-plugin</artifactId>
> >              <executions>
> >                <execution>
> > @@ -373,6 +385,13 @@
> >                  </goals>
> >                </execution>
> >              </executions>
> > +          </plugin>
> > +          <plugin>
> > +            <artifactId>maven-release-plugin</artifactId>
> > +            <configuration>
> > +              <!-- Pass these arguments to the deploy plugin. -->
> > +              <arguments>-Prc</arguments>
> > +            </configuration>
> >            </plugin>
> >            <plugin>
> >              <artifactId>maven-javadoc-plugin</artifactId>
> >
> >
>
>
> ---------------------------------------------------------------------
> 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