The active profiles to use for a particular application can be specified using the profiles argument. The following configuration enables the foo and bar profiles:


The profiles to enable can be specified on the command line as well, make sure to separate them with a comma, that is:

mvn spring-boot:run,bar