Re: Remove SNAPSHOT from all sub-modules, but honor version

2022-04-02 Thread John Patrick
Try https://github.com/aleksandr-m/gitflow-maven-plugin So for me dropping the -SNAPSHOT would mean I'm creating a gitflow release branch for testing, which would be as simply using that plugin as `mvn gitflow:release-start`. Not tried it with different modules having different version so it might

Re: Remove SNAPSHOT from all sub-modules, but honor version

2022-04-02 Thread Mantas Gridinas
>From what I gather you want versions plugin by mojohaus. "Set" goal has flag for removing snapshot declarations as -DremoveSnapshot. https://www.mojohaus.org/versions-maven-plugin/ On Sat, Apr 2, 2022, 11:32 Mike Deitrick wrote: > Any guidance on this matter? > > On Fri, Mar 4, 2022, 7:53 AM

Re: Remove SNAPSHOT from all sub-modules, but honor version

2022-04-02 Thread Delany
Hi Mike, The convention to keep modules versions the same can be enforced https://maven.apache.org/enforcer/enforcer-rules/reactorModuleConvergence.html When they're the same you can drop the version tag and let children inherit that from the parent. But you'll still need to edit the

Re: Remove SNAPSHOT from all sub-modules, but honor version

2022-04-02 Thread Mike Deitrick
Any guidance on this matter? On Fri, Mar 4, 2022, 7:53 AM Mike Deitrick wrote: > Hello, > > A couple days ago I submitted a question on Stack Overflow about this > topic. It can be found here >