I am new to DXA, I am currently working on DXA Java web application - built on Spring 4.x & DXA 2.0 library.
We are trying to configure profile specific properties files, so that we can configure & load properties specific to environment - Profile-specific Properties
DXA Java Spring profiles document talks about enabling profiles but doesn't talk about loading profile specific property files. I also checked InitializationUtils.loadDxaProperties to check if I can find some hint to know how to define profile specific properties, not much of help. what we are looking for is the way to load only properties specific to the environment through property files based on profile - DEV or TEST or PROD.
I even tried dxa.modules.*.properties approach, taking this approach will override properties, not load profile specific properties.