git clone git@github.com:solven-eu/cleanthat.git
mvn install -Pfast
The -Pfast
profile may be necessary to circumvent cleanthat depenending on itself to apply spotless
on itself.
Once done (or re-done after a release), you can simply:
mvn install
git push origin master:deploy-prd
mvn release:clean release:prepare release:perform
The release process may fail for various reasons:
- Sonatype timed-out
They, one would typically need to revert its local head, and force push master before the release. And delete the falsy tags:
git tag -d v2.XX.RELEASE
git push --delete origin v2.XX.RELEASE
https://stackoverflow.com/questions/29885887/gpg-no-default-secret-key-error-using-maven
gpg --list-keys
https://keyring.debian.org/creating-key.html
gpg --gen-key --default-new-key-algo=rsa4096/cert,sign+rsa4096/encr
gpg --keyserver https://keyserver.ubuntu.com/ --send-key 90A8________________________________AAB7
BEWARE pool.sks-keyservers.net is down: https://www.reddit.com/r/GnuPG/comments/o5tb6a/keyservers_are_gone/
If it fails, upload manually:
gpg \-\-armor \-\-export 90A8________________________________AAB7
See ITProcessLocallyDynamoDbEvent_CheckConfig
Issue with Javadoc. For instance:
mvn org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar -Dmaven.javadoc.skip=false -PSonatype