-
Notifications
You must be signed in to change notification settings - Fork 22
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
Revisit classifierWithLikes #4
Comments
@zhangkun83 part of the error information:
Related links |
how to do? could you give more details for setting multiple classifiers in a JVM or removing the classifierWithLikes feature |
The readme says since 9 years that this will be changed or removed "in the next version". |
FWIW, I try to pick up this plugin and this crate according this background - trustin/os-maven-plugin#70 (comment) And now I create tisonkun/os-detector#7 and tisonkun/os-detector#6 to move the os detector lib forward, esp. the FFM JEP is ready to release and I can see a future that we need to handle different platform switchers in the Java code and build logic. |
Setting
classifierWithLikes
changes the content of the classifier. Because there is only one classifier instance in on JVM, if different components want differentclassifierWithLikes
settings, they will run into each other. A real world example is in gRPC Java build, both tcnative artifact and protobuf-gradle-plugin are using classifier, while tcnative setsclassifierWithLikes
and protobuf-gradle-plugin doesn't.We should either allow multiple classifiers in a JVM (by making it non-static), or remove the
classifierWithLikes
feature.@ejona86
The text was updated successfully, but these errors were encountered: