- Change the version of the release in pom.xml (
mvn versions:set -DnewVersion=1.0.0
) - mvn clean deploy
More details at https://central.sonatype.org/pages/apache-maven.html.
mvn clean install -Psonatype
mvn versions:set -DnewVersion=1.0.0
)More details at https://central.sonatype.org/pages/apache-maven.html.
mvn clean install -Psonatype