I have created 2 files under src/main/resources:
- application.properties
- application-local.properties
The first one has properties that take values from env variables, while the latter has fixed values.
According to specific here, I've launched spring boot in such way:
mvn spring-boot:run -Dspring.profiles.active=local
However no effects are produced and application-local.properties seems to be ignored.
Any hints?