Is it possible for you to use maven to build your fat jar?  Check out the
maven shade plugin, which has handling for things like META-INF, and some
special cases (like services manifests) such as merging those from multiple
jar files.

http://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html

The (not recommended) alternative is to place your JARs in the supervisor's
lib directory.


On Wed, Feb 19, 2014 at 9:15 AM, Harald Kirsch <[email protected]>wrote:

> I am trying to use tika-parsers-1.4.jar in a self-build fat jar, meaning I
> just unjar all jars into one directory and jar the result into one fat jar.
>
> The problem is, that this produces an unreliable META-INF, so just before
> running jar, I delete the META-INF directory.
>
> This seemed to work, except that tika-parsers does not work anymore. No
> error, no exception, no log, it just returns nothing. And I can boil this
> down to the META-INF.
>
> Now, there might be a way to hand-craft a fat jar that works. However I
> wonder if there is a better way  to add additional jars to a topology?
>
> Harald.
>
>

Reply via email to