This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch camel-quarkus-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git

commit 5b40edecb198c077f862d4cad3e0b17f72229419
Author: James Netherton <[email protected]>
AuthorDate: Wed Mar 25 11:15:14 2026 +0000

    Avoid needlessly building native apps for saga sub-modules on CI builds
---
 saga/pom.xml                        | 28 ++++++++++++++++++++++++++++
 saga/saga-integration-tests/pom.xml | 25 +++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/saga/pom.xml b/saga/pom.xml
index 75d70b56..5163944c 100644
--- a/saga/pom.xml
+++ b/saga/pom.xml
@@ -277,6 +277,34 @@
     </build>
 
     <profiles>
+        <profile>
+            <id>ci</id>
+            <activation>
+                <property>
+                    <name>env.CI</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>${quarkus.platform.group-id}</groupId>
+                        <artifactId>quarkus-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>build</id>
+                                <configuration>
+                                    <skip>true</skip>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+            <properties>
+                <quarkus.native.enabled>false</quarkus.native.enabled>
+            </properties>
+        </profile>
+
         <profile>
             <id>native</id>
             <activation>
diff --git a/saga/saga-integration-tests/pom.xml 
b/saga/saga-integration-tests/pom.xml
index e74983de..9c39d1c1 100644
--- a/saga/saga-integration-tests/pom.xml
+++ b/saga/saga-integration-tests/pom.xml
@@ -105,6 +105,31 @@
     </build>
 
     <profiles>
+        <profile>
+            <id>ci</id>
+            <activation>
+                <property>
+                    <name>env.CI</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>${quarkus.platform.group-id}</groupId>
+                        <artifactId>quarkus-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>build</id>
+                                <configuration>
+                                    <skip>false</skip>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+
         <profile>
             <id>native</id>
             <activation>

Reply via email to