-
Notifications
You must be signed in to change notification settings - Fork 11
Release and Deployment
xitep edited this page May 25, 2017
·
1 revision
- See http://central.sonatype.org/pages/apache-maven.html
- In short:
mvn release:prepare release:perform -Psign -Pregular-build
- Checkout the corresponding tag
mvn clean deploy -Psign -Pregular -Prelease
- Go to https://oss.sonatype.org/
- In the "staging repositories", verify the uploaded artifacts
- "Close" the uploaded staging repo and resolve all reported errors
- Finally "Release" the staging repo
- It takes a few minutes for the artifact to become available in the direct release repo and some more time until synchronized to other repos. (Generally it takes a few hours until the artifacts make it into the index of https://search.maven.org.)
Continuous integration is set up at travis. Whenever master builds successfully, artifacts are automatically uploaded to sonatypes snapshot repository. The deployment is set up according to this very nice article.