Skip to content

Commit

Permalink
fix [JDK17]kudu:integration test failed in native mode #3340
Browse files Browse the repository at this point in the history
  • Loading branch information
ffang authored and ppalaga committed Dec 7, 2021
1 parent 5793c90 commit 3c9fc9c
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions integration-tests/kudu/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
<name>Camel Quarkus :: Integration Tests :: Kudu</name>
<description>Integration tests for Camel Quarkus Kudu extension</description>

<properties>
<!-- This is to allow the "deep reflection" we do in KuduInfrastructureTestHelper -->
<argLine>--add-opens java.base/java.net=ALL-UNNAMED</argLine>
</properties>

<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down Expand Up @@ -98,24 +103,6 @@
</plugins>
</build>
</profile>
<!-- Required by KuduInfrastructureTestHelper.overrideTabletServerHostnameResolution -->
<profile>
<id>jdk16-workarounds</id>
<activation>
<jdk>[16,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-opens java.base/java.net=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>virtualDependencies</id>
<activation>
Expand Down

0 comments on commit 3c9fc9c

Please sign in to comment.