netty / netty-tcnative

A fork of Apache Tomcat Native, based on finagle-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Classifier ignored for statically linked libraries

zekronium opened this issue · comments

It seems to be that since 2.0.50.Final its not possible to get just the specified classifier as per the wiki which results only the full Uber jar downloaded

Behavior <= 2.0.49.Final
image

Behavior after >= 2.0.50.Final
image

This is the pom.xml dependencies

<dependency>
      <groupId>io.netty</groupId>
      <artifactId>netty-tcnative-boringssl-static</artifactId>
      <version>2.0.63.Final</version>
      <classifier>linux-x86_64</classifier>
</dependency>

Behavior is the same with ${os.detected.classifier}

Still happens with 2.0.65 and Gradle. I use:

implementation "io.netty:netty-tcnative-boringssl-static::windows-x86_64"

but I see all architectures in the resulting jar.

Well, scratch my previous comment. There was a mistake in my build script and I got it to work properly.