Development¶
Requirements¶
- Java 11 or later
- Maven 3.x
- GPG key for releases
Verify the active Java version:
Building the Project¶
Full build including tests and site:
Fast build skipping slow checks:
Releasing a Version¶
1. Prepare the Release¶
# Example: releasing 5.0.1
./mvnw release:prepare \
-DreleaseVersion=5.0.1 \
-Dtag=v5.0.1 \
-DdevelopmentVersion=5.0.2-SNAPSHOT
2. Perform the Release¶
If release:perform fails, restart it from target/checkout:
3. Publish to Maven Central¶
Go to https://oss.sonatype.org/ and close and release the staging repository.
The new version will appear on Maven Central within a few minutes.
Generating the Site¶
The generated site (Maven Plugin Reports) will be written to target/site/.
Project Structure¶
| Module | Description |
|---|---|
license-maven-plugin |
Core plugin — goals, configuration, header processing |
license-maven-plugin-git |
Optional Git SCM integration |
license-maven-plugin-svn |
Optional Subversion SCM integration |
license-maven-plugin-fs |
Optional filesystem integration |
Contributing¶
Please read CONTRIBUTING.md before submitting pull requests.
Report bugs and request features via GitHub Issues.