Intellij idea 如何强制intellij+;ivy下载我想要的吗?
Uinsg IntelliJ,目前ivy向我提供以下错误消息:Intellij idea 如何强制intellij+;ivy下载我想要的吗?,intellij-idea,ivy,Intellij Idea,Ivy,Uinsg IntelliJ,目前ivy向我提供以下错误消息: :: downloading artifacts :: [NOT REQUIRED] folder#scopt;2.10-3.1.0!scopt.jar 当我尝试使用我们公司的内部常春藤系统时 我可以看到jar文件位于解析器指向的正确位置,并且ivy缓存(使用IntelliJ)是干净的 Ivy将下载请求的文件 问题在于IntelliJ,eclipse可以找到并下载带有相同ivy.xml和ivy.settings文件的jar,而不会
:: downloading artifacts ::
[NOT REQUIRED] folder#scopt;2.10-3.1.0!scopt.jar
当我尝试使用我们公司的内部常春藤系统时
我可以看到jar文件位于解析器指向的正确位置,并且ivy缓存(使用IntelliJ)是干净的
Ivy将下载请求的文件
问题在于IntelliJ,eclipse可以找到并下载带有相同ivy.xml和ivy.settings文件的jar,而不会出现任何问题
这不是建议的重复-如果我更改内部IntelliJ设置以排除jar文件,则在输出的底部会出现一个错误(说明不下载jar文件)。我目前在intelliJ中的日志记录为“全部”)
~~~~~
常春藤解析器代码为:
<resolvers>
<filesystem name="secret-source-resolver" checkmodified="true" checkconsistency="false">
<artifact pattern="//a/b/c/d/[organisation]/e/f/[module]/[artifact]_[revision].[ext]" />
</filesystem>
</resolvers>
<modules>
<module organisation="theOrg" name="scopt" resolver="secret-source-resolver" />
</modules>
表示ivy可以找到它,只是觉得下载会。。。糟糕
我目前正在使用intelliJ 12.0(公司事务,v.难以升级)
有什么想法吗?不幸的是,没有解决方案,但我们看到了同样的情况。它看起来并不一致,但是,它在一些开发人员的机器上可以像预期的那样工作,但在其他机器上失败,出现此错误。不幸的是,没有解决方案,但我们看到了同样的情况。它看起来并不一致,但是,它在一些开发人员的机器上按预期工作,但在其他机器上出现此错误而失败。可能重复@JanGalinski,遗憾的是没有,尽管我希望如此was@bharal从那以后你找到解决办法了吗?@GáborNagy argh,不,我一定做了些什么,但是我已经离开了那家公司,我不知道我做了些什么来解决这个问题。很遗憾,@JanGalinski的复制品没有,尽管我希望如此was@bharal从那以后你找到解决办法了吗?@GáborNagy argh,不,我一定做了些什么,但我已经离开了那家公司,我不知道我做了什么来解决这个问题了
<dependencies>
<dependency org="theOrg" name="scopt" rev="2.10-3.1.0">
<artifact name="scopt" type="jar" force="true" conf="runtime" />
</dependency>
</dependencies>
don't use cache for theOrg#scopt;2.10-3.1.0: checkModified=true
trying //v/campus/ny/cs/theOrg/shared/apps/scopt/scopt_2.10-3.1.0.jar
tried //v/campus/ny/cs/theOrg/shared/apps/scopt/scopt_2.10-3.1.0.jar
secret-source-resolver: no ivy file found for theOrg#scopt;2.10-3.1.0: using default data
checking theOrg#scopt;2.10-3.1.0[default] from secret-source-resolver against [none]
module revision kept as first found: theOrg#scopt;2.10-3.1.0[default] from secret-source-resolver
found theOrg#scopt;2.10-3.1.0 in secret-source-resolver