-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
shade-like transformers for uberjar creation #5677
Comments
Same problem here. |
gastaldi
added a commit
to gastaldi/quarkus
that referenced
this issue
May 7, 2021
gastaldi
added a commit
to gastaldi/quarkus
that referenced
this issue
May 7, 2021
gastaldi
added a commit
to gastaldi/quarkus
that referenced
this issue
May 7, 2021
gastaldi
added a commit
to gastaldi/quarkus
that referenced
this issue
May 7, 2021
gastaldi
added a commit
to gastaldi/quarkus
that referenced
this issue
May 7, 2021
gastaldi
added a commit
to gastaldi/quarkus
that referenced
this issue
May 10, 2021
gastaldi
added a commit
to gastaldi/quarkus
that referenced
this issue
May 10, 2021
gastaldi
added a commit
to gastaldi/quarkus
that referenced
this issue
May 10, 2021
gastaldi
added a commit
to gastaldi/quarkus
that referenced
this issue
May 10, 2021
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
May 12, 2021
…ildItem Fixes quarkusio#5677 (cherry picked from commit b3d3788)
This was referenced Jun 25, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When creating an uberjar with Quarkus, there is no way to deal with duplicated resources in the dependencies. The first resource found will be used and any other subsequent resource will be omitted.
This is a typical problem when working with spring or many other frameworks that have duplicate entries under
/src/main/resources/META-INF
in the different .jar files that compose the framework.Implementation ideas
The idea would be to
a) Try to integrate with maven's shade plugin. This plugin already has a built-in mechanism to deal with duplicated resources.
b) If the integration with shade is not possible, it would be nice to at least support a similar mechanism to declare
transformers
for files in thequarkus-maven-plugin
.The text was updated successfully, but these errors were encountered: