disabled Foreign module tests on JDK18+
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
parent
5733ffc8c7
commit
1c242a6849
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue