We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This page is useful for project admins with release permissions only.
Ensure that everything is working properly.
mvn clean compile test verify
It must not be a snapshot. We can't release with pending changes, so commit.
mvn versions:set -DnewVersion="x.y.z" git add . git commit -m '[release] prepare for release x.y.z'
This will build and push the result to Maven Central. Credentials are stored in a special $HOME/.m2/settings.xml file.
$HOME/.m2/settings.xml
mvn -s /path/to/settings.xml -Prelease -Pcentral deploy
Log into Maven Central and release. Click account (top right) and "View Deployments." Click "Publish."
Use a snapshot version.
mvn versions:set -DnewVersion="x.y.Z-SNAPSHOT" git add . git commit -m '[release] prepare for next development iteration'