nextSnapshotIndexToIncrement should clear all components to its right (original) (raw)
Given the current version is 2.9.8
when I do mvn -DnextSnapshot -DnextSnapshotIndexToIncrement=1
then I expect the new version to be 3.0.0-SNAPSHOT.
Actual behavior: the new version is 3.9.8-SNAPSHOT.