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

hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git


The following commit(s) were added to refs/heads/main by this push:
     new d1d8abead6 Update httpclient dependencies and minor cleanup (#7085)
d1d8abead6 is described below

commit d1d8abead62a0113a42e091d7d17b138a547b44c
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Mon May 4 09:34:29 2026 +0200

    Update httpclient dependencies and minor cleanup (#7085)
---
 lib/pom.xml                                         | 21 ++++++++++++---------
 plugins/transforms/httppost/pom.xml                 | 12 ------------
 .../transforms/httppost/src/assembly/assembly.xml   |  6 ------
 3 files changed, 12 insertions(+), 27 deletions(-)

diff --git a/lib/pom.xml b/lib/pom.xml
index 2e3c58d0df..d9b102610f 100644
--- a/lib/pom.xml
+++ b/lib/pom.xml
@@ -86,9 +86,9 @@
         Replace exclusions beam-vendor-guava-xxx-jre-->
         <guava.version>33.3.1-jre</guava.version>
         <hive.version>2.3.9</hive.version>
-        <httpccore.version>4.4.15</httpccore.version>
         <httpclient.version>4.5.14</httpclient.version>
-        <httpclient5.version>5.6</httpclient5.version>
+        <httpclient5.version>5.6.1</httpclient5.version>
+        <httpcore.version>4.4.16</httpcore.version>
         <icu4j.version>78.1</icu4j.version>
         <jackcess.version>4.0.4</jackcess.version>
         <jackson-annotations.version>2.21</jackson-annotations.version>
@@ -692,15 +692,18 @@
                 <artifactId>hop-ui</artifactId>
                 <version>${project.version}</version>
             </dependency>
+            <!-- httpcore/httpclient v4 are not used by Hop directly, but 
pulled in transitively
+            by Beam, Google Cloud, AWS SDK and others. Pinned here to align 
versions
+            across those transitive dependencies. -->
             <dependency>
                 <groupId>org.apache.httpcomponents</groupId>
                 <artifactId>httpcore</artifactId>
-                <version>${httpccore.version}</version>
+                <version>${httpcore.version}</version>
             </dependency>
             <dependency>
-                <groupId>org.apache.httpcomponents.client5</groupId>
-                <artifactId>httpclient5</artifactId>
-                <version>${httpclient5.version}</version>
+                <groupId>org.apache.httpcomponents</groupId>
+                <artifactId>httpclient</artifactId>
+                <version>${httpclient.version}</version>
                 <exclusions>
                     <exclusion>
                         <groupId>org.slf4j</groupId>
@@ -709,9 +712,9 @@
                 </exclusions>
             </dependency>
             <dependency>
-                <groupId>org.apache.httpcomponents</groupId>
-                <artifactId>httpclient</artifactId>
-                <version>${httpclient.version}</version>
+                <groupId>org.apache.httpcomponents.client5</groupId>
+                <artifactId>httpclient5</artifactId>
+                <version>${httpclient5.version}</version>
                 <exclusions>
                     <exclusion>
                         <groupId>org.slf4j</groupId>
diff --git a/plugins/transforms/httppost/pom.xml 
b/plugins/transforms/httppost/pom.xml
index e1da65b516..ee2109cd71 100644
--- a/plugins/transforms/httppost/pom.xml
+++ b/plugins/transforms/httppost/pom.xml
@@ -28,16 +28,4 @@
     <artifactId>hop-transform-httppost</artifactId>
     <packaging>jar</packaging>
     <name>Hop Plugins Transforms HTTP Post</name>
-
-    <properties>
-        <httpclient.version>5.6</httpclient.version>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.httpcomponents.client5</groupId>
-            <artifactId>httpclient5</artifactId>
-            <version>${httpclient.version}</version>
-        </dependency>
-    </dependencies>
 </project>
diff --git a/plugins/transforms/httppost/src/assembly/assembly.xml 
b/plugins/transforms/httppost/src/assembly/assembly.xml
index ccf1ec0177..83a34ac755 100644
--- a/plugins/transforms/httppost/src/assembly/assembly.xml
+++ b/plugins/transforms/httppost/src/assembly/assembly.xml
@@ -46,11 +46,5 @@
             </includes>
             <outputDirectory>plugins/transforms/httppost</outputDirectory>
         </dependencySet>
-        <dependencySet>
-            <includes>
-                <include>org.apache.httpcomponents:httpmime:jar</include>
-            </includes>
-            <outputDirectory>plugins/transforms/httppost/lib</outputDirectory>
-        </dependencySet>
     </dependencySets>
 </assembly>
\ No newline at end of file

Reply via email to