【问题标题】:Pulling oracle jdbc driver from local nexus repository through ivy -> tries to hit external source?通过 ivy 从本地 nexus 存储库中提取 oracle jdbc 驱动程序-> 尝试访问外部源?
【发布时间】:2011-07-06 20:28:36
【问题描述】:

我在代理后面,我试图从我手动添加的本地 nexus 存储库中获取一个 jar。为什么 grails/ivy 在我尝试下载 jar 时会尝试向外连接?

...
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"
   }

【问题讨论】:

    标签: grails maven ivy nexus


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2015-09-16
      • 2020-06-13
      • 2020-03-17
      • 2011-03-10
      • 1970-01-01
      • 2011-03-12
      • 2016-05-27
      • 2013-09-29
      • 1970-01-01
      相关资源
      最近更新 更多