|
This question is more groovy related but for some reason I can't access
their mailing list right now. I am trying to use Grab to fetch a library called groovytools-builder @GrabResolver(name='org.codehaus.groovy', root='http://repo.openehealth.org/maven2.releases/') @Grab (group='org.codehaus.groovy', module='groovytools-builder', version='1.1.6') import groovytools.builder.* However I get the error org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during conversion: Error grabbing Grapes -- [unresolved dependency: org.codehaus.groovy#groovytools-builder;1.1.6: not found] The jar file is located at http://repo.openehealth.org/maven2/releases/org/codehaus/groovy/groovytools-builder/1.1.6-M1/groovytools-builder-1.1.6-M1.jar What am I missing? TIA Pascal --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
> @Grab (group='org.codehaus.groovy', module='groovytools-builder',
> version='1.1.6') > > General error during conversion: Error grabbing Grapes -- [unresolved > dependency: org.codehaus.groovy#groovytools-builder;1.1.6: not found] > > http://repo.openehealth.org/maven2/releases/org/codehaus/groovy/groovytools-builder/1.1.6-M1/groovytools-builder-1.1.6-M1.jar That jar file has a version of 1.1.6-M1. (Or possibly a version 1.1.6 and classifier M1.) But you told Grab to find you version 1.1.6, so it is failing as it should since it can't find a file with that version. Wayne --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Thanks Wayne,
I tried with 1.1.6-M1 first and that didn't work. Any ideas on how to debug this? Thanks Pascal On 08/22/2011 09:06 PM, Wayne Fay wrote: >> @Grab (group='org.codehaus.groovy', module='groovytools-builder', >> version='1.1.6') >> >> General error during conversion: Error grabbing Grapes -- [unresolved >> dependency: org.codehaus.groovy#groovytools-builder;1.1.6: not found] >> >> http://repo.openehealth.org/maven2/releases/org/codehaus/groovy/groovytools-builder/1.1.6-M1/groovytools-builder-1.1.6-M1.jar > That jar file has a version of 1.1.6-M1. (Or possibly a version 1.1.6 > and classifier M1.) > > But you told Grab to find you version 1.1.6, so it is failing as it > should since it can't find a file with that version. > > Wayne > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
> I tried with 1.1.6-M1 first and that didn't work. Any ideas on how to debug
> this? Honestly no. If you were using "real" Maven, then I'd know more, but I know very little about Grab. I'd probably just find a different version that is compatible and works, and use it instead. ;-) Wayne --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Powered by Nabble | Edit this page |
