How do I get Maven 2 to build 2 separate WAR files

后端 未结 8 2041
有刺的猬
有刺的猬 2020-12-29 15:34

When doing a mvn install I want to end up with 2 WAR files in my target directory. One will contain the production web.xml and the

8条回答
  •  独厮守ぢ
    2020-12-29 16:17

    More simple:

    Just create a multi modules project.

    Each module would have the WAR packaging :)

    Build from parent pom and voila !

提交回复
热议问题