repox
repox copied to clipboard
能否添加对区段版本号的支持?
如:build.gradle中引入compile "com.nimbusds:nimbus-jose-jwt:4.23" 会出现如下错误:
> Could not resolve commons-io:commons-io:[2.4,).
Required by:
project : > com.nimbusds:nimbus-jose-jwt:4.23
> Could not resolve commons-io:commons-io:[2.4,).
> Failed to list versions for commons-io:commons-io.
> Unable to load Maven meta-data from http://repox.gtan.com:8078/commons-io/commons-io/maven-metadata.xml.
> Could not get resource 'http://repox.gtan.com:8078/commons-io/commons-io/maven-metadata.xml'.
> Could not GET 'http://repox.gtan.com:8078/commons-io/commons-io/maven-metadata.xml'.
> Read timed out
不建议使用区段版本号。https://www.lucidchart.com/techblog/2017/03/15/package-management-stop-using-version-ranges/