versions icon indicating copy to clipboard operation
versions copied to clipboard

Versions:update-parent doesn't have configuration to prevent downgrading

Open Hi-Fi opened this issue 7 years ago • 0 comments

All other update goals have possibility to prevent plugin to downgrade SNAPSHOTs to previous release version (e.g. http://www.mojohaus.org/versions-maven-plugin/update-properties-mojo.html#allowDowngrade). With parent that kind of possibility doesn't exists, and currently it causes parent to be downgraded if child module release (using versions plugin to update SNAPSHOTS) is made before parent's.

[INFO] --- versions-maven-plugin:2.5:update-parent (default-cli) @ child-test-module ---
[INFO] Updating parent from 0.2.9-SNAPSHOT to 0.2.8

Hi-Fi avatar Nov 09 '17 06:11 Hi-Fi