It's currently possible for a property file to indirectly import another profile specific file. For example, given the following:
application.properties
spring.profiles.active=p1,p2
spring.config.import=other.properties
We would import other.properties
, but also attempt to import other-p1.properties
and other-p2.properties
.
This is quite confusing and I think we should not support it.