-
-
Notifications
You must be signed in to change notification settings - Fork 188
Open
Description
We are trying to depend only on the linux-x86_64 variant of netty-tcnative-boringssl-static (version 2.0.72.Final). Our pom.xml is configured like this:
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<version>2.0.72.Final</version>
<classifier>linux-x86_64</classifier>
</dependency>However, when we run mvn dependency:tree, we still see that dependencies for other platforms are being pulled in:
[INFO] | | +- io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64:2.0.72.Final:runtime
[INFO] | | | +- io.netty:netty-tcnative-classes:jar:2.0.72.Final:runtime
[INFO] | | | +- io.netty:netty-tcnative-boringssl-static:jar:linux-aarch_64:2.0.72.Final:runtime
[INFO] | | | +- io.netty:netty-tcnative-boringssl-static:jar:osx-x86_64:2.0.72.Final:runtime
[INFO] | | | +- io.netty:netty-tcnative-boringssl-static:jar:osx-aarch_64:2.0.72.Final:runtime
[INFO] | | | \- io.netty:netty-tcnative-boringssl-static:jar:windows-x86_64:2.0.72.Final:runtime
We were expecting only the linux-x86_64 JAR to be included.
Is this the intended behavior due to how netty-tcnative-classes handles multi-platform resolution?
Is there a way to exclude all other platforms when only one is required?
Any clarification or guidance would be appreciated. Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels