With IntelliJ, I can specify a Spring boot profile to run when starting a service
However, if I run mvn clean install
, then the tests are run with the default profile, which causes them to fail. How can I tell mvn to run the tests with a specific Spring Boot profile?