This guide is intended for JTS project maintainers, to assist them in preparing releases of the project.
- Create a Release Milestone
- tag it to Issues and PRs wanted in the release
- Confirm Maven build executes with no errors
mvn clean install
- Update the Version History, to record significant changes
- Set the version number in the following artifacts:
- Java class
org.locationtech.jts.JTSVersion
- Maven POMs (run the Maven release plugin at project root:
mvn versions:set -DnewVersion=<version>
)
- Java class
- Review scripts in
bin
to confirm correctness - Commit changes back to the repo
- Execute the final Maven release build
mvn clean install
- Create a JTS GitHub release
- Add release artifacts
- Update release notes
- Release to Maven Central with the release property and profile
mvn clean install -Drelease
- Update Javadoc on JTS Github IO
- Javadoc is generated by the Maven build
- Update by: check out
gh-pages
branch; copy new Javadoc; commit