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/07/01 05:45:18 UTC

[camel] branch main updated: Provided zookeeper image support on ppc64le

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


The following commit(s) were added to refs/heads/main by this push:
     new 0cd363d184f Provided zookeeper image support on ppc64le
0cd363d184f is described below

commit 0cd363d184fbf143f0173e726d695cf6a29f3d63
Author: Balavva <Ba...@ibm.com>
AuthorDate: Fri Jun 30 16:29:56 2023 +0530

    Provided zookeeper image support on ppc64le
---
 components/camel-zookeeper-master/pom.xml | 26 ++++++++++++++++++++++++--
 components/camel-zookeeper/pom.xml        | 27 +++++++++++++++++++++++++--
 2 files changed, 49 insertions(+), 4 deletions(-)

diff --git a/components/camel-zookeeper-master/pom.xml b/components/camel-zookeeper-master/pom.xml
index 2911b621414..6b5071fbe52 100644
--- a/components/camel-zookeeper-master/pom.xml
+++ b/components/camel-zookeeper-master/pom.xml
@@ -33,8 +33,7 @@
     <description>Camel Zookeeper Master Support</description>
 
     <properties>
-        <!-- Zookeeper container is not available on these platforms -->
-        <skipITs.ppc64le>true</skipITs.ppc64le>
+        <!-- Zookeeper container is not available on this platform -->
         <skipITs.s390x>true</skipITs.s390x>
     </properties>
 
@@ -147,5 +146,28 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>ppc64le</id>
+            <activation>
+                <os>
+                    <arch>ppc64le</arch>
+                </os>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-failsafe-plugin</artifactId>
+                        <configuration>
+                            <skipITs>${skipTests}</skipITs>
+                            <reuseForks>true</reuseForks>
+                            <systemPropertyVariables>
+                                 <zookeeper.container>icr.io/ppc64le-oss/zookeeper-ppc64le:3.5.10</zookeeper.container>
+                           </systemPropertyVariables>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>
diff --git a/components/camel-zookeeper/pom.xml b/components/camel-zookeeper/pom.xml
index 6718f80efa9..9be80117897 100644
--- a/components/camel-zookeeper/pom.xml
+++ b/components/camel-zookeeper/pom.xml
@@ -33,8 +33,7 @@
     <description>Camel Zookeeper Support</description>
 
     <properties>
-        <!-- Zookeeper container is not available on these platforms -->
-        <skipITs.ppc64le>true</skipITs.ppc64le>
+        <!-- Zookeeper container is not available on this platform -->
         <skipITs.s390x>true</skipITs.s390x>
     </properties>
 
@@ -209,6 +208,30 @@
                     </plugin>
                 </plugins>
             </build>
+        </profile> 
+        <profile>
+            <id>ppc64le</id>
+            <activation>
+                <os>
+                    <arch>ppc64le</arch>
+                </os>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-failsafe-plugin</artifactId>
+                        <configuration>
+                            <skipITs>${skipTests}</skipITs>
+                            <reuseForks>true</reuseForks>
+                            <systemPropertyVariables>
+                                 <zookeeper.container>icr.io/ppc64le-oss/zookeeper-ppc64le:3.5.10</zookeeper.container>
+                           </systemPropertyVariables>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
         </profile>
+
     </profiles>
 </project>