- a Maven Central shared library.
Assuming the build prerequisites have been met:
- ./build.sh
- see .travis.yml
3. Publishing to Maven Central
- login to https://issues.sonatype.org
- using groupId: com.github.jameshnsears
- record any deployment issues in: https://issues.sonatype.org/browse/OSSRH-nnnnn
- decrypt settings.xml.pgp
- cp settings.xml ~/.m2
- install into Seahorse
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
- mvn -DperformRelease=true clean deploy
- enter private pgp key password
- visit:
- (optionally) https://www.youtube.com/watch?v=dXR4pJ_zS-0&feature=youtu.be
- remove "-SNAPSHOT" in pom.xml + increment version #.
- mvn -DperformRelease=true clean deploy
- enter private pgp key password
- after a couple of hours https://search.maven.org/ for com.github.jameshnsears, pom.xml imports should appear in ~10 minutes.
- update https://issues.sonatype.org/browse/OSSRH-nnnnn - saying it's published successfully.