【发布时间】:2019-02-06 05:13:17
【问题描述】:
我有 3 个战争模块的主项目我需要使用 tomcat-maven-plugin 部署主要战争文件
Parent
- Main War Project child of Parent(Has dependecy of 3 war modules)
- war module child of parent
- war module child of parent
- war module child of parent
如果我在父项目中添加插件,每个 war 模块都将要部署,这不是必需的
但我只需要在 maven-war-plugin 对主要战争项目进行“Webapp 组装”时进行部署
我将插件添加到主战争项目 pom 中,但它不起作用。并给出
在当前项目和 插件组
【问题讨论】:
-
请在投反对票前写下评论
标签: maven maven-tomcat-plugin maven-war-plugin