Created
December 30, 2014 22:24
-
-
Save robshep/8b41f8dec3206872c96c to your computer and use it in GitHub Desktop.
Force sping profile "test" during maven testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<configuration> | |
<systemPropertyVariables> | |
<spring.profiles.active>test</spring.profiles.active> | |
</systemPropertyVariables> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment