4.0.0
apache.org
sign-and-deploy
pom
Profiles to run gpg:sign-and-deploy
1
http://www.apache.org
This pom works as a tool for pushing a release to the Apache Nexus repository.
Instead of using the 'bundle' mechanism, this signs and pushes each of the four pieces:
main jar, pom, -sources jar, and -javadoc jar. To use this you have to have a Maven
settings.xml to configure your credentials on the Apache Nexus instance, and
to communicate your GPG key and passphrase.
Drop this file into a directory with the pieces, and run mvn -f THIS_FILE -Ppublish -Dfile=BASE_FILE_NAME
Depending on how you manage your settings.xml, you might have to activate more profiles.
https://repository.apache.org/service/local/staging/deploy/maven2
publish
verify
org.apache.maven.plugins
maven-gpg-plugin
1.1
base
verify
sign-and-deploy-file
${file}.jar
apache.releases.https
${url}
pom.xml
${gpg.keyname}
${gpg.passphrase}
javadoc
verify
sign-and-deploy-file
${file}-javadoc.jar
javadoc
apache.releases.https
${url}
pom.xml
${gpg.keyname}
${gpg.passphrase}
sources
verify
sign-and-deploy-file
${file}-sources.jar
sources
apache.releases.https
${url}
pom.xml
${gpg.keyname}
${gpg.passphrase}