Fail or warn on build when application.properties
/application.yaml
is missing but application-<profile>.properties
/application-<profile>.yaml
is present
#44871
Labels
Description
When using profile aware files, we require the main file also to be present: https://quarkus.io/guides/config-reference#profile-aware-files
There's an actual reason for that, see here for an explanation: #37574 (comment)
However:
We should probably add a build-time check (at least) that detects profile-aware files, and fails the build (or warns... but I'd personally prefer a failure) if the corresponding
application.properties
/application.yaml
file is missing, causing the profile-aware file to be ignored.See #44807.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: