grails - 通过 ivy 从本地 nexus 存储库中提取 oracle jdbc 驱动程序-> 尝试访问外部源?

标签 grails maven ivy nexus

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

repo :
   repositories {
      mavenLocal()
      mavenRepo "MYSERVER/nexus/content/repositories/thirdparty"
   }

最佳答案

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

关于grails - 通过 ivy 从本地 nexus 存储库中提取 oracle jdbc 驱动程序-> 尝试访问外部源?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5160727/

相关文章:

grails - 使用findAll或HQL在Grails中加入oneToMany

java.lang.OutOfMemoryError : PermGen space after convering project to Maven 错误

Java 和 Cucumber + Ivy

scala - Logback 依赖性阻止 SBT 离线运行

grails - 是否可以从 grails 应用程序中使用预定义的 ivysettings.xml

grails - Grails Webtest:找不到Webtest jar

maven-2 - Maven 不解析本地 Grails 插件

grails - 在grails域类中重写getter以解决关系版本问题

maven - 'parent.relativePath' 指向我的 com.mycompany :MyProject instead of org. apache :apache - Why?

java - 为什么在执行环境部分中没有兼容的 JRE,即使我已经添加了 JDK?