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

Support for Promotion versioning scheme

Open mshahat opened this issue 7 years ago • 3 comments

Hi,

Currently by default the plugin generated pom.xml does support SNAPSHOT versioning scheme https://github.com/teamfruit/defend_against_fruit/wiki/Comparing-Snapshot-And-Promotion-Version-Schemes#snapshot-scheme

In Continuous Deployment situations, there is a preference towards Promotion versioning scheme https://github.com/teamfruit/defend_against_fruit/wiki/Comparing-Snapshot-And-Promotion-Version-Schemes#promotion-scheme

How do you see the plugin supporting this scheme please ?

Many thanks,

mshahat avatar Jan 30 '18 10:01 mshahat

Hi @mshahat The Maven version takes precedence over the manifest version. So if you have updated the POM version while building the JAR/EAR file we honor this version and convert the Manifest bundle version to this version.

You can edit your POM to point to a absolute version instead of snapshot version or use Maven Release plugin to do the same.

Again its standard Maven way. We have tried to adhere to the Maven way of doing things as far as possible.

ashutoshbhide avatar Jan 30 '18 12:01 ashutoshbhide

Thanks @ashutoshbhide currently the plugin does default to 1.0.0-SNAPSHOT. if i'd like to use Promotion, ideally i would want to set MAJOR.MINOR and have PATCH managed to represent build number ... Is that currently possible ? or expectation is to have it incremented manually too ?

Thanks,

mshahat avatar Jan 30 '18 12:01 mshahat

Hi @ashutoshbhide, any update to my question please ?

Thanks,

mshahat avatar Mar 19 '18 22:03 mshahat