lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <karl.wri...@nokia.com>
Subject Jar packaging issue
Date Mon, 04 Feb 2013 16:27:29 GMT
Hello anyone,

We recently ran into something people might not be fully aware of.  Specifically, because
codec jars require META-INF/services files in order to be discovered, and each codec  has
the same files, it's not a straightforward operation to glom all the Lucene jars of interest
into one uber-jar, because some of this info is lost.  Putting all the dependencies together
in one jar is one of the few things Maven is really good at, so this is a shame. ;-)

This can be worked around by essentially creating a new org.apache.lucene.codecs.PostingFormat
file, but that's not an easy operation with the build tools people use.

Any suggestions?

Karl


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message