-
Notifications
You must be signed in to change notification settings - Fork 10
Releasing
Yann Massard edited this page Mar 27, 2020
·
5 revisions
# check if build works
mvn clean install
# execute release plugin
mvn -P javadoc-jar,sources-jar,license-handling,release release:prepare
mvn release:perform # might take a while!
# If all went right, the artifacts should be deployed on sonatypes "staging" repository.
# check https://oss.sonatype.org/
# If everything looks good, move from "staging" to "release" repository.
cd target/checkout
mvn nexus-staging:release
# check https://oss.sonatype.org/
mvn -P javadoc-jar,sources-jar,license-handling,release release:prepare release:perform && cd target/checkout && mvn nexus-staging:release