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 8c890c87a6 Remove deprecated camel-quarkus-junit5
8c890c87a6 is described below
commit 8c890c87a669591c71d1c9c6a0916cff96d5cf30
Author: James Netherton <[email protected]>
AuthorDate: Mon Oct 12 07:32:17 2026 +0100
Remove deprecated camel-quarkus-junit5
---
.github/workflows/check-dependency-convergence.yml | 2 +-
docs/modules/ROOT/pages/migration-guide/4.0.0.adoc | 17 ++++++++++
integration-tests-jvm/junit-test-framework/pom.xml | 4 +--
poms/bom/pom.xml | 5 ---
poms/bom/src/main/generated/flattened-full-pom.xml | 5 ---
.../src/main/generated/flattened-reduced-pom.xml | 5 ---
.../generated/flattened-reduced-verbose-pom.xml | 5 ---
test-framework/junit5/pom.xml | 39 ----------------------
test-framework/pom.xml | 1 -
9 files changed, 19 insertions(+), 64 deletions(-)
diff --git a/.github/workflows/check-dependency-convergence.yml
b/.github/workflows/check-dependency-convergence.yml
index a316613ce8..54a8e8a31a 100644
--- a/.github/workflows/check-dependency-convergence.yml
+++ b/.github/workflows/check-dependency-convergence.yml
@@ -129,7 +129,7 @@ jobs:
"org.apache.mina:mina-core"
# Mismatch between camel-quarkus-jcr & camel-quarkus-tika
"org.apache.tika:tika-core"
- # Mismatch between camel-quarkus-flink, camel-quarkus-junit5 &
camel-quarkus-redis
+ # Mismatch between camel-quarkus-flink, camel-quarkus-junit &
camel-quarkus-redis
"org.objenesis:objenesis"
# Mismatch between camel-quarkus-rest-openapi-deployment &
camel-quarkus-smallrye-reactive-messaging-deployment
"org.commonmark:commonmark"
diff --git a/docs/modules/ROOT/pages/migration-guide/4.0.0.adoc
b/docs/modules/ROOT/pages/migration-guide/4.0.0.adoc
index 3852af69f9..a07e1988e7 100644
--- a/docs/modules/ROOT/pages/migration-guide/4.0.0.adoc
+++ b/docs/modules/ROOT/pages/migration-guide/4.0.0.adoc
@@ -45,3 +45,20 @@
factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_STYLESHEET, "");
----
Refer to the
xref:reference/extensions/xslt.adoc#extensions-xslt-configuration-external-access[XSLT
extension documentation] for details.
+
+== Deprecated `camel-quarkus-junit5` test framework artifact removed
+
+The deprecated `camel-quarkus-junit5` artifact, which was retained for
backwards compatibility after the test framework was renamed in Camel Quarkus
3.31.0, has been removed.
+
+Replace any dependency on `org.apache.camel.quarkus:camel-quarkus-junit5` with
`org.apache.camel.quarkus:camel-quarkus-junit`.
+
+[source,xml]
+----
+<dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-junit</artifactId>
+ <scope>test</scope>
+</dependency>
+----
+
+Any remaining imports of `org.apache.camel.test.junit5` in your tests must be
updated to `org.apache.camel.test.junit6`. Refer to the
xref:migration-guide/3.31.0.adoc[Camel Quarkus 3.31.0 migration guide] for
details.
diff --git a/integration-tests-jvm/junit-test-framework/pom.xml
b/integration-tests-jvm/junit-test-framework/pom.xml
index ad375dafc3..be13bb21ae 100644
--- a/integration-tests-jvm/junit-test-framework/pom.xml
+++ b/integration-tests-jvm/junit-test-framework/pom.xml
@@ -37,11 +37,9 @@
</dependency>
<!-- test dependencies -->
- <!-- TODO: Update to camel-quarkus-junit after camel-quarkus-junit5
removal -->
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
- <!-- Backwards compat test for users not migrated to
camel-quarkus-junit -->
- <artifactId>camel-quarkus-junit5</artifactId>
+ <artifactId>camel-quarkus-junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml
index e9eeba5c83..6d7517bf34 100644
--- a/poms/bom/pom.xml
+++ b/poms/bom/pom.xml
@@ -5352,11 +5352,6 @@
<artifactId>camel-quarkus-junit</artifactId>
<version>${camel-quarkus.version}</version>
</dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-junit5</artifactId>
- <version>${camel-quarkus.version}</version>
- </dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-kafka</artifactId>
diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml
b/poms/bom/src/main/generated/flattened-full-pom.xml
index 16df232a2f..69232adbf4 100644
--- a/poms/bom/src/main/generated/flattened-full-pom.xml
+++ b/poms/bom/src/main/generated/flattened-full-pom.xml
@@ -5257,11 +5257,6 @@
<artifactId>camel-quarkus-junit</artifactId>
<version>4.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-junit5</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- </dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-kafka</artifactId>
diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml
b/poms/bom/src/main/generated/flattened-reduced-pom.xml
index 9a4a7ac8e2..7e1e1c50cb 100644
--- a/poms/bom/src/main/generated/flattened-reduced-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml
@@ -6642,11 +6642,6 @@
<artifactId>camel-quarkus-junit</artifactId>
<version>4.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-junit5</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- </dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-kafka</artifactId>
diff --git a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
index 6799c526cc..d031fba497 100644
--- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
@@ -6642,11 +6642,6 @@
<artifactId>camel-quarkus-junit</artifactId>
<version>4.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-junit5</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- </dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-kafka</artifactId>
diff --git a/test-framework/junit5/pom.xml b/test-framework/junit5/pom.xml
deleted file mode 100644
index 0bb1164a2c..0000000000
--- a/test-framework/junit5/pom.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-test-framework</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>camel-quarkus-junit5</artifactId>
- <name>Camel Quarkus :: Test Framework :: Junit5 (Deprecated)</name>
- <description>DEPRECATED: This artifact has moved to
org.apache.camel.quarkus:camel-quarkus-junit</description>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-junit</artifactId>
- </dependency>
- </dependencies>
-</project>
diff --git a/test-framework/pom.xml b/test-framework/pom.xml
index 36c84addab..93c8df7673 100644
--- a/test-framework/pom.xml
+++ b/test-framework/pom.xml
@@ -35,7 +35,6 @@
<modules>
<module>camel-quarkus-junit</module>
<module>camel-quarkus-junit-tests</module>
- <module>junit5</module>
</modules>
<dependencyManagement>