READ more on: http://central.sonatype.org/pages/apache-maven.html
Use the maven release plugin to:
- change the POM version number from SNAPSHOT to a release
- tag it in the version control
- deploy to sonatype
- change to the next SNAPSHOT version
mvn release:prepare
mvn release:perform
The sonatype plugin closes, and releases automatically, but for reference, the manual process was:
- Navigate to Staging Repositories
- Select your repo (mostly last in the list)
- Close it
- Release it
curl -Lo /tmp/bintray-functions j.mp/bintray-functions && . /tmp/bintray-functions
cd target
VERSION=$(ls -rt1 jfiglet-*.jar|tail -1|sed "s/.*jfiglet-\([0-9\.]*\).*/\1/")
bint-upload-with-version lalyos maven jfiglet $VERSION jfiglet-$VERSION-javadoc.jar
bint-upload lalyos maven jfiglet $VERSION jfiglet-$VERSION-sources.jar
bint-upload lalyos maven jfiglet $VERSION jfiglet-$VERSION.pom
bint-upload lalyos maven jfiglet $VERSION jfiglet-$VERSION.jar
If it succeeds you can check the sonatype release repo