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

Support wildcards in quarkus.package.user-configured-ignored-entries #10441

Open
gastaldi opened this issue Jul 2, 2020 · 2 comments
Open

Support wildcards in quarkus.package.user-configured-ignored-entries #10441

gastaldi opened this issue Jul 2, 2020 · 2 comments
Labels
kind/enhancement New feature or request

Comments

@gastaldi
Copy link
Contributor

gastaldi commented Jul 2, 2020

@gastaldi I just tried it. It seems to work now. Thanks for the quick fix! Unfortunately it does not work with wildcards, e.g. META-INF/swagger-ui-files/*.js.map or even better META-INF/**/*.js.map, but I guess that is a different story.

Originally posted by @sebthom in #10406 (comment)

@Paul-IBM
Copy link

Paul-IBM commented Nov 8, 2023

Me too on supporting wildcards for quarkus.package.user-configured-ignored-entries. I am using uber-jar packaging type and need to exclude a complete jar file.

@marcelstoer
Copy link
Contributor

marcelstoer commented Jan 17, 2024

It never occurred to me that wildcards might not work. I can't even seem to rely on the Unix mantra that "everything is a file" to exclude entire directories.

Example:

<configuration>
    <ignoredEntries>
        <ignoredEntry>META-INF/native-image</ignoredEntry>
    </ignoredEntries>
</configuration>

This to me means: ignore the META-INF/native-image "file" (a directory). The ignoredEntries documentation doesn't discourage me from expecting to be able to ignore directories:

...this array specifies entries that should be excluded from the final jar. The entries are relative to the root of the file.

Without wildcard- and folder support this to me is only a mildly useful feature. We use it to get rid off the "[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected." build warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants