On Mon, 4 Feb 2013, karl.wri...@nokia.com wrote:
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. ;-)
Apache Tika has the same issue. The trick is to use a different plugin when rolling up into a single jar, you need one that correctly handles service files. IIRC, the maven-shade-plugin can handle it properly
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org