disabled Foreign module tests on JDK18+

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
Ludovic Orban 2022-10-10 15:52:41 +02:00
parent 5733ffc8c7
commit 1c242a6849
1 changed files with 23 additions and 0 deletions

View File

@ -70,4 +70,27 @@
</dependency>
</dependencies>
<profiles>
<profile>
<!--
This module can be built with JDK 17+ but can only be tested on JDK 17 as the Foreign module
changed both its API (18) and its name (19), so tests are disabled on JDKs over 17.
Eventually, new Foreign modules for JDKs 18 and 19 should be added.
-->
<id>jdk18+</id>
<activation>
<jdk>[18,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>