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
DevMojo add only properties from the quarkus namespace #28000
Conversation
@radcortez could you clarify the issue a bit more? I suppose if I pass |
When we run in Dev mode, all properties from the Maven model end up in the Build System Config Source. Properties are collected here:
And then end up here: quarkus/core/deployment/src/main/java/io/quarkus/deployment/ExtensionLoader.java Line 142 in efe6397
Because we don't recognize these properties, they end up being recorded in the Runtime Defaults source. This issue was always there, but it was only uncovered with the change we did in #26802. Before this PR, the Runtime Defaults source was ignored entirely in Dev Mode. In regular JVM mode and build, we never got this issue, because we filter the properties coming from the Maven model, to only have the quarkus namespace, here: The idea of this PR was also to add the filtering to Dev Mode, so it behave the same way as if we compiled and run. If you have any other ideas, I'm happy to change the approach :) |
Makes sense, thanks! |
This comment has been minimized.
This comment has been minimized.
I rebased it to get another CI run as we had quite a lot of failures. |
Thanks! |
There is a difference in the recorded properties between the build and dev mode. In dev mode, all properties were being recorded, which cause the issue described in #27884.