This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit ddcc8c1c836c75976ae609b74e5fe8ea514cef6a Author: Pasquale Congiusti <[email protected]> AuthorDate: Thu Oct 23 10:22:34 2025 +0200 chore(ci): identify modules requiring enable-native-access Closes CAMEL-22584 --- components/camel-ai/camel-djl/pom.xml | 2 ++ components/camel-ai/camel-kserve/pom.xml | 2 ++ components/camel-ai/camel-langchain4j-embeddings/pom.xml | 2 ++ components/camel-ai/camel-milvus/pom.xml | 2 ++ components/camel-ai/camel-qdrant/pom.xml | 2 ++ components/camel-ai/camel-tensorflow-serving/pom.xml | 2 ++ components/camel-azure/camel-azure-storage-queue/pom.xml | 2 ++ components/camel-cassandraql/pom.xml | 2 ++ components/camel-dapr/pom.xml | 4 +++- components/camel-google/camel-google-pubsub/pom.xml | 2 ++ components/camel-infinispan/camel-infinispan/pom.xml | 2 ++ components/camel-javascript/pom.xml | 2 ++ components/camel-leveldb/pom.xml | 2 ++ components/camel-parquet-avro/pom.xml | 2 ++ components/camel-pgevent/pom.xml | 2 ++ components/camel-pulsar/pom.xml | 3 ++- components/camel-python/pom.xml | 2 ++ components/camel-robotframework/pom.xml | 3 ++- tests/camel-itest/pom.xml | 2 ++ 19 files changed, 39 insertions(+), 3 deletions(-) diff --git a/components/camel-ai/camel-djl/pom.xml b/components/camel-ai/camel-djl/pom.xml index a28689c021b6..4d2a409d3364 100644 --- a/components/camel-ai/camel-djl/pom.xml +++ b/components/camel-ai/camel-djl/pom.xml @@ -39,6 +39,8 @@ <skipITs.s390x>true</skipITs.s390x> <skipTests.aarch64>true</skipTests.aarch64> <skipITs.aarch64>true</skipITs.aarch64> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-ai/camel-kserve/pom.xml b/components/camel-ai/camel-kserve/pom.xml index 48f043e15044..6d780257f863 100644 --- a/components/camel-ai/camel-kserve/pom.xml +++ b/components/camel-ai/camel-kserve/pom.xml @@ -36,6 +36,8 @@ <!-- Triton Inference Server container is not available on these platforms --> <skipITs.ppc64le>true</skipITs.ppc64le> <skipITs.s390x>true</skipITs.s390x> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-ai/camel-langchain4j-embeddings/pom.xml b/components/camel-ai/camel-langchain4j-embeddings/pom.xml index 71c124544027..d2294e61a923 100644 --- a/components/camel-ai/camel-langchain4j-embeddings/pom.xml +++ b/components/camel-ai/camel-langchain4j-embeddings/pom.xml @@ -39,6 +39,8 @@ <skipITs.s390x>true</skipITs.s390x> <skipTests.ppc64le>true</skipTests.ppc64le> <skipTests.s390x>true</skipTests.s390x> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-ai/camel-milvus/pom.xml b/components/camel-ai/camel-milvus/pom.xml index 1a853d1eaffd..91d95caa5fdf 100644 --- a/components/camel-ai/camel-milvus/pom.xml +++ b/components/camel-ai/camel-milvus/pom.xml @@ -39,6 +39,8 @@ <!-- Milvus is not available on these platforms --> <skipITs.s390x>true</skipITs.s390x> <skipTests.s390x>true</skipTests.s390x> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-ai/camel-qdrant/pom.xml b/components/camel-ai/camel-qdrant/pom.xml index cb762f9c3ae1..f4a5a1bd11f1 100644 --- a/components/camel-ai/camel-qdrant/pom.xml +++ b/components/camel-ai/camel-qdrant/pom.xml @@ -38,6 +38,8 @@ <!-- Qdrant is not available on these platforms --> <skipITs.s390x>true</skipITs.s390x> <skipTests.s390x>true</skipTests.s390x> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-ai/camel-tensorflow-serving/pom.xml b/components/camel-ai/camel-tensorflow-serving/pom.xml index 3bd2b8c6200e..586b652952e3 100644 --- a/components/camel-ai/camel-tensorflow-serving/pom.xml +++ b/components/camel-ai/camel-tensorflow-serving/pom.xml @@ -36,6 +36,8 @@ <properties> <!-- TensorFlow Serving container is not available on these platforms --> <skipITs.s390x>true</skipITs.s390x> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-azure/camel-azure-storage-queue/pom.xml b/components/camel-azure/camel-azure-storage-queue/pom.xml index f7b6fb8c0455..a1e7812a4275 100644 --- a/components/camel-azure/camel-azure-storage-queue/pom.xml +++ b/components/camel-azure/camel-azure-storage-queue/pom.xml @@ -36,6 +36,8 @@ <!-- Azurite is not available on these platforms --> <skipITs.ppc64le>true</skipITs.ppc64le> <skipITs.s390x>true</skipITs.s390x> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-cassandraql/pom.xml b/components/camel-cassandraql/pom.xml index 4fe75fa051e5..a944e7228ebf 100644 --- a/components/camel-cassandraql/pom.xml +++ b/components/camel-cassandraql/pom.xml @@ -38,6 +38,8 @@ See https://issues.apache.org/jira/browse/INFRA-25195 --> <skipITs.ppc64le>true</skipITs.ppc64le> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-dapr/pom.xml b/components/camel-dapr/pom.xml index 4b7666c3d9e0..2964d7a35dd8 100644 --- a/components/camel-dapr/pom.xml +++ b/components/camel-dapr/pom.xml @@ -35,6 +35,8 @@ <properties> <firstVersion>4.12.0</firstVersion> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> @@ -51,7 +53,7 @@ <artifactId>dapr-sdk</artifactId> <version>${dapr-version}</version> </dependency> - + <!-- logging --> <dependency> <groupId>org.apache.logging.log4j</groupId> diff --git a/components/camel-google/camel-google-pubsub/pom.xml b/components/camel-google/camel-google-pubsub/pom.xml index 32a82e574f99..3e99b73d0be9 100644 --- a/components/camel-google/camel-google-pubsub/pom.xml +++ b/components/camel-google/camel-google-pubsub/pom.xml @@ -42,6 +42,8 @@ <skipTests.ppc64le>true</skipTests.ppc64le> <skipITs.s390x>true</skipITs.s390x> <skipTests.s390x>true</skipTests.s390x> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-infinispan/camel-infinispan/pom.xml b/components/camel-infinispan/camel-infinispan/pom.xml index ccc3ff3992d7..93d7cf181548 100644 --- a/components/camel-infinispan/camel-infinispan/pom.xml +++ b/components/camel-infinispan/camel-infinispan/pom.xml @@ -36,6 +36,8 @@ <!-- Infinispan container is not available on these platforms --> <skipITs.ppc64le>true</skipITs.ppc64le> <skipITs.s390x>true</skipITs.s390x> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-javascript/pom.xml b/components/camel-javascript/pom.xml index 0f3425ec8ac4..fbe6cb992f49 100644 --- a/components/camel-javascript/pom.xml +++ b/components/camel-javascript/pom.xml @@ -29,6 +29,8 @@ <properties> <skipITs.s390x>true</skipITs.s390x> <skipITs.ppc64le>true</skipITs.ppc64le> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <artifactId>camel-javascript</artifactId> diff --git a/components/camel-leveldb/pom.xml b/components/camel-leveldb/pom.xml index 6abc0cec925a..40e864619a89 100644 --- a/components/camel-leveldb/pom.xml +++ b/components/camel-leveldb/pom.xml @@ -36,6 +36,8 @@ <label>database</label> <title>LevelDB</title> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-parquet-avro/pom.xml b/components/camel-parquet-avro/pom.xml index 63f8e1abbb8b..a4c4613b26e2 100644 --- a/components/camel-parquet-avro/pom.xml +++ b/components/camel-parquet-avro/pom.xml @@ -33,6 +33,8 @@ <properties> <enforcer.phase>none</enforcer.phase><!-- hadoop-common seems to require com.sun.xml.bind:jaxb-impl via com.github.pjfanning:jersey-json --> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-pgevent/pom.xml b/components/camel-pgevent/pom.xml index d2456e8b5dc7..20e59f3ef505 100644 --- a/components/camel-pgevent/pom.xml +++ b/components/camel-pgevent/pom.xml @@ -33,6 +33,8 @@ <description>Component for sending/receiving notifications in PostgreSQL</description> <properties> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-pulsar/pom.xml b/components/camel-pulsar/pom.xml index 57a1623b0202..37a6ba3b754e 100644 --- a/components/camel-pulsar/pom.xml +++ b/components/camel-pulsar/pom.xml @@ -37,7 +37,8 @@ <skipITs.ppc64le>true</skipITs.ppc64le> <skipITs.s390x>true</skipITs.s390x> <skipITs.aarch64>true</skipITs.aarch64> - <camel.surefire.fork.additional-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/sun.net=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED --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/sun.net=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-python/pom.xml b/components/camel-python/pom.xml index 4251e9da9b1f..cd1c87209166 100644 --- a/components/camel-python/pom.xml +++ b/components/camel-python/pom.xml @@ -33,6 +33,8 @@ <properties> <supportLevel>Experimental</supportLevel> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> diff --git a/components/camel-robotframework/pom.xml b/components/camel-robotframework/pom.xml index f370c8fd3a35..f4dd30df49fd 100644 --- a/components/camel-robotframework/pom.xml +++ b/components/camel-robotframework/pom.xml @@ -33,7 +33,8 @@ <description>Camel RobotFramework Support</description> <properties> - <camel.surefire.fork.additional-vmargs>--add-opens java.base/java.io=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies> <dependency> diff --git a/tests/camel-itest/pom.xml b/tests/camel-itest/pom.xml index 3fa30fa4e0ed..660205975288 100644 --- a/tests/camel-itest/pom.xml +++ b/tests/camel-itest/pom.xml @@ -35,6 +35,8 @@ <camel.surefire.forkCount>1</camel.surefire.forkCount> <camel.surefire.reuseForks>true</camel.surefire.reuseForks> <camel.surefire.forkTimeout>3000</camel.surefire.forkTimeout> + <!-- Make use of native access during test execution only --> + <camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED</camel.surefire.fork.additional-vmargs> </properties> <dependencies>
