Skip to content

Commit c81aba2

Browse files
authored
Merge pull request #14 from GGoetzelmann/fix-testing-maven
Add spring config location to maven tests
2 parents 72ed316 + 4ebb9c0 commit c81aba2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,13 @@
257257
<version>1.3.2</version>
258258
</dependency>
259259
</dependencies>
260+
<configuration>
261+
<!-- env variables can only be set with forkCount > 0-->
262+
<forkCount>1</forkCount>
263+
<environmentVariables>
264+
<SPRING_CONFIG_LOCATION>optional:classpath:/test-config/</SPRING_CONFIG_LOCATION>
265+
</environmentVariables>
266+
</configuration>
260267
</plugin>
261268
<plugin>
262269
<groupId>org.codehaus.mojo</groupId>

0 commit comments

Comments
 (0)