public interface VersionPolicy
API for next version calculations, used by maven-release-plugin to suggest release and next development versions.
- Since:
- 2.5.1 (MRELEASE-431)
-
Method Summary
-
Method Details
-
getReleaseVersion
- Parameters:
request
- the VersionPolicyRequest
- Returns:
- the calculation of the release version from development state.
- Throws:
PolicyException
- if exception in the policy
VersionParseException
- if exception parsing the version
-
getDevelopmentVersion
- Parameters:
request
- the VersionPolicyRequest
- Returns:
- the calculation of the next development version from release state.
- Throws:
PolicyException
- if exception in the policy
VersionParseException
- if exception parsing the version