Oh, last time I don't call mvn release:perform.
I call mvn deploy directly.
mvn release:perform is executing mvn again and don't copy the -D parameter.
Please add following configuration to the gpg plugin
<configuration>
<passphrase>${gpg.passphrase}</passphrase>
</configuration>
and add following profiles to your ${HOME}/.m2/settings.xml
<profiles>
<profile>
<id>staging</id>
<properties>
<deploy.altRepository>scpexe://minotaur.apache.org/www/people.apache.org/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</deploy.altRepository>
</properties>
</profile>
<profile>
<id>release</id>
<properties>
<gpg.passphrase>XXXXXXXXXXXXXXXXXXXXXXXXXXXXx</gpg.passphrase>
</properties>
</profile>
</profiles>
and call only
mvn release:perform -Prelease,staging
Bernd
Matthias Wessendorf wrote:
one more ... now getting this:
[INFO] [deploy:deploy]
altDeploymentRepository = null
The authenticity of host 'people.apache.org' can't be established.
DSA key fingerprint is 79:7c:cb:6a:44:47:b2:ef:5c:66:28:d7:40:0d:b1:f9.
I've done this
mvn release:perform -Prelease,staging -Ddeploy.altRepository=theRepoURL
what's wrong here ?
Thanks,
Matthias