Chandana
Chandana

Reputation: 2638

How to create maven modulized project

I want to create maven multi module project, but it should not like normal module project. My requirement is divide web project in to many parts and some module contents common pages, when building project it need to create many web war files.

Is there any maven plugin for this kind of requirement?

Thank You.

Upvotes: 0

Views: 65

Answers (1)

artbristol
artbristol

Reputation: 32407

Depending on how many war files you need to create, you can use overlays to merge in common pages. This would work if it's ok to have one module per war.

Otherwise, I suggest using different profiles to create each different war. Then you would run the build once per war.

Upvotes: 1

Related Questions