how to ignore ivy revision number?

Posted by user315228 on Stack Overflow See other posts from Stack Overflow or by user315228
Published on 2010-05-31T11:08:20Z Indexed on 2010/05/31 11:13 UTC
Read the original article Hit count: 285

Filed under:

Guys,

I have certain jar files without revision number. But as rev is mandatory attribute for ivy dependency, i am providing the revision attribute. But i have something like (-[revision]) in url resolver. but its taking the module number instead of ignoring the revision attribute. I know it wont ignore the revision attribute as its not null.

Following is the output that i get

default-cache: no cached resolved revision for perltools#perltools;latest.integration [ivy:retrieve] tried [ivy:retrieve] listing all in [ivy:retrieve] using privateRepo to list all in [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

Can somebody please explain why its taking module.ext as revision where revision i specified is latest.integration and in myrepo, i dont have revision attribute. its just has

[http://myrepo/ivyRepository/perltools/jars//perltools.jar]

Can somebody please help me so that i can avoid revision attribute?

© Stack Overflow or respective owner

Related posts about ivy