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 f5e655db40e CAMEL-20142 Camel-http: brings transitively 2 core 
versions (#12123)
f5e655db40e is described below

commit f5e655db40e62ac98a434f62e6cb4a3b0b3e3ff3
Author: JiriOndrusek <ondrusek.j...@gmail.com>
AuthorDate: Tue Nov 21 19:30:34 2023 +0100

    CAMEL-20142 Camel-http: brings transitively 2 core versions (#12123)
---
 components/camel-http/pom.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/components/camel-http/pom.xml b/components/camel-http/pom.xml
index a5e82412646..f44e2819c77 100644
--- a/components/camel-http/pom.xml
+++ b/components/camel-http/pom.xml
@@ -73,6 +73,13 @@
             <groupId>org.apache.httpcomponents.client5</groupId>
             <artifactId>httpclient5</artifactId>
             <version>${httpclient-version}</version>
+            <exclusions>
+                <exclusion>
+                    <!-- Both httpcore5 and httpcore5-h2 are present as the 
dependencies-->
+                    <artifactId>*</artifactId>
+                    <groupId>org.apache.httpcomponents.core5</groupId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
 
@@ -108,6 +115,13 @@
             <version>${httpclient-version}</version>
             <classifier>tests</classifier>
             <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <!-- Both httpcore5 and httpcore5-h2 are present as the 
dependencies-->
+                    <artifactId>*</artifactId>
+                    <groupId>org.apache.httpcomponents.core5</groupId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
 

Reply via email to