Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classifier ignored for statically linked libraries #852

Open
zekronium opened this issue Feb 21, 2024 · 2 comments
Open

Classifier ignored for statically linked libraries #852

zekronium opened this issue Feb 21, 2024 · 2 comments

Comments

@zekronium
Copy link
Contributor

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}

@zapek
Copy link

zapek commented Sep 22, 2024

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.

@zapek
Copy link

zapek commented Sep 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants