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
The following commit(s) were added to refs/heads/main by this push:
new 9f6e8faf4932 fix(ci): add a variable to control unsupported modules
9f6e8faf4932 is described below
commit 9f6e8faf49329c55c93070a16c127471cc40144b
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Wed Jan 21 10:26:26 2026 +0100
fix(ci): add a variable to control unsupported modules
Closes CAMEL-22869
---
Jenkinsfile | 3 ++-
components/camel-ai/pom.xml | 21 ++++++++++++++++++++-
components/pom.xml | 4 ++--
3 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 1f735db94b1f..655aaaf5ceac 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,8 +21,9 @@ def MAVEN_TEST_PARAMS_UBUNTU = env.MAVEN_TEST_PARAMS ?:
"-Dci.env.name=apache.or
Below parameters are required for camel/core/camel-core module's test cases to
pass on ppc64 and s390x
- xpathExprGrpLimit: limits the number of groups an Xpath expression can
contain
- xpathExprOpLimit: limits the number of operators an Xpath expression can
contain
+- unsupported-arch: won't build modules which are not supported in the given
architecture
*/
-def MAVEN_TEST_PARAMS_ALT_ARCHS = "-Djdk.xml.xpathExprGrpLimit=100
-Djdk.xml.xpathExprOpLimit=2000"
+def MAVEN_TEST_PARAMS_ALT_ARCHS = "-Djdk.xml.xpathExprGrpLimit=100
-Djdk.xml.xpathExprOpLimit=2000 -Dunsupported-arch"
pipeline {
diff --git a/components/camel-ai/pom.xml b/components/camel-ai/pom.xml
index 24a4e1f3f7a2..28f4217354f3 100644
--- a/components/camel-ai/pom.xml
+++ b/components/camel-ai/pom.xml
@@ -35,7 +35,8 @@
<modules>
<module>camel-chatscript</module>
- <module>camel-chroma</module>
+ <!-- This is only supported in certain architectures (see profiles) -->
+ <!-- module>camel-chroma</module -->
<module>camel-djl</module>
<module>camel-docling</module>
<module>camel-kserve</module>
@@ -59,4 +60,22 @@
<module>camel-weaviate</module>
</modules>
+ <profiles>
+ <!--
+ IMPORTANT: this is used to detect unsupported modules which cannot be
compiled for certain architectures.
+ It can be eventually extended to include more modules which suffer the
same kind of problem.
+ -->
+ <profile>
+ <id>unsupported-arch</id>
+ <activation>
+ <property>
+ <name>!unsupported-arch</name>
+ </property>
+ </activation>
+ <modules>
+ <module>camel-chroma</module>
+ </modules>
+ </profile>
+ </profiles>
+
</project>
diff --git a/components/pom.xml b/components/pom.xml
index 9e119ab45325..31cfeee7ad22 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -114,8 +114,8 @@
<module>camel-crypto</module>
<module>camel-crypto-pgp</module>
<module>camel-csimple-joor</module>
- <module>camel-csv</module>
- <module>camel-cyberark-vault</module>
+ <module>camel-csv</module>
+ <module>camel-cyberark-vault</module>
<module>camel-dapr</module>
<module>camel-datasonnet</module>
<module>camel-debug</module>