edererm
edererm

Reputation: 31

How to release submodules with different version numbers with Maven?

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???

Upvotes: 0

Views: 767

Answers (1)

khmarbaise
khmarbaise

Reputation: 97359

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.

Upvotes: 1

Related Questions