To check preamble is included in all source files:
mvn license:check
To add the preamble to all source files:
mvn license:format
To check source formatting:
mvn formatter:validate
To reformat all Java sources:
mvn formatter:format
To check for other source issues (e.g., Javadoc):
mvn checkstyle:check
To perform a release on develop
or a release branch:
mvn -Prelease -Preporting release:clean release:prepare
No need to include the release:perform
goal, since this is handled by the GitHub actions CI/CD.
To build the website:
mvn -Preporting site site:stage
To look at the build plan:
mvn -Prelease -Preporting fr.jcgay.maven.plugins:buildplan-maven-plugin:list-phase -Dbuildplan.tasks="deploy,site"
To look at the effective POM:
mvn -Prelease -Preporting help:effective-pom