Skip to content

Commit 24591f5

Browse files
author
pduvvur
committed
Updated pom.xml to allow JMockit tests to run on JDK 9 or greater
1 parent ebde369 commit 24591f5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

payments-api/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,16 @@
141141
</execution>
142142
</executions>
143143
</plugin>
144+
<plugin>
145+
<groupId>org.apache.maven.plugins</groupId>
146+
<artifactId>maven-surefire-plugin</artifactId>
147+
<version>3.0.0-M3</version>
148+
<configuration>
149+
<argLine>
150+
-Djdk.attach.allowAttachSelf <!-- required to run test with jmockit on JDK 9 -->
151+
</argLine>
152+
</configuration>
153+
</plugin>
144154
</plugins>
145155
</build>
146156

0 commit comments

Comments
 (0)