This is an automated email from the ASF dual-hosted git repository.
davsclaus 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 edf892351473 CAMEL-24633: Upgrade to maven-surefire-plugin 3.6.1
(#29236)
edf892351473 is described below
commit edf89235147359f6638a703a5eca2bfba5f2fbe8
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Dec 3 22:11:25 2026 +0100
CAMEL-24633: Upgrade to maven-surefire-plugin 3.6.1 (#29236)
Upgrades maven-surefire-plugin and maven-failsafe-plugin from 3.5.6 to
3.6.1.
- Exclude junit 4.7 from hapi-fhir-structures-dstu2.1 in camel-fhir
(via org.hl7.fhir.dstu2016may and org.ogce:xpp3): Surefire 3.6 refuses
JUnit 4.11 or
older, and the path reached camel-endpointdsl through camel-allcomponents.
- Default skipITs to skipTests in the root pom: since Surefire 3.6
(SUREFIRE-823) -DskipTests no longer skips the Failsafe ITs, which
components/pom.xml binds in the full profile for every component.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
components/camel-fhir/camel-fhir-component/pom.xml | 7 +++++++
pom.xml | 5 ++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/components/camel-fhir/camel-fhir-component/pom.xml
b/components/camel-fhir/camel-fhir-component/pom.xml
index 26520a11315d..dae463f810c8 100644
--- a/components/camel-fhir/camel-fhir-component/pom.xml
+++ b/components/camel-fhir/camel-fhir-component/pom.xml
@@ -161,6 +161,13 @@
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-dstu2.1</artifactId>
<version>${hapi-fhir-version}</version>
+ <exclusions>
+ <!-- org.ogce:xpp3 pulls in junit 4.7, which Surefire 3.6
refuses -->
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
diff --git a/pom.xml b/pom.xml
index 3176bcbb1eb1..1c74957a5998 100644
--- a/pom.xml
+++ b/pom.xml
@@ -139,12 +139,15 @@
<maven-javadoc-plugin-version>3.12.0</maven-javadoc-plugin-version>
<maven-release-plugin-version>3.3.1</maven-release-plugin-version>
<maven-remote-resources-plugin-version>3.3.0</maven-remote-resources-plugin-version>
- <maven-surefire-plugin-version>3.5.6</maven-surefire-plugin-version>
+ <maven-surefire-plugin-version>3.6.1</maven-surefire-plugin-version>
<templating-maven-plugin-version>3.1.1</templating-maven-plugin-version>
<versions-maven-plugin-version>2.23.0</versions-maven-plugin-version>
<camel.javadoc.offline>false</camel.javadoc.offline>
<invoker.skip>${skipTests}</invoker.skip>
+ <!-- Since Surefire 3.6 (SUREFIRE-823), -DskipTests no longer skips
the Failsafe ITs:
+ keep -DskipTests skipping both. -DskipITs still skips only the
ITs. -->
+ <skipITs>${skipTests}</skipITs>
<enforcer.phase>none</enforcer.phase><!-- We do not enforce with
-Dquickly, the property is overridden in the full profile -->