Closed mardukbp closed 12 months ago
Could you take the helpful notes you have in #192 (comment) and place them in a Java section of a
RELEASE.md
so I can find them again easily in future?
Done :)
Awesome! Thank you for your dedication and your time!
java
to package daff using Mavenpackaging/java/pom.xml
needed for packaging and publishing with MavenMaven has to be installed using a package manager (e.g.
apt install maven
).In order to publish daff to Maven Central, the file
~/.jreleaser/config.properties
with the following contents is required:In order to get a Sonatype account, follow the steps in this guide.
The GPG public key has to be published to a key server:
The public and private keys can be exported to files with the following commands:
The GitHub token can be generated in GitHub/User Profile/Settings/Developer settings.
Once all configuration is in place, execute the following commands from the directory
java_bin/daff
(from JReleaser's docs):1) Verify release & deploy configuration
2) Stage all artifacts to a local directory
3) Deploy and release