简体   繁体   中英

What would be the SNAPSHOT version of 2 different feature branches with same released version

We have encounter with an issue where we have two different features coming in a project that would be delivered with same released version.

For example-

Current released version of the project is 7.0.0.4 and there will two different feature implementation say parallel and caching feature in the project. Now we need to take out two branches for both for Caching and Parallel project features from trunk and both will be in active development, both features will be released on 7.0.0.7 release build of the project.
Maven coordinate like -

For Parallel feature

GroupId - com.tom.tomproject

artifactID - project

version - 7.0.0.7-SNAPSHOT

For Caching feature

GroupId - com.tom.tomproject

artifactID - project

version - 7.0.0.7-SNAPSHOT

Here SNAPSHOT version(7.0.0.7-SNAPSHOT) for both branches getting same, it will leads to ambiguity. What would be the good approch to resolve this.

Should I change groupID ? or is there any other way to resolve this issue ?

If you want to build separate versions like that, use the version number to separate your branches, eg

7.0.0.7-Parallel-SNAPSHOT

and

7.0.0.7-Caching-SNAPSHOT

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM