Skip to content

Commit

Permalink
Correctly exclude netty-tcnative classes from the all jar.
Browse files Browse the repository at this point in the history
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 [netty#6791]
  • Loading branch information
normanmaurer authored and Scottmitch committed May 30, 2017
1 parent b71abce commit 1504abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@
<goal>unpack-dependencies</goal>
</goals>
<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>
<includeScope>runtime</includeScope>
<includeGroupIds>${project.groupId}</includeGroupIds>
Expand Down

0 comments on commit 1504abd

Please sign in to comment.