Thanks Tamas,

I never work with shade plugin, will give it a try :)
Maybe you have example available online?

More details on my configuration:
Our application is based on customized tomcat, and it has tika in lib/
folder, but without all parsers
So I have to copy missing jars to lib/ folder using assembly plugin, which
is very much ugly :(((


On Fri, Nov 24, 2017 at 6:01 PM, Tamás Cservenák <[email protected]>
wrote:

> Hi there,
>
> Am using it in such form, but there is a caveat: when bundling it, you
> need to exclude the signatures of some JARs, otherwise it explodes. I don't
> know is there some consequence of doing this, probably there is :(
>
> So, with maven shade plugin, you need to use something like this:
>
>                 <filter>
>                   <artifact>*:*</artifact>
>                   <excludes>
>                     <exclude>META-INF/*.SF</exclude>
>                     <exclude>META-INF/*.DSA</exclude>
>                     <exclude>META-INF/*.RSA</exclude>
>                   </excludes>
>                 </filter>
>
> And probably be more proactive then me, check what causes this, is there
> among dependencies some sealed jar that will be defunct bundled due to
> missing signature.
>
> HTH,
> T
>
> On Fri, Nov 24, 2017 at 11:41 AM Maxim Solodovnik <[email protected]>
> wrote:
>
>> Hello All,
>>
>> I wonder is it possible to get tika-parsers with all dependencies as "big
>> fat jar"
>> It is impossible for me to use tika-app since it has javax.ws.rs.*
>> classes which are incompatible with latest CXF I'm using
>> It is impossible to use tika-bundle since it is OSGI
>>
>> Would appreciate any help!
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
> --
> Thanks,
> ~t~
>
>


-- 
WBR
Maxim aka solomax

Reply via email to