rpm-maven-plugin icon indicating copy to clipboard operation
rpm-maven-plugin copied to clipboard

Supports using all-numeric modifiers as release.

Open asgeirn opened this issue 8 years ago • 3 comments

Fix for issue #55

asgeirn avatar Jun 27 '16 13:06 asgeirn

is it a backward compatible change?

dantran avatar Jun 27 '16 18:06 dantran

It will only alter the behavior for situations where POM versions are configured with build numbers according to the Maven version number rules: http://www.mojohaus.org/versions-maven-plugin/version-rules.html

Previously, this plugin would append _1 to the RPM release number, while it now uses the build number exactly as the release number.

For situations where POM versions use qualifiers, which by definition are not all-numeric, the plugin will retain the previous behavior.

I'd argue that this is the least confusing behavior in scenarios where the POM version is in fact compatible with RPM versioning rules.

asgeirn avatar Jun 28 '16 08:06 asgeirn

See my comment on your open issue #55. It works very well for my productions build we heavily depend on this feature. So if you need this new behavior, you must provide an option to activate it, plus doc, and test.

It is very critical that we keep new change backward compatible

dantran avatar Jun 28 '16 08:06 dantran