You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use a dedicated Spring profile for running the tests that generate documentation and it proved to be unsuccessful, no matter what I tried.
Applying
@ActiveProfiles("docs")
causes Spring to select the docs profile The following profiles are active: docs
but the configuration applied is the one in application.yml not the one in application-docs.yml.
Adding
I end up with the same result. I have placed application-docs.yml in both main and test source sets, just to be sure, and the settings inside are still not being picked up.
Any ideas on how to override the default settings in application.yml with custom settings specific to documentation generation?
The text was updated successfully, but these errors were encountered:
I'm trying to use a dedicated Spring profile for running the tests that generate documentation and it proved to be unsuccessful, no matter what I tried.
Applying
causes Spring to select the
docs
profileThe following profiles are active: docs
but the configuration applied is the one in
application.yml
not the one inapplication-docs.yml
.Adding
I end up with the same result. I have placed
application-docs.yml
in bothmain
andtest
source sets, just to be sure, and the settings inside are still not being picked up.Any ideas on how to override the default settings in
application.yml
with custom settings specific to documentation generation?The text was updated successfully, but these errors were encountered: