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
if (hasPreReleaseVersionOrBuildMetadata(updatedVersion)) {
75
-
thrownewMojoFailureException(String.format(
76
-
"snapshot labeling requested for updated semver %s but not honored, because snapshot flag only supports normal version number increments with no labels",
77
-
updatedVersion));
78
+
logError(
79
+
"SNAPSHOT labeling requested for POM version %s but not honored, because SNAPSHOT may collide with other labels in the updated version %s",
80
+
original, updatedVersion);
81
+
thrownewMojoFailureException(
82
+
String.format("SNAPSHOT may collide with other labels in %s", updatedVersion));
78
83
}
79
84
logInfo("labeling version %s as a SNAPSHOT...", updatedVersion);
0 commit comments