mvn versions:set -DnewVersion=1.2.3
mvn versions:set-scm-tag -DnewTag=1.2.3
git commit -m "Set stable 1.2.3 version for release"
git tag 1.2.3 -m "Release 1.2.3 to Maven Central"
mvn clean deploy -P release
mvn clean package -P apidoc javadoc:aggregate-jar
rm -rf docs/apidocs/
cp -r target/apidocs/ docs/
git add docs/apidocs/
git commit