After updating to spring boot version 2.2.0.RELEASE, some properties passed along with mvn spring-boot:run doesn't work.
For example, with a project using spring boot starter 2.2.0.RELEASE:
mvn -Dspring.profiles.active=cloud spring-boot:run
The profile reported in the console is still default:
No active profile set, falling back to default profiles: default
But when run with previous version of spring boot maven plugin
mvn -Dspring.profiles.active=cloud \
org.springframework.boot:spring-boot-maven-plugin:2.1.9.RELEASE:run
The active profile is then reported correctly:
The following profiles are active: cloud