eclipse中创建maven pom.xml报错:
【报错信息:】Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:maven-clean-plugin:maven-plugin:2.5:runtime Cause: error in opening zip file
【解决办法】
在pom.xml中加入如下片段:
<dependencies>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
<classifier>javadoc</classifier>
<type>javadoc</type>
</dependency>
</dependencies>
.