Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.0
Description
Ivy lists the following running a script with -Divy.message.logger.level=4:
downloadGrapes [chain] [cachedGrapes, localm2, codehaus, ibiblio, java.net2]
return first: true
dual: false
-> cachedGrapes
-> localm2
-> codehaus
-> ibiblio
-> java.net2
My script begins with:
@Grapes([ @GrabResolver(name = 'my-remote', root = 'http://server/nexus/content/groups/public'), @GrabConfig(systemClassLoader = true), @Grab(group = 'com.google.code.maven-config-processor-plugin', module = 'config-processor-maven-plugin', version = '2.4', transitive = false), @Grab(group = 'org.codehaus.plexus', module = 'plexus-container-default', version = '1.5.5', transitive = false), @Grab(group = 'commons-lang', module = 'commons-lang', version = '2.4', transitive = false), @Grab(group = 'xpp3', module = 'xpp3_min', version = '1.1.4c', transitive = false), @Grab(group = 'xerces', module = 'xercesImpl', version = '2.8.1', transitive = false), ]) import org.apache.tools.ant.taskdefs.Antlib
If I create a grapeConfig.xml file with "my-remote" repo, Ivy reports something like the following:
downloadGrapes [chain] [cachedGrapes, my-remote, localm2, codehaus, ibiblio, java.net2]
return first: true
dual: false
-> cachedGrapes
-> my-remote
-> localm2
-> codehaus
-> ibiblio
-> java.net2
It seems @GrabResolver is not being used.