Using maven, one can push artifacts to central via ossrh; this requires GPG signatures, source, and javadocs in addition to the usual maven-deploy-plugin of the core jar.
Is there a recipe to arrange all of this with buildr?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
We do this in Apache ODE so that artifacts comply to Apache’s release policy and are accepted by Nexus. I assume that OSSRH works similar.
The GPG task used in ODE is based on a Buildr How-to document but is slightly extended to work. You can find it here. To sign all artifacts before upload, simply add a
gpg_sign_before_uploadto your toplevel project (see here for an example).