Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins问题的解决
2017-04-09 15:31
169 查看
今天换了个maven仓库,结果新建maven工程的时候,忽然报错:
Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins...
在网上面找了很多种解决方案,都无济于事,后来在stackoverflow上看到一个靠谱的:
直接在pom.xml中增添如下代码即可:
以后还是直接去stackoverflow搜索问题比较好,看些乱七八糟互相抄袭的博客/百度知道,果然还是前者比较高效
Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins...
在网上面找了很多种解决方案,都无济于事,后来在stackoverflow上看到一个靠谱的:
直接在pom.xml中增添如下代码即可:
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> </plugins> </build>
以后还是直接去stackoverflow搜索问题比较好,看些乱七八糟互相抄袭的博客/百度知道,果然还是前者比较高效
相关文章推荐
- Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins问题的解决
- Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:maven-site-plugin:maven
- win10 pro eclipse maven: Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:mav invalid END header (bad central directory offset)
- Error:Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:mav ... invalid E
- maven导入项目时出现“Cannot read lifecycle mapping metadata …… invalid END header (bad central directory offset)pom”错误的解决方法
- 解决 Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.6
- Maven导入项目出现类似"Cannot read lifecycle ..invalid END header "问题的解决办法
- Maven之Cannot parse lifecycle mapping metadata for maven project
- Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.5
- Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.7
- PluginResolutionException( Failed to read artifact descriptor for org.apache.maven.plugins:)
- maven 问题 Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-res
- Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:2.3
- IntelliJ maven项目pom文件错误failed to read artifact descriptor for xx.jar问题解决办法
- 解决:mvn archetype:create Abstract class or interface 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be instantiated
- maven:log4j:WARN No appenders could be found for logger (loggerInfo).或者maven build error:org.apache.maven.lifecycle.LifecycleExecutionExceptio
- 解决maven项目中出Build path is incomplete. Cannot find class file for org/apache/ibatis/session/SqlSession
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-antrun-plugi
- 解决:Failure to find org.apache.maven.plugins:maven-surefire-plugin:pom:2.10 这样的问题
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plu