我有一个本地artefact存储库,我的maven设置指向,但由于某种原因,这似乎没有击中它,并在尝试安装时一直失败.
我可以直接在浏览器中访问该URL,也可以通过浏览器访问maven repo.
我也可以ping两个.
我可以直接在浏览器中访问该URL,也可以通过浏览器访问maven repo.
我也可以ping两个.
任何想法为什么一直失败?
下面的堆栈跟踪
干杯,
mvn clean install -DskipTests -T 8C [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project uk.co.three:Three:0.1 (/Users/***/Projects/three/Development/pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to collect dependencies for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2 (): Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2: Could not transfer artifact org.apache.maven.wagon:wagon-webdav:pom:1.0-beta-2 from/to central (http://repo1.maven.org/maven2): Error transferring file: Connection refused -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors,re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions,please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException