[java-parent-project] 01/04: JSSH-16: Update to Apache HttpClient 5.x

Brent Putman putmanb at georgetown.edu
Tue Feb 21 19:33:37 UTC 2023


This is an automated email from the git hooks/post-receive script.

putmanb pushed a commit to branch main
in repository java-parent-project.

View the commit online:
http://git.shibboleth.net/view/?p=java-parent-project.git;a=commit;h=ffa38b9c3f5fd94c98f0ad4f33394851b055ea1f

commit ffa38b9c3f5fd94c98f0ad4f33394851b055ea1f
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Wed Oct 12 21:46:10 2022 -0400

    JSSH-16: Update to Apache HttpClient 5.x
    
    Update POM for HttpClient v5
---
 pom.xml | 36 +++++++++++-------------------------
 1 file changed, 11 insertions(+), 25 deletions(-)

diff --git a/pom.xml b/pom.xml
index 5f81268..bbc8de8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,9 +40,13 @@
         <cryptacular.version>1.2.5</cryptacular.version>
         <duoweb.version>1.3</duoweb.version>
         <!-- IMPORTANT: httpclient and httpcore versions need to be updated together.  -->
-        <httpclient.groupId>org.apache.httpcomponents</httpclient.groupId>
-        <httpclient.version>4.5.14</httpclient.version>
-        <httpclient.httpcore.version>4.4.16</httpclient.httpcore.version>
+        <httpclient.groupId>org.apache.httpcomponents.client5</httpclient.groupId>
+        <httpclient.artifactId>httpclient5</httpclient.artifactId>
+        <httpclient.cache.artifactId>httpclient5-cache</httpclient.cache.artifactId>
+        <httpclient.version>5.1.3</httpclient.version>
+        <httpclient.httpcore.groupId>org.apache.httpcomponents.core5</httpclient.httpcore.groupId>
+        <httpclient.httpcore.artifactId>httpcore5</httpclient.httpcore.artifactId>
+        <httpclient.httpcore.version>5.1.4</httpclient.httpcore.version>
         <graalvm.version>21.2.0</graalvm.version>
         <guava.version>31.1-jre</guava.version>
         <jackson.version>2.14.1</jackson.version>
@@ -213,37 +217,19 @@
                 <scope>import</scope>
             </dependency>
             <dependency>
-                <groupId>${httpclient.groupId}</groupId>
-                <artifactId>httpcore</artifactId>
+                <groupId>${httpclient.httpcore.groupId}</groupId>
+                <artifactId>${httpclient.httpcore.artifactId}</artifactId>
                 <version>${httpclient.httpcore.version}</version>
-                <exclusions>
-                    <exclusion>
-                        <groupId>commons-logging</groupId>
-                        <artifactId>commons-logging</artifactId>
-                    </exclusion>
-                </exclusions>
             </dependency>
             <dependency>
                 <groupId>${httpclient.groupId}</groupId>
-                <artifactId>httpclient</artifactId>
+                <artifactId>${httpclient.artifactId}</artifactId>
                 <version>${httpclient.version}</version>
-                <exclusions>
-                    <exclusion>
-                        <groupId>commons-logging</groupId>
-                        <artifactId>commons-logging</artifactId>
-                    </exclusion>
-                </exclusions>
             </dependency>
             <dependency>
                 <groupId>${httpclient.groupId}</groupId>
-                <artifactId>httpclient-cache</artifactId>
+                <artifactId>${httpclient.cache.artifactId}</artifactId>
                 <version>${httpclient.version}</version>
-                <exclusions>
-                    <exclusion>
-                        <groupId>commons-logging</groupId>
-                        <artifactId>commons-logging</artifactId>
-                    </exclusion>
-                </exclusions>
             </dependency>
             <dependency>
                 <!-- needed for logback SMTP appender -->

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list