我的构建今天开始失败。看起来我们仍然指向一个已弃用的maven存储库?如何在不必覆盖每个mavenCentral的情况下更新我的gradle构建?!
如果我按照说明操作,那么我的构建工作将再次起作用。但是我有很多需要在Jenkins中构建的项目。
repositories{
mavenCentral(url:'https://repo.maven.apache.org/maven2')
}
以下是我们看到的错误:
> Could not resolve commons-lang:commons-lang:2.6.
Required by:
project : > [ snip ]:1.0-SNAPSHOT > net.sf.ezmorph:ezmorph:1.0.6
> Could not resolve commons-lang:commons-lang:2.6.
> Could not get resource 'https://repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.pom'.
> Could not GET 'https://repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.pom'.
> Host name 'repo1.maven.org' does not match the certificate subject provided by the peer (CN=repo.maven.apache.org, O="Sonatype, Inc", L=Fulton, ST=MD, C=US)
TIA!
Piko的