quarkus-maven-plugin - how to ignore resource files being copied to the fast jar #26000
Unanswered
jaiprasad266
asked this question in
Q&A
Replies: 2 comments
-
/cc @quarkusio/devtools |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello after 3 years, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ,
As per the documentation fast-jar is the default quarkus package type.
Now I want to exclude certain resource files and classes from the jar.
This is the property used.
quarkus.package.type=jar
quarkus.package.user-configured-ignored-entries=src/main/resources/sql.json
However the sql.json is present in the jar.
Tried building the uber jar and excluding files and it works , by using below property.
quarkus.package.type=uber-jar
quarkus.package.ignored-entries=src/main/resources/sql.json
But how to the same with the fast-jar ?
Reference Links
https://quarkus.io/guides/maven-tooling#fast-jar
https://quarkus.io/guides/maven-tooling#uber-jar-maven
Beta Was this translation helpful? Give feedback.
All reactions