I created a quickstart app.
at the root of the project I added a config/application.properties file with content:
In the code, I have:
@ConfigProperty(name = "foo")
log.info("foo=" + foo);
I build the runner: mvn clean install
if I run the runner, it prints the value as expected
then I remove the config/application.properties
and if I run the runner again, it still displays the value, which is not expected
this means that properties available in config/application.properties are picked up during the build and used as build time properties.
is that intended? or is it added by accident?
I guess I did not expect that behavior, because to me nothing other than src/main/resources should be included in the runtime.