Details
-
Bug
-
Status: Open
-
Resolution: Unresolved
-
1.7
-
None
-
None
-
Operating System: All
Platform: PC
Description
#!/bin/sh
mvn org.apache.maven.plugins:maven-gpg-plugin:1.1:sign-and-deploy-file \
-Dfile=$1/1.7/$1-1.7.jar \
-DrepositoryId=apache.releases.https \
-Durl=https://repository.apache.org/service/local/staging/deploy/maven2 \
-DgroupId=org.apache.xmlgraphics \
-DartifactId=$1 \
-Dversion=1.7 \
-DpomFile=$1/1.7/$1-1.7.pom \
-Dpassphrase=XXXXXXXX \
-Psigned_release \
-Dkeyname=98B1CC53
It depends on a few things from .m2/settings.xml:
<profile>
<id>signed_release</id>
<properties>
<gpg.passphrase>My passphrase</gpg.passphrase>
<gpg.keyname>bimargulies@apache.org</gpg.keyname>
</properties>
</profile>
<server>
<id>apache.releases.https</id>
<username>bimargulies</username>
<password>APACHE LDAP PASSWORD</password>
</server>