Reputation: 1269
I have a maven project which contains several sub-module projects. Currently when I build the project, one WAR file is generated.
Is it possible to specify through the POM that seperate WAR files should be built for each module in the project, so I can host the war files on separate servers if need be?
Cheers.
Upvotes: 0
Views: 605
Reputation: 7459
Make the packaging in the sub modules war
:
<packaging>war</packaging>
... and make the packaging for the parent project pom
:
<packaging>pom</packaging>
Upvotes: 1