POM: Add --add-opens flag to Surefire and Failsafe executions.
Change-Id: I7e9f75693e79bf3ea8f756414e65815b5ab9dd6d
diff --git a/pom.xml b/pom.xml
index 1623195..7f8544f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -126,11 +126,21 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire-plugin.version}</version>
+ <configuration>
+ <argLine>
+ --add-opens eu.mulk.jgvariant.core/eu.mulk.jgvariant.core=ALL-UNNAMED
+ </argLine>
+ </configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${failsafe-plugin.version}</version>
+ <configuration>
+ <argLine>
+ --add-opens eu.mulk.jgvariant.core/eu.mulk.jgvariant.core=ALL-UNNAMED
+ </argLine>
+ </configuration>
</plugin>
<plugin>