dileepajayakody / semanticvectors

Automatically exported from code.google.com/p/semanticvectors
Other
1 stars 0 forks source link

Remove lucene packages from semanticvectors-5.4.jar #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The latest downloadable semanticvectors-5.4.jar contains lucene packages. This 
causes problems with other lucene libs on the classpath of an application using 
semanticvectors (cf. e.g. 
http://mail-archives.apache.org/mod_mbox/lucene-java-user/201308.mbox/%3C017801c
ea672$ea6d0960$bf471c20$@thetaphi.de%3E)

Please remove lucene packages from the semanticvectors jar.

Original issue reported on code.google.com by franzb...@gmail.com on 22 May 2014 at 8:18

GoogleCodeExporter commented 9 years ago
an earlier version of semanticvectors-5.4.jar didn't contain the lucene 
packages and lucene related metainf

Original comment by franzb...@gmail.com on 22 May 2014 at 8:32

GoogleCodeExporter commented 9 years ago
I've updated the documentation at 
https://code.google.com/p/semanticvectors/wiki/LuceneCompatibility
to further explain this issue.

Not all versions of SV work with all versions of Lucene, so there's no 
guarantee that a jar distribution without the Lucene dependencies included 
would solve your problem anyway. What you probably should do is use a version 
of SV that works with your version of Lucene, as documented in the 
LuceneCompatability page.

If what you actually need is compatability with a Lucene version above 4.6.0 (I 
see they are on 4.8.1 now) I'll help with upgrading the project, but the main 
released jar will still ship with dependencies. It's fine to recompile your own 
version with fewer dependencies (see 
http://maven.apache.org/plugins/maven-shade-plugin/examples/includes-excludes.ht
ml - I haven't done this before but it looks easy enough to use "excludes").

Original comment by dwidd...@gmail.com on 22 May 2014 at 11:08