我在代理后面,我正在尝试从我手动添加的本地 nexus 存储库中获取一个 jar。当我尝试下载 jar 时,为什么 grails/ivy 会尝试向外连接?
...
Downloading: MYURL/ojdbc16-11.1.0.7.0.jar.sha1 ...
Download complete.
:: problems summary ::
:::: ERRORS
Server access Error: Connection timed out: connect url=http://svn.codehaus.org/grails-plugins/grails-ojdbc16/tags/RELEASE_11_1_0_7_0/grails-ojdbc16-11.1.0.7.0.jar
依赖配置:
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
runtime 'com.oracle:ojdbc16:11.1.0.7.0'
}
回购:
repositories {
mavenLocal()
mavenRepo "MYSERVER/nexus/content/repositories/thirdparty"
}