The semver-maven-plugin aims to transfer the functionality of the
semantic-release package for
node.js into the maven universe.
| Plugin-Version | minimal Maven-Version | Comment |
|---|---|---|
| <= 1.6.0 | 3.8.x | |
| >= 1.7.0 | 3.9.6 | sisu 0.9.x required |
(as defined by semantic-release)
| Step | Description |
|---|---|
| Verify Conditions | Verify all the conditions to proceed with the release. |
| Get last release | Obtain the commit corresponding to the last release by analyzing Git tags. |
| Analyze commits | Determine the type of release based on the commits added since the last release. |
| Verify release | Verify the release conformity. |
| Generate notes | Generate release notes for the commits added since the last release. |
| Create Git tag | Create a Git tag corresponding to the new release version. |
| Publish | Publish the release. |
| Notify | Notify of new releases or errors. |
<?xml version="1.0" encoding="UTF-8"?>
<project>
<!-- ... -->
<build>
<plugins>
<plugin>
<groupId>io.github.sam42r</groupId>
<artifactId>semver-maven-plugin</artifactId>
<version>1.4.0</version>
</plugin>
</plugins>
</build>
<!-- ... -->
</project>$ mvn semver:semantic-releaseFor a complete documentation how to use and configure semver-maven-plugin check the documentation