You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Jonathan Roberts <jr...@rjlg.com> on 2009/01/26 20:07:37 UTC

Can't use dynamic versions in dependencies.

Hello,

I'm an ivy noob and can't seem to get the dependencies to resolve
version numbers using the latest.[status] way.

Seems like the docs for 2.0 are incorrect
<dependency name="axis2-war" revision="latest.release"
conf="test->default"/>  
Will give me an error because the revsision tag is not supported.

I've tried <dependency name="axis2-war" rev="latest.release"
conf="test->default"/>  

But it doesn't appear to be trying any actual revision numbers it gives
me this in the error log

[ivy:resolve] 	==== Ivy-Nexus: tried
[ivy:resolve]
http://aaronsiri-lt-2:8080/nexus/content/groups/public/apache/axis2-war/
latest.release/ivy.xml
[ivy:resolve]
http://aaronsiri-lt-2:8080/nexus/content/groups/public/apache/axis2-war/
[revision]/ivy.xml
[ivy:resolve] 	  -- artifact
apache#axis2-war;latest.release!axis2-war.jar:
[ivy:resolve]
http://aaronsiri-lt-2:8080/nexus/content/groups/public/apache/axis2-war/
latest.release/axis2-war.jar
[ivy:resolve]
http://aaronsiri-lt-2:8080/nexus/content/groups/public/apache/axis2-war/
[revision]/axis2-war.jar


Thanks,
Jon Roberts