Describe the bug
Config quarkus.application.name not accessible in application.properties
Expected behavior
${quarkus.application.name} should be interpolated.
Actual behavior
java.util.NoSuchElementException: Property quarkus.application.name not found
To Reproduce
Steps to reproduce the behavior:
`# Configuration file
camel.context.name = ${quarkus.application.name}
`
./gradlew quarkusDev
Configuration
# Configuration file
camel.context.name = ${quarkus.application.name}
Environment (please complete the following information):
uname -a or ver: 19.4.0 Darwin Kernel Version 19.4.0java -version: openjdk version "11.0.6" 2020-01-14 LTSmvnw --version or gradlew --version): Gradle 6.3This only affects tests (a known limitation), dev-mode and the jar work properly.
I propose that you do the following in order to make the property available in tests:
%test.camel.context.name=test-value
You could also set the value manually to what the artifactId of the project is (this is what Quarkus defaults to).
Not, exactly dev mode not work
./gradlew quarkusDev
It is stated in reproduction flow.
I can provide simple test project.
Then that is new. Yes please create a sample project and attach it to the issue.
cc @aloubyansky who has done a lot of Gradle work lately
Sample project. Generated from Starter, removed irrelevant REST resource and added Camel route.
Thanks a lot for the reproducer. Bad news, looks like with master it's getting even worse
````
Task :quarkusBuild FAILED
FAILURE: Build failed with an exception.
quarkusDevandquarkusBuild` fail in the same way though.This is an example of a major issue in our gradle app model resolver. This wouldn't happen in an equivalent Maven project. Although, I think it's a good opportunity to review both and come up with a single principle to version alignment.
The issue is the deployment dependencies aren't properly aligned.
Oh, once the version alignment is properly done, I'm seeing the original issue about the property not being found.