Exclude netty individual jars from binary distribution
<unpack>false</unpack>
<scope>runtime</scope>
<useProjectArtifact>false</useProjectArtifact>
+
+ <excludes>
+ <!-- All these dependencies are already included in netty-all -->
+ <exclude>io.netty:netty-common</exclude>
+ <exclude>io.netty:netty-buffer</exclude>
+ <exclude>io.netty:netty-codec-http</exclude>
+ <exclude>io.netty:netty-codec</exclude>
+ <exclude>io.netty:netty-transport</exclude>
+ <exclude>io.netty:netty-handler</exclude>
+ <exclude>io.netty:netty-transport-native-epoll</exclude>
+ <exclude>io.netty:netty-codec-http</exclude>
+ </excludes>
</dependencySet>
</dependencySets>
</assembly>
