lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <>
Subject Re: Jar packaging issue
Date Mon, 04 Feb 2013 16:42:52 GMT
On Mon, 4 Feb 2013, 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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message