Skip to content

Commit c494512

Browse files
committed
Upgrading java-http-client to use apache httpclient5
sendgrid-java is currently incompatible with apache httpclient5 due to it's dependency on this simplified version of the http client. In order for projects on httpclient5 to use sendgrid-java, this dependency needs to be updated first.
1 parent 956969b commit c494512

File tree

5 files changed

+149
-233
lines changed

5 files changed

+149
-233
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (C) 2023, Twilio SendGrid, Inc. <[email protected]>
3+
Copyright (C) 2024, Twilio SendGrid, Inc. <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@
117117
<scope>test</scope>
118118
</dependency>
119119
<dependency>
120-
<groupId>org.apache.httpcomponents</groupId>
121-
<artifactId>httpcore</artifactId>
122-
<version>4.4.15</version>
120+
<groupId>org.apache.httpcomponents.core5</groupId>
121+
<artifactId>httpcore5</artifactId>
122+
<version>5.2.4</version>
123123
</dependency>
124124
<dependency>
125-
<groupId>org.apache.httpcomponents</groupId>
126-
<artifactId>httpclient</artifactId>
127-
<version>4.5.13</version>
125+
<groupId>org.apache.httpcomponents.client5</groupId>
126+
<artifactId>httpclient5</artifactId>
127+
<version>5.3.1</version>
128128
</dependency>
129129
</dependencies>
130130
<build>
@@ -216,4 +216,4 @@
216216
</plugin>
217217
</plugins>
218218
</build>
219-
</project>
219+
</project>

0 commit comments

Comments
 (0)