I know it was asked a year ago, but my answer might work for somebody other than me.
If creating the build tag in the pom.xml file not works, try editing the settings.xml file at your .m2 directory this way:
<pluginGroups>
...
<pluginGroup>org.apache.tomcat.maven</pluginGroup>
...
</pluginGroups>
I found the solution here: http://tomcat.apache.org/maven-plugin-2.2/
本文介绍了一种解决Maven构建过程中出现的问题的方法。如果在pom.xml文件中定义的构建标签不起作用,可以尝试编辑位于.m2目录下的settings.xml文件,并在其中添加特定的插件组,例如org.apache.tomcat.maven。


被折叠的 条评论
为什么被折叠?



