Reputation: 105053
What are the main possible reasons of breaking down a Maven project to sub-modules?
Upvotes: 3
Views: 599
Reputation: 3305
While waiting for an answer to my comment.
A reason to split a Java EE based maven project into sub modules is so you can build the JAR/RAR/WAR/EAR/whatever independently of eachother.
For regular Java apps, you might split out the functionality into separate JARs, again each of these could be a sub-module under the overall project and again you can build them independently, run separate goals/phases/reports etc.
Upvotes: 2
Reputation: 831
Upvotes: 2
Reputation: 80176
Are you looking something more than the benefits of Modularization? The sub-modules should ideally be representing a single concept/feature so that they are functionally cohesive.
Upvotes: 2