codeaudit / dkpro-core-asl

Automatically exported from code.google.com/p/dkpro-core-asl
0 stars 0 forks source link

Groovy script for DKPro Core pipelines throws error on initialization #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copy first sample script into file "pipeline"
2. chmod -x pipeline
3. ./pipeline

Output:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during conversion: Error grabbing Grapes -- [unresolved 
dependency: org.apache.uima#uimaj-core;2.4.1-SNAPSHOT: not found]

java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: 
org.apache.uima#uimaj-core;2.4.1-SNAPSHOT: not found]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
...
    at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:108)
    at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130)

1 error

Original issue reported on code.google.com by nikoschenk on 10 Jul 2013 at 2:37

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. We are currently upgrading DKPro Core to uimaFIT and 
UIMA versions which have not been released yet. 

For the time being, these @GrabResolver-s need to be used:

@GrabResolver(name='apache.snapshots', 
      root='http://repository.apache.org/snapshots')
@GrabResolver(name='ukp-oss-releases', 
      root='http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-releases')
@GrabResolver(name='ukp-oss-snapshots',
      root='http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-snapshots')

I have updated the wiki accordingly.

Original comment by richard.eckart on 10 Jul 2013 at 3:28