You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/05/18 06:39:48 UTC
[camel] 03/03: (chores) camel-saleforce: skip building salesforce-component on s390x because this component is not buildable on the platform
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 98eda927f8bc0bd2424b7e495cce66bfb7924459
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu May 18 08:34:18 2023 +0200
(chores) camel-saleforce: skip building salesforce-component on s390x because this component is not buildable on the platform
---
components/camel-salesforce/pom.xml | 36 ++++++++++++++++++++++++++++++------
1 file changed, 30 insertions(+), 6 deletions(-)
diff --git a/components/camel-salesforce/pom.xml b/components/camel-salesforce/pom.xml
index 26a60ac67ef..961f8aaaa45 100644
--- a/components/camel-salesforce/pom.xml
+++ b/components/camel-salesforce/pom.xml
@@ -32,12 +32,6 @@
<name>Camel :: Salesforce :: Parent</name>
<description>Camel Salesforce parent</description>
- <modules>
- <module>camel-salesforce-component</module>
- <module>camel-salesforce-codegen</module>
- <module>camel-salesforce-maven-plugin</module>
- </modules>
-
<properties>
<salesforce.component.root>${project.basedir}</salesforce.component.root>
@@ -50,4 +44,34 @@
</sourcecheckExcludesComma>
</properties>
+ <profiles>
+ <profile>
+ <!-- Salesforce requires protobuf generator which is not available for s390x -->
+ <id>NotS390x</id>
+ <activation>
+ <os>
+ <arch>!s390x</arch>
+ </os>
+ </activation>
+ <modules>
+ <module>camel-salesforce-component</module>
+ <module>camel-salesforce-codegen</module>
+ <module>camel-salesforce-maven-plugin</module>
+ </modules>
+ </profile>
+ <profile>
+ <!-- Salesforce requires protobuf generator which is not available for s390x -->
+ <id>s390x</id>
+ <activation>
+ <os>
+ <arch>s390x</arch>
+ </os>
+ </activation>
+ <modules>
+ <module>camel-salesforce-codegen</module>
+ <module>camel-salesforce-maven-plugin</module>
+ </modules>
+ </profile>
+ </profiles>
+
</project>