[英]failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.7
I'm getting this error all of a sudden in maven and i'm not sure why: 我在Maven中突然收到此错误,但我不确定为什么:
Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.7:resources (default-resources) on project
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.7:resources (default-resources) on project
I searched in intellij for 2.7 as well as maven-resources-plugin and we aren't using those. 我在intellij中搜索了2.7以及maven-resources-plugin,但我们没有使用它们。 Why is maven suddenly complaining about this when I don't even use that plugin? 当我什至不使用该插件时,为什么Maven突然抱怨此事?
There seems to be a problem with the maven-filtering dependency. maven过滤依赖性似乎存在问题。
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-filtering</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
</plugin>
我的src / main / resources中有.der文件,现在将其删除后即可成功构建。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.