Java 无法计算生成计划:Plugin org.apache.maven.plugins:maven资源Plugin:2.5
您好,请帮助我解决下面这个问题,我是java新手,我的项目中有POM.xml,即使在我完成了下面提到的步骤后,仍然会显示下面的错误 我试着从我身边走过的脚步是Java 无法计算生成计划:Plugin org.apache.maven.plugins:maven资源Plugin:2.5,java,javascript,spring,swing,maven,Java,Javascript,Spring,Swing,Maven,您好,请帮助我解决下面这个问题,我是java新手,我的项目中有POM.xml,即使在我完成了下面提到的步骤后,仍然会显示下面的错误 我试着从我身边走过的脚步是 已从maven存储库中删除所有缓存文件 通过Maven更新了项目,但我仍然无法解决此问题 错误消息类似于 Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven- compiler-plugin:2.3.2:tes
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven- compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile)
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>csp</groupId>
<artifactId>CustomerFileTransfer</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>CustomerFileTransferApp</name>
<dependencies>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>3.1.0.RELEASE</version>
</dependency>
</dependencies>
</project>
我的POM.xml是
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven- compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile)
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>csp</groupId>
<artifactId>CustomerFileTransfer</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>CustomerFileTransferApp</name>
<dependencies>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>3.1.0.RELEASE</version>
</dependency>
</dependencies>
</project>
4.0.0
顾客服务提供商
客户文件传输
0.0.1-快照
CustomerFileTransferApp
公共dbcp
公共dbcp
1.4
org.springframework
spring上下文
3.1.0.1发布
请让我知道我没有做什么。您使用哪种maven版本?你在命令行上运行过吗?根据您试图从Eclipse运行maven的消息。更好的方法是先在命令行上运行,看看是否一切正常,然后进入Eclipse。