maven +eclipse mvn install 总是报错,用的是私服,请大神帮忙看看。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了maven +eclipse mvn install 总是报错,用的是私服,请大神帮忙看看。相关的知识,希望对你有一定的参考价值。

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project b2r-build: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile failed: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.0 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.codehaus.plexus:plexus-utils:jar:1.5.1,
org.apache.maven.shared:maven-shared-utils:jar:0.1, org.apache.maven.shared:maven-shared-incremental:jar:1.0, org.codehaus.plexus:plexus-component-annotations:jar:1.5.5, org.codehaus.plexus:plexus-compiler-api:jar:2.0,
org.codehaus.plexus:plexus-compiler-manager:jar:2.0,
org.codehaus.plexus:plexus-compiler-javac:jar:2.0: Failure to find org.codehaus.plexus:plexus-utils:jar:1.5.1 in http://10.20.21.30:8081/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced ->

参考技术A 首先你的eclipse是java ee版的,接着还需要在eclipse里面添加一下,window->preferences->server->runtime environments->add->apache->apache tomcat v7.0,前提是你的eclipse支持tomcat7.0,如果不支持的话请升级,接下...

以上是关于maven +eclipse mvn install 总是报错,用的是私服,请大神帮忙看看。的主要内容,如果未能解决你的问题,请参考以下文章

maven eclipse操作

Run “mvn clean install” in Eclipse

如何在eclipse中使用mvn clean install

Maven

mvn install 下载的jar文件放在哪里? 如果我要在eclipse里面使用mvn下载的jar文件 怎么引用

如何在嵌入 Eclipse 的 Maven 存储库中安装 jars?