- Colin Dellow
Feedback, issue reports, PRs, etc, welcome.
- Configure your
~/.m2/settings.xml
:
<settings>
<servers>
<server>
<id>ossrh</id>
<username>jira-username</username>
<password>jira-password</password>
</server>
</servers>
</settings>
- Create a
gpg
key
See http://central.sonatype.org/pages/working-with-pgp-signatures.html
- Publish to Sonatype
Set a non SNAPSHOT version.
mvn versions:set -DnewVersion=x.y.z
RELEASE=1 mvn clean deploy
- Validate
The build should flow to Maven Central automatically.
Inspect it at:
- https://oss.sonatype.org/
- https://oss.sonatype.org/content/repositories/snapshots/com/cldellow/
- https://oss.sonatype.org/content/repositories/releases/com/cldellow/
- https://repo.maven.apache.org/maven2/com/cldellow/
- https://mvnrepository.com/artifact/com.cldellow/manu
See also: