xqa-commons-qpid-jms
- a Maven Central shared library.
1. Build
Assuming the build prerequisites have been met:
- ./build.sh
2. Test
- see .travis.yml
3. Publishing to Maven Central
3.1. (one off) Register - for groupId, creating JIRA ticket
- login to https://issues.sonatype.org
- using groupId: com.github.jameshnsears
3.1.1. Visit project JIRA ticket
- record any deployment issues in: https://issues.sonatype.org/browse/OSSRH-nnnnn
3.2. settings.xml
- decrypt settings.xml.pgp
- cp settings.xml ~/.m2
3.3. Ensure pgp key installed
- install into Seahorse
3.4. Deploy
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
3.4.1. To staging repo
- mvn -DperformRelease=true clean deploy
- enter private pgp key password
- visit:
3.4.2 To release repo
- (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
3.5. Search Maven Central
- after a couple of hours https://search.maven.org/ for com.github.jameshnsears, pom.xml imports should appear in ~10 minutes.
3.6. (one off / first time publishing) Update JIRA ticket
- update https://issues.sonatype.org/browse/OSSRH-nnnnn - saying it's published successfully.