google-code-export / ivyidea

Automatically exported from code.google.com/p/ivyidea
1 stars 0 forks source link

Problem resolving dependency of the form 2.0+ #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have declared a dependency in my ivy.xml as:

<dependency org="net.sourceforge" name="emma" rev="2.0+" conf="default->ant"/>

When I run ivy from ant I'm able to resolve it:

[ivy:resolve] downloading
http://acme:8080/artifactory/libs-releases-local/net/sourceforge/emma/2.0/emma_a
nt-2.0.jar
...
[ivy:resolve] ... (37kB)
[ivy:resolve] .. (37kB)
[ivy:resolve]   [SUCCESSFUL ] net.sourceforge#emma;2.0!emma_ant.jar (78ms)
[ivy:resolve] downloading
http://acme8080/artifactory/libs-releases-local/net/sourceforge/emma/2.0/emma-2.
0.jar
...
[ivy:resolve] ...................... (418kB)
[ivy:resolve] .. (418kB)
[ivy:resolve]   [SUCCESSFUL ] net.sourceforge#emma;2.0!emma.jar (141ms)
[ivy:resolve] :: resolution report :: resolve 578ms :: artifacts dl 219ms

However, when I try to resolve from IvyIdea, it appears that it's actually
looking for a 2.0+ revision and doesn't know to look for 2.0

:::: WARNINGS
        module not found: net.sourceforge#emma;2.0+

    ==== artifactory: tried

http://acme:8080/artifactory/libs-releases-local/net/sourceforge/emma/[revision]
/ivy-[revision].xml

      -- artifact net.sourceforge#emma;2.0+!emma.jar:

http://waterchestnut:8080/artifactory/libs-releases-local/net/sourceforge/emma/[
revision]/emma-[revision].jar

http://acme:8080/artifactory/libs-releases-local/net/sourceforge/emma/[revision]
/emma.jar

        ::::::::::::::::::::::::::::::::::::::::::::::

        ::          UNRESOLVED DEPENDENCIES         ::

        ::::::::::::::::::::::::::::::::::::::::::::::

        :: net.sourceforge#emma;2.0+: not found

        ::::::::::::::::::::::::::::::::::::::::::::::

Original issue reported on code.google.com by borg...@gmail.com on 27 May 2009 at 1:40