You'll also need to make sure that you have configured your sonatype
login information in your ~/.m2/settings.xml
. Something like:
<servers>
<server>
<id>sonatype-nexus-staging</id>
<username>sonatype-username</username>
<password>sonatype-password</password>
</server>
</servers>
- Ensure library version is set to the version you want to release, appended with "-SNAPSHOT"
- In Changelog at bottom of README:
- Add what was changed since the last release
mvn clean deploy