mvn license:update-file-header
mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar \
-Dsonar.token=[token]
See analysis results at https://sonarcloud.io/dashboard?id=org.itsallcode%3Ahamcrest-mutliline-text-matcher
mvn versions:display-dependency-updates
mvn versions:display-plugin-updates
-
Add the following to your
~/.m2/settings.xml
:<settings> <servers> <server> <id>ossrh</id> <username>your-jira-id</username> <password>your-jira-pwd</password> </server> </servers> <profiles> <profile> <id>ossrh</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <gpg.executable>gpg</gpg.executable> <gpg.passphrase>the_pass_phrase</gpg.passphrase> </properties> </profile> </profiles> </settings>
-
Checkout the
main
branch. -
Update version in
pom.xml
, commit and push. -
Run command
mvn -DskipSigningArtifacts=false clean deploy
-
Create a release of the
main
branch on GitHub. -
After some time the release will be available at Maven Central.