Maven 2 & 3

VersionRange.getSelectedVersion returns upper bound even if exclusive