We also need to pass on the gpg passphrase
mvn release:perform -Prc -Dgpg.passphrase=PASSPHRASE -Darguments="-
Prc -Dgpg.passphrase=PASSPHRASE"
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.
cheers
--
Torsten
On 13.12.2007, at 12:30, [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]