相关疑难解决方法(0)

Maven:无法执行目标org.apache.maven.plugins:maven-resources-plugin:2.7:资源

我正在使用Maven构建我的项目.我的maven版本是apache-maven-3.0.4.我正在使用Eclipse Luna.当我尝试构建我的项目时,我收到以下错误

[错误]无法执行目标org.apache.maven.plugins:maven-resources-plugin:2.7:项目OrionCommunity上的资源(默认资源):标记无效 - > [帮助1].

以下是运行mvn clean install时的堆栈跟踪-X:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:53.295s
[INFO] Finished at: Thu Oct 09 20:00:26 IST 2014
[INFO] Final Memory: 9M/25M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.7:resources (default-resources) on project OrionCommunity: Mark invalid -> [Hel
p 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.7:resources (default-resources)
 on project OrionCommunity: Mark invalid
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at …
Run Code Online (Sandbox Code Playgroud)

java eclipse maven-plugin maven

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

标签 统计

eclipse ×1

java ×1

maven ×1

maven-plugin ×1