This documents describes how to release Documentation Generator.
It uses JReleaser to help package, sign and upload releases to GitHub and Maven Central.
It consists of these parts:
- Core functionality
- Different generator plugins
- Different destination plugins
- Gradle plugin
- Maven plugin
Every part (except the Maven plugin) can be released in the root folder.
- Build the packages with:
./gradlew clean publish - Release to GitHub and Maven Central with:
./gradlew jreleaserFullRelease
- Go to the subfolder
documentation-generator-maven-plugin - Build the Maven plugin:
mvn clean install -U(-U is force update from Maven central) - Publish it locally:
mvn -Ppublication - Release it:
jreleaser full-release --git-root-search
In order to update the JRelease schema, you can run the following command:
brew upgrade jreleaser
jreleaser json-schema