grobid-example icon indicating copy to clipboard operation
grobid-example copied to clipboard

Missing dependencies on Maven

Open thundergolfer opened this issue 8 years ago • 2 comments

I'm trying to use Grobid as a Java library much in the same way that this repo does, and it seems that at least 2 of the dependencies are no longer available through maven. What should be done about this?

Note: I am very much a beginner with Maven projects.

[WARNING] The POM for fr.limsi.wapiti:wapiti:jar:1.5.0 is missing, no dependency information available
[WARNING] The POM for org.wipo.analysers:wipo-analysers:jar:0.0.1 is missing, no dependency information available

thundergolfer avatar Mar 19 '17 08:03 thundergolfer

Hello!

These two dependencies should be locally loaded by maven - they are not in maven central. wapiti is under grobid/lib, so be sure to first install and build grobid. The wapiti package should then be loaded in your local maven repo and will be found by grobid-example maven build.

For wipo anaysers, it's the same, and it is also located under grobid-example/lib (grobid-example/lib/) so normally everything should build fine. If there is still a problem, could you give the complete maven output? Thanks !

kermitt2 avatar Mar 20 '17 08:03 kermitt2

I think I ran into trouble because I was following the API instructions on the Grobid docs, and it says you just need the one .JAR out of the downloaded Grobid library. Maybe I'm just really unaware in Java world, or maybe the docs should say that there are extra dependencies other than the Grobid .JAR for API use.

thundergolfer avatar Mar 20 '17 22:03 thundergolfer