相关疑难解决方法(0)

tomcat-maven-plugin使用Tomcat 7 - tomcat:部署工程,tomcat:undeploy没有

我有一个tomcat:deploy的工作配置,但是当我取消部署WAR时,我得到以下错误让我感到厌恶:

[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com:DocBookScratchProject:war:0.1.0.BUILD-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:tomcat-maven-plugin is missing. @ line 166, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building DocBookScratchProject 0.1.0.BUILD-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- tomcat-maven-plugin:1.1:undeploy (default-cli) @ DocBookScratchProject …
Run Code Online (Sandbox Code Playgroud)

plugins tomcat pom.xml maven

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

maven ×1

plugins ×1

pom.xml ×1

tomcat ×1