How to release submodules with different version numbers with Maven?

749 Views Asked by At

In my current maven project I have a lot of submodules. I need to build a release and deploy it to my nexus...

Now I am facing the challange that I need for some of the modules differing version numbers. How can I handle this by usage of the release & deploy plugin? Or do I need some other maven plugins??? I configured the release plugin inside the parant pom. Is there a possibility to disable for example the "autoVersionSubmodules" for some of the submodules? Any ideas???

1

There are 1 best solutions below

3
On

If you have a multi-module build than all modules should have the same version number otherwise it's an indicator that the multi-module build is not the right choice.