Currently, I'm setting additional spring boot properties file using spring.config.additional-location
:
mvn -DskipTests spring-boot:run -Dspring-boot.run.arguments=--spring.config.additional-location=api-props.properties
I'd like to know how to set this additional properties file when I test it. Up to now, I've tested to put this parameter on test
.
mvn test -Dspring-boot.run.arguments=--spring.config.additional-location=api-props.properties
Any ideas?