Any contributions to FlyingSaucer are both welcomed and appreciated.
mvn test
mvn install
This puts the *.jar
files in your local maven repository at: ~/.m2/repository/org/xhtmlrenderer
To make a release, you need to
- have a write permission to
org.xhtmlrenderer
group in Maven central repository. - have these lines in
~/.gradle/gradle.properties
:signing.keyId=2#####8 signing.password=*********************** signing.secretKeyRingFile=/Users/andrei/.gnupg/secring.gpg sonatypeUsername=******* sonatypePassword=********************
Steps to release version 9.5.0 (for example)
-
Fill the CHANGELOG.md
-
mvn versions:set -DnewVersion=9.5.0 // replaces previous version by "9.5.0" in pom.xml files
-
git commit -am "Release 9.5.0"
-
git tag v9.5.0
-
git push --tags origin main
-
mvn clean deploy // uploads the
*.jar
files to https://oss.sonatype.org -
mvn versions:set -DnewVersion=9.5.1-SNAPSHOT
-
git commit -am "Working on 9.5.1"
-
git push origin main
-
Login to https://oss.sonatype.org/#stagingRepositories
- Click "Release" (no need to fill description)
- After ~5 minutes, the new jar will be available in Central Maven repo
-
Open https://github.com/flyingsaucerproject/flyingsaucer/milestone -> 9.5.0 -> "Edit milestone" -> "Close milestone"
-
Open https://github.com/flyingsaucerproject/flyingsaucer/releases -> "Draft a new release"
- fill the release details (copy-paste from CHANGELOG.md)
- click "Publish release"