我有主要的项目有3个战模块,我需要使用部署的主要战争文件的tomcat-Maven的插件
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
如果我在父项目中添加插件每个战模块特林部署,这是不需要
但我需要部署仅在Maven的战争插件做“的webapp组装”的主要战项目
我添加插件主战项目的pom,这是行不通的。并给出了
无插件发现前缀在当前项目“tomcat7”和插件组
我已经添加了
tomcat7-插件
在生命周期配置的主要战争计划时部署发生,我已经加入到运行的目标
tomcat7:部署
它的工作的罚款。