forked from ilimi-in/secor
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support to enable deploy/publish through SonaType to maven central
Added all the required change to pom to allow build publishing to maven central through SonaType.org. Most of the changes are following examples in: http://central.sonatype.org/pages/ossrh-guide.html The first version is published to maven under (including both sources and javadoc jars): https://repo1.maven.org/maven2/com/pinterest/secor/0.1 Since ver 0.1 is published, our current SNAPSHOT build will be upgraded to 0.2-SNAPSHOT To publish the snapshot build (you need to have SonaType account and GnuPGP signing tools configured): # make sure the version in pom.xml ends with SNAPSHOT mvn clean deploy # the artifacts will stay in Sonatype repo (not going into maven central) To publish a release build # make sure the version in pom.xml not ends with SNAPSHOT mvn clean deploy -P release # the artifacts are pushed all the way through to maven central # when the release build is published to maven central, make sure the version in pom.xml is upgraded to next-version-SNAPSHOT to reflect we are not building snapshot for next version until it's ready to be version released.
- Loading branch information
Henry Cai
committed
Jul 25, 2015
1 parent
d7ba0a8
commit 9b8afe0
Showing
1 changed file
with
101 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters