- mvn clean package This will ensure your module build and package correctly.
- mvn release:prepare This will prepare the release, more doc here: http://maven.apache.org/maven-release/maven-release-plugin/examples/prepare-release.html You may choose your release version, the default will only a minor version upgrade.
- mvn release:perform This step will build/publish to nexus and also tag release on git repository, more doc here (http://maven.apache.org/maven-release/maven-release-plugin/examples/perform-release.html)
- mvn release:clean Cleans up your local env
- In case auto-release fails e.g. because of issues with signing or POM file, check out: https://central.sonatype.org/pages/releasing-the-deployment.html
- mvn compile jar:jar which creates jar file target/test-drop-in-framework-.jar
- mvn install:install-file -Dfile=target/test-drop-in-framework-.jar -DpomFile=pom.xml which deploys the jar file to local repository