小编yan*_*ost的帖子

无法执行目标org.codehaus.mojo:exec-maven-plugin:1.2:java(default-cli)

我正在研究Smooks - Camel Integration.我遇到了错误.当我尝试使用mvn exec运行它时,Build失败了:java


[错误]: 无法在项目上执行目标org.codehaus.mojo:exec-maven-plugin:1.2:java(default-cli) camel-example-smooks-integration:

我的控制台日志如下:

[ERROR] For more information about the errors and possible solutions, please read the following 
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException

C:\apache-camel-2.11.0\examples\camel-example-smooks-integration>mvn exec:java
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.camel:camel-example-smooks-integration:bundle:2.11.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate   
declaration of plugin org.codehaus.mojo:exec-maven-plugin @ line 138, column 9

[WARNING]
[WARNING] It is highly recommended to fix these problems …
Run Code Online (Sandbox Code Playgroud)

integration exec-maven-plugin smooks

31
推荐指数
2
解决办法
12万
查看次数

标签 统计

exec-maven-plugin ×1

integration ×1

smooks ×1