我的詹金斯工作抛出此异常,而我想尝试连接到nexus存储库时,有人对此有何想法?我可以看到它在其他多个主题中都被提及,但是在那里找不到我的问题的任何解决方案。
The element type "hr" must be terminated by the matching end-tag "</hr>".
Could not resolve all files for configuration ':<dir>-web:xxx'.
及更高版本
13:10:29 * What went wrong:
13:10:29 Execution failed for task ':xx-web:qqq'.
13:10:29 > Could not resolve all files for configuration ':xx-web:qqq'.
13:10:29 > Could not resolve mt.com.bbb.xx:xx-commons:0.0.9.
13:10:29 Required by:
13:10:29 project :xxx-web
13:10:29 > Could not resolve mt.com.bbb.xx:xx-commons:0.0.9.
13:10:29 > Could not parse POM http://<service>/repository/maven-public/.../xx-commons/0.0.9/xx-commons-0.0.9.pom
13:10:29 > The element type "hr" must be terminated by the matching end-tag "</hr>".
您需要告知Gradle回购位置:
repositories {
maven {
url "http://localhost:8081/nexus/content/groups/public"
}
}