You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document deprecation of SemVerVersionPolicy (#1450)
Expanded Javadoc to clarify why this policy is deprecated, the recommended replacement (SemVerMinorDevelopmentVersionPolicy), and its future removal intent. Documentation only, no functional changes.
Copy file name to clipboardExpand all lines: maven-release-policies/maven-release-semver-policy/src/main/java/org/apache/maven/shared/release/policy/semver/SemVerVersionPolicy.java
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,15 @@
28
28
importorg.slf4j.LoggerFactory;
29
29
30
30
/**
31
-
* Uses SemVer implementation to increase minor element when resolving the development version.
31
+
* Uses the SemVer implementation to increase the minor element when resolving
32
+
* the development version.
32
33
*
33
-
* @deprecated use {@link SemVerMinorDevelopmentVersionPolicy} instead.
34
+
* @deprecated This policy has been superseded by
35
+
* {@link SemVerMinorDevelopmentVersionPolicy}, which provides a
36
+
* clearer and more explicit implementation of SemVer-based
37
+
* development version handling.
38
+
* This policy remains only for backward compatibility and may be
39
+
* removed in a future version of the Maven Release Plugin.
0 commit comments