Wouldn't it be right to set gpg-plugin phase to from verify deploy, along with setting useReleaseProfile to true? Giving it a try ...

Rene Gielen schrieb:
So would it be the way to go to to set useReleaseProfile to true?

Wendy Smoak schrieb:
On Sat, Nov 15, 2008 at 1:14 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote:
On Fri, Nov 14, 2008 at 12:29 PM, Musachy Barroso <[EMAIL PROTECTED]> wrote:

https://svn.apache.org/repos/asf/struts/struts2/branches/release_process
The first thing I notice is that the gpg signing is in the default
build.  If you put it in a profile with an id of 'release' then it
will be activated automatically during the release process.

... except that it won't due to this in pluginManagement:

                <plugin>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-release-plugin</artifactId>
                  <configuration>
                    <useReleaseProfile>false</useReleaseProfile>
                  </configuration>
                </plugin>

The built-in release profile generates the sources and javadocs jars.
It's also useful to put additional things into the 'release' profile,
knowing it will get activated automatically.

For example, I don't want to have to provide my pgp passphrase every
time I build the project locally, the signing only needs to happen at
release time.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
René Gielen
IT-Neering.net
Saarstrasse 100, 52062 Aachen, Germany
Tel: +49-(0)241-4010770
Fax: +49-(0)241-4010771
Cel: +49-(0)177-3194448

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to