Springboot and maven: how to launch unit tests automatically with two profiles
问题 This question is the continuation of question "SpringBoot: how to run tests twice, with two different config files". I use to compile my project using mvn clean install . Doing that, maven also launches my unit tests and I immediately knows whether my development is correct. I am actually working on a module that embeds a JMS connection. my module supports two JMS buses: EMS and AMQ. The bus to be used is specified in the configuration of my module As a consequence, I need to create two