krzysztof1980 / jwktl

Automatically exported from code.google.com/p/jwktl
0 stars 0 forks source link

Problem compiling from Maven central #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by c.ora...@gmail.com on 5 Jun 2014 at 12:49

GoogleCodeExporter 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.

Original comment by chmeyer.de on 5 Jun 2014 at 1:49

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

Original comment by jan.ber...@gmail.com on 21 Mar 2015 at 7:12

GoogleCodeExporter commented 9 years ago

Original comment by jan.ber...@gmail.com on 26 Mar 2015 at 1:36