dkpro / dkpro-jwktl

Java Wiktionary Library
http://dkpro.org/dkpro-jwktl/
Apache License 2.0
57 stars 26 forks source link

Problem compiling from Maven central #7

Closed chmeyer closed 9 years ago

chmeyer commented 9 years ago

Originally reported on Google Code with ID 7

I have to admit that I am rather new to Maven. I added 

<dependency>
   <groupId>de.tudarmstadt.ukp.jwktl</groupId>
   <artifactId>jwktl</artifactId>
   <version>1.0.0</version>
</dependency>

to my pom.xml file, but when I tried to compile I get an error caused by xerces. The
solution seems to be to add

<dependency>
   <groupId>xerces</groupId>
   <artifactId>xercesImpl</artifactId>
   <version>2.11.0</version>
</dependency>

in the pom.xml file. After that the importing the dump file worked without a problem.

Reported by c.orasan on 2014-06-05 12:49:40

chmeyer commented 9 years ago
JWKTL has a dependency to xerces 2.9.1-lucene, which is a patched version of Xerces
for better UTF-8 handling. Actually, it is a patch for this yet open issue of the xerces
project: https://issues.apache.org/jira/browse/XERCESJ-1257 

The artifact has been on Maven Central for a long time, but it seems that it has very
recently been removed (for whatever reason). Since it is no longer available, Maven
cannot download the xerces 2.9.1-lucense dependency and thus yields a build error.
(This implies that your procedure is totally correct!)

Until a better solution is available, you can either try using xerces 2.11.0 (which
has, however, still the UTF8 issue references above) or you can download the xerces
2.9.1-lucene from our own infrastructure and deploy it to your own Maven repository.
See https://code.google.com/p/jwpl/issues/detail?id=127 for more explanation.

Reported by chmeyer.de on 2014-06-05 13:49:43

chmeyer commented 9 years ago
I think this can be closed now.

Reported by jan.berkel on 2015-03-21 19:12:36

chmeyer commented 9 years ago

Reported by jan.berkel on 2015-03-26 13:36:35