错误:The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.2 is invalid, transitive dependencies (

Posted 拓荒牛

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了错误:The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.2 is invalid, transitive dependencies (相关的知识,希望对你有一定的参考价值。

INFO] ---------------------------< com.tao:jx-web >---------------------------
[INFO] Building web模块 0.0.1-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[WARNING] The POM for org.apache.httpcomponents:httpcore:jar:4.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for commons-logging:commons-logging:jar:1.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for commons-codec:commons-codec:jar:1.9 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for commons-beanutils:commons-beanutils:jar:1.9.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.apache.commons:commons-lang3:jar:3.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for ognl:ognl:jar:3.0.6 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.springframework:spring-context:jar:3.0.5.RELEASE is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.springframework:spring-web:jar:3.0.5.RELEASE is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jboss.logging:jboss-logging:jar:3.3.0.Final is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.hibernate:hibernate-validator:jar:5.2.1.Final is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.0.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.apache.cxf:cxf-rt-transports-http:jar:3.0.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for log4j:log4j:jar:1.2.17 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for javax.mail:mail:jar:1.4.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for commons-lang:commons-lang:jar:2.6 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.codehaus.xfire:xfire-core:jar:1.2.6 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jx-web ---
[INFO] Using ‘UTF-8‘ encoding to copy filtered resources.
[INFO] Copying 0 resource

 The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

翻译过来就是:

POM文件配置中配置的org.codehaus.plexus:plexus-compiler-api:jar无效,传递依赖项(如果有的话)将不可用,请启用调试日志以获得更多详细信息。

错误原因,jar包在下载过程中出错,可能是断网或者误删或残留都会造成这样的问题

解决方法:关闭eclipse,找到maven仓库文件夹把jar包全部删除,在网络好的环境中,再大打开eclipse中重新下载jar包。

 

 

自动下载jar包。一旦配置pom文件,只要保存就可自动下载到本地仓库

maven test的作用

 

update project的作用

maven install 作用

 























以上是关于错误:The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.2 is invalid, transitive dependencies (的主要内容,如果未能解决你的问题,请参考以下文章

Failed to execute goal on project MakeFriends: Could not resolve dependencie The POM for .chengpai.j

The POM for ... is missing, no dependency information available

The POM for com.qingmu:entity:jar:1.0.0-SNAPSHOT is missing, no dependency information available(示例代

The POM for XXX:jar:${com.ld.base.service.version} is missing, no dependency information available(示

[WARNING] The POM for com.tenyears:base-common:jar:1.0 is invalid, transitive dependen

The POM for cn.e3mall:e3mall-common:jar:0.0.1-SNAPSHOT is missing, no dependency information availab