I'm using maven-shade-plugin to make executable JAR. But, some of artifacts
are signed, and this is causes an exception

Exception in thread "main" java.lang.SecurityException: Invalid signature
file digest for Manifest main attributes

 

So, how can I configure plugin for removing of such data? I've tried to use
in filters exclude, but it doesn't help. Looks like I missing something
important

<filter>

                <artifact>*:*</artifact>

                                <excludes>

<exclude>META-INF/eclipse.sf</exclude>

<exclude>META-INF/eclipse.rsa</exclude>

<exclude>META-INF/eclipse.inf</exclude>

</excludes>

</filter>

 

 

Reply via email to