diff options
-rw-r--r-- | jdisc_core_test/integration_test/pom.xml | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/jdisc_core_test/integration_test/pom.xml b/jdisc_core_test/integration_test/pom.xml index d68d6e2966b..e31fa122232 100644 --- a/jdisc_core_test/integration_test/pom.xml +++ b/jdisc_core_test/integration_test/pom.xml @@ -230,14 +230,34 @@ <scope>test</scope> </dependency> </dependencies> + <profiles> + <profile> + <id>java9-surefire</id> + <activation> + <jdk>[9, )</jdk> + </activation> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <!-- Allow installing fragment bundles, see felix.framework:ExtensionManager.addExtensionBundle --> + <argLine> + --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED + </argLine> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> + </profiles> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> |