通过ivy从本地nexus存储库拉取oracle jdbc驱动程序 ->尝试访问外部源?
我在代理后面,我试图从我手动添加的本地 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"
}
I'm behind a proxy, and I'm trying to grab a jar from my local nexus repository that I added manually. Why does grails/ivy try to connect outward when I try to download the 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
Dependency config:
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
runtime 'com.oracle:ojdbc16:11.1.0.7.0'
}
Repos:
repositories {
mavenLocal()
mavenRepo "MYSERVER/nexus/content/repositories/thirdparty"
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这种神秘的情况不再发生。由于其他原因,我确实切换回 1.3.6,但我不确定为什么会发生这种情况。
This mysteriously no longer happens. I did switch back to 1.3.6 for other reasons, but I'm not sure why this ever occurred.