【发布时间】:2021-04-10 07:16:07
【问题描述】:
将我的项目导入我的IDE后,Spring Tool Suite Version: 4.8.1.RELEASE,pom.xml文件有错误,错误信息如下: 生命周期配置未涵盖插件执行:org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean(执行: 自动清理,阶段:初始化)
这些是我的 pom.xml 的内容:
<?xml version="1.0" encoding="UTF-8"?>
<parent>
<groupId>com.pmt.poc</groupId>
<artifactId>pmt-service-bom</artifactId>
<version>0.1.0</version>
</parent>
<artifactId>resource-service</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>resource-service</name>
<description>PMO Tool</description>
<properties>
<pmt-util.version>0.5.0</pmt-util.version>
</properties>
<dependencies>
<!-- Add other dependencies as you need -->
<dependency>
<groupId>com.pmt.poc</groupId>
<artifactId>pmt-util</artifactId>
<version>${pmt-util.version}</version>
</dependency>
</dependencies>
我尝试过提供的其他解决方案,但它们似乎无法解决其他问题。如果您需要更多信息,请告诉我。谢谢。
【问题讨论】: