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

后端 未结 8 2042
有刺的猬
有刺的猬 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:30

    I'd generally suggest to use profiles and run two dedicated builds. However, it should be possible to create any number of artifacts using the maven-assembly-plugin.

提交回复
热议问题