Skip to content

Commit ad17574

Browse files
committed
Added dependency to run surefire with Junit5
1 parent 9957e5c commit ad17574

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,17 @@
7979
</annotationProcessorPaths>
8080
</configuration>
8181
</plugin>
82+
<!--2.22.0 is required for Junit 5 tests-->
83+
<plugin>
84+
<groupId>org.apache.maven.plugins</groupId>
85+
<artifactId>maven-surefire-plugin</artifactId>
86+
<version>2.22.0</version>
87+
<configuration>
88+
<argLine>
89+
--illegal-access=permit
90+
</argLine>
91+
</configuration>
92+
</plugin>
8293
</plugins>
8394
</build>
8495
</project>

0 commit comments

Comments
 (0)