Hi,
On Wed, Oct 21, 2009 at 6:26 PM, Sean Owen <[email protected]> wrote:
> I'm at a loss, I backed up and made sure to use the steps and config
> in the Mahout wiki. I am still stuck on gpg:sign.
The apache-release profile expects to find your passphrase in the
${gpg.passphrase} build property. The recommended way to set it is to
add it to your ~/.m2/settings.xml configuration file like this:
<settings>
...
<profiles>
<profile>
<id>apache-release</id>
<properties>
<gpg.passphrase> <!-- YOUR KEY PASSPHRASE --> </gpg.passphrase>
</properties>
</profile>
</profiles>
...
</settings>
Then the release sequence of "mvn release:prepare" followed by "mvn
release:perform" will automatically sign the release artifacts using
your GPG key with the configured passphrase.
If you are having trouble with the Maven settings or the release
plugin, you can test the basic functionality by explicitly specifying
the passphrase on the command line:
mvn clean install -Papache-release -Dgpg.passphrase="your passphrase"
BR,
Jukka Zitting