I have a quarkus maven project which has properties in src/main/application.properties. This project also has a local dependency that also contains src/main/application.properties since there are tests in the dependency that rely on it (setting them in src/test/application.properties does not work). Example folder structure:
dependencysrc/main/application.properties(contains some settings for integration tests in this dependency)
quarkus-projectsrc/main/application.properties(contains different settings for its own project)
When i build an uber-jar for the quarkus-project it successfully creates one, however it contains the application.properties file of the dependency instead of its own.
Uber-jar contents generated for quarkus-project:
- ...
application.properties(<- file fromdependency, rather than fromquarkus-project)- ...
Why is that? Why does it use the application.properties of a dependency rather than its own when building the specific project? Is there a way to specify a priority or such?