This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new f44b6620a0 Add opt-in capability to skip cxf-soap-grouped AWT tests on
macOS
f44b6620a0 is described below
commit f44b6620a0b60cb5717d6ae1c64703a224b31e24
Author: James Netherton <[email protected]>
AuthorDate: Wed Jun 17 13:43:14 2026 +0100
Add opt-in capability to skip cxf-soap-grouped AWT tests on macOS
---
integration-tests/cxf-soap-grouped/pom.xml | 33 ++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/integration-tests/cxf-soap-grouped/pom.xml
b/integration-tests/cxf-soap-grouped/pom.xml
index be147fa7db..7b5417a281 100644
--- a/integration-tests/cxf-soap-grouped/pom.xml
+++ b/integration-tests/cxf-soap-grouped/pom.xml
@@ -30,6 +30,12 @@
<name>Camel Quarkus :: Integration Tests :: Cxf Soap Grouped</name>
<description>Cxf Soap tests from ../integration-test-groups/cxf-soap
merged together</description>
+ <properties>
+ <!-- Placeholder properties used and overriden by the native &
disable-awt-tests profiles -->
+ <cxf-soap-grouped.files.excludes />
+ <cxf-soap-grouped.files.excludes.if-native />
+ </properties>
+
<!-- Regenerate the dependencies via `mvn process-resources -Pformat -N`
from the source tree root directory -->
<dependencies>
<dependency>
@@ -151,6 +157,7 @@
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/cxf-soap</group-tests.source.dir>
<group-tests.dest.module.dir>${project.basedir}</group-tests.dest.module.dir>
<group-tests.concat.rel.paths>src/main/resources/application.properties</group-tests.concat.rel.paths>
+
<group-tests.files.excludes>${cxf-soap-grouped.files.excludes}</group-tests.files.excludes>
</properties>
</configuration>
</execution>
@@ -184,6 +191,7 @@
</activation>
<properties>
<quarkus.native.enabled>true</quarkus.native.enabled>
+
<cxf-soap-grouped.files.excludes>${cxf-soap-grouped.files.excludes.if-native}</cxf-soap-grouped.files.excludes>
</properties>
<build>
<plugins>
@@ -617,6 +625,31 @@
<skipTests>true</skipTests>
</properties>
</profile>
+ <!-- Opt-in profile to disable CXF AWT testing. Primarilly for macOS
where AWT is not available in GraalVM -->
+ <profile>
+ <id>disable-awt-tests</id>
+ <activation>
+ <property>
+ <name>disable-awt-tests</name>
+ </property>
+ <os>
+ <family>mac</family>
+ </os>
+ </activation>
+ <properties>
+
<cxf-soap-grouped.files.excludes.if-native>cxf-soap-mtom-awt</cxf-soap-grouped.files.excludes.if-native>
+ </properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-awt</artifactId>
+ <version>${quarkus.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ </profile>
</profiles>
</project>