This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new ff942fa2ac5 CAMEL-20007: Disable camel-ignite tests on java 21 as its not compatible yet ff942fa2ac5 is described below commit ff942fa2ac5a600a6ac1829a47cb8f8df4451ff6 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Oct 25 14:34:35 2023 +0200 CAMEL-20007: Disable camel-ignite tests on java 21 as its not compatible yet --- components/camel-ignite/pom.xml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/components/camel-ignite/pom.xml b/components/camel-ignite/pom.xml index 2a2d0327b72..bb476977cbc 100644 --- a/components/camel-ignite/pom.xml +++ b/components/camel-ignite/pom.xml @@ -17,7 +17,8 @@ limitations under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> @@ -32,7 +33,14 @@ <description>Camel Ignite component</description> <properties> - <camel.surefire.fork.vmargs>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED --add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED --add-opens jdk. [...] + <camel.surefire.fork.vmargs>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens + java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED + --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAMED + --add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED + --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED + --add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED --add-opens + jdk.management/com.sun.management.internal=ALL-UNNAMED + </camel.surefire.fork.vmargs> </properties> <dependencies> @@ -91,4 +99,18 @@ </dependency> </dependencies> + + <!-- Apache Ignite does not work with Java 21 yet --> + <profiles> + <profile> + <id>skip-test-java-21</id> + <activation> + <jdk>21</jdk> + </activation> + <properties> + <skipTests>true</skipTests> + </properties> + </profile> + </profiles> + </project>