Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 768 Bytes
To release, remove -SNAPSHOT from the version in pom.xml and build.gradle and commit with a tag.
Then:
mvn package
mvn source:jar
mvn javadoc:jar -DadditionalJOption=-Xdoclint:none
cp pom.xml target/pcollections-<VERSION>.pom
cd target
bash -c 'for f in pcollections-<VERSION>*; do gpg -ab $f; done'
jar cvf bundle.jar pcollections-<VERSION>*
Then follow the instructions at http://central.sonatype.org/pages/manual-staging-bundle-creation-and-deployment.html
Finally, increment the version in build.gradle and pom.xml and add back -SNAPSHOT, and commit.
Finally finally, once the new version is available in Maven Central (takes a few hours), update the version in the Maven and Gradle snippets in the README and update CHANGELOG.md.
You can’t perform that action at this time.