Correctly exclude netty-tcnative classes from the all jar.

Motivation:

We need to exclude the netty-tcnative classes from the all jar when building it as otherwise there may be classloader issues.

Modifications:

Add io/netty/internal/tcnative to the exclude list.

Result:

Fixes [#6791]
This commit is contained in:
Norman Maurer 2017-05-30 21:11:59 +02:00 committed by Scott Mitchell
parent b71abcedd1
commit 1504abd474

View File

@ -551,7 +551,7 @@
<goal>unpack-dependencies</goal> <goal>unpack-dependencies</goal>
</goals> </goals>
<configuration> <configuration>
<excludes>io/netty/example/**,META-INF/native/libnetty-tcnative*,META-INF/native/include/**,META-INF/native/**/*.a</excludes> <excludes>io/netty/internal/tcnative/**,io/netty/example/**,META-INF/native/libnetty-tcnative*,META-INF/native/include/**,META-INF/native/**/*.a</excludes>
<includes>io/netty/**,META-INF/native/**</includes> <includes>io/netty/**,META-INF/native/**</includes>
<includeScope>runtime</includeScope> <includeScope>runtime</includeScope>
<includeGroupIds>${project.groupId}</includeGroupIds> <includeGroupIds>${project.groupId}</includeGroupIds>