且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法读取org.apache.maven.plugins:maven-source-plugin:jar:2.4的工件描述符

更新时间:2022-06-01 22:42:06

两种可能的情况:

  • 您的公司使用代理连接到公共Maven存储库.然后询问您公司中的某人代理的IP地址是什么,然后将其放入您的settings.xml文件中

  • Your company uses a proxy to connect to the public Maven repository. Then ask someone in your company what the IP address of the proxy is then put it in your settings.xml file

您的公司拥有自己的Maven存储库(例如Nexus存储库).然后询问公司中的某人Nexus存储库是什么,然后将其放入pom.xml或settings.xml中.请参见将maven nexus存储库添加到我的pom.xml https://maven.apache.org/guides/mini/guide-multiple -repositories.html

Your company has its/their own Maven repository/ies (Nexus repository for example). Then ask someone in your company what the Nexus repository is then put it in your pom.xml or in your settings.xml. See Adding maven nexus repo to my pom.xml and https://maven.apache.org/guides/mini/guide-multiple-repositories.html