Skip to content

Commit c63e59c

Browse files
committed
Changed the surefire fork model for Spark
1 parent eba3bad commit c63e59c

File tree

1 file changed

+14
-0
lines changed
  • aws-serverless-java-container-spark

1 file changed

+14
-0
lines changed

aws-serverless-java-container-spark/pom.xml

+14
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,18 @@
4141
</dependency>
4242
</dependencies>
4343

44+
<build>
45+
<plugins>
46+
<!-- fork JVM before each spring test to make sure we have a clean context -->
47+
<plugin>
48+
<groupId>org.apache.maven.plugins</groupId>
49+
<artifactId>maven-surefire-plugin</artifactId>
50+
<version>2.9</version>
51+
<configuration>
52+
<forkMode>always</forkMode>
53+
</configuration>
54+
</plugin>
55+
</plugins>
56+
</build>
57+
4458
</project>

0 commit comments

Comments
 (0)