2

我在代理后面,我正在尝试从我手动添加的本地 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"
   }
4

1 回答 1

0

这神秘地不再发生。由于其他原因,我确实切换回了 1.3.6,但我不确定为什么会发生这种情况。

于 2011-03-08T03:03:05.293 回答