我有某些没有修订号的 jar 文件。但是由于 rev 是 ivy 依赖项的强制属性,所以我提供了 revision 属性。但是我-[revision]
在 url 解析器中有类似 ( ) 的东西。
但它采用模块编号而不是忽略修订属性。我知道它不会忽略修订属性,因为它不为空。
以下是我得到的输出
default-cache: no cached resolved revision for perltools#perltools;latest.integration
[ivy:retrieve] tried httP://myrepo/ivyRepository/perltools/jars/[revision]/perltools-[revision].jar
[ivy:retrieve] listing all in httP://myrepo/ivyRepository/perltools/jars/[revision]/perltools-[revision].jar
[ivy:retrieve] using privateRepo to list all in httP://myrepo/ivyRepository/perltools/jars/
[ivy:retrieve] ApacheURLLister found URL=[httP://myrepo/ivyRepository/perltools/jars/perltools.jar].
[ivy:retrieve] found 1 resources
[ivy:retrieve] found revs: [perltools.jar]
[ivy:retrieve] HTTP response status: 404 url=httP://myrepo/ivyRepository/perltools/jars/perltools.jar/perltools-perltools.jar.jar
[ivy:retrieve] CLIENT ERROR: Not Found url=httP://myrepo/ivyRepository/perltools/jars/perltools.jar/perltools-perltools.jar.jar
有人可以解释为什么它以 module.ext 作为修订,而我指定的修订是 latest.integration 并且在 myrepo 中,我没有修订属性。
它只是有
[http://myrepo/ivyRepository/perltools/jars//perltools.jar]
有人可以帮助我,以便我可以避免修订属性吗?