Skip to content

Bump httpcore version to 4.4.13 #2928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@

<jre.version>1.8</jre.version>
<httpcomponents.httpclient.version>4.5.13</httpcomponents.httpclient.version>
<httpcomponents.httpcore.version>4.4.11</httpcomponents.httpcore.version>
<httpcomponents.httpcore.version>4.4.13</httpcomponents.httpcore.version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then we may also need to upgrade org.apache.httpcomponents:httpclient too as org.apache.httpcomponents:httpclient:4.5.13 is depending on org.apache.httpcomponents:httpcore:4.4.13 #2927

Honestly I hope the aws-sdk-java-team can offer a complete solution to this issue in the future :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the latest version of org.apache.httpcomponents:httpclient in Maven is still 4.5.13. https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient Does that mean the enforcer plugin will prevent users from using the latest httpcore simply because the latest httpclient does not depend on the latest httpcore? Hmm, wouldn't it defeat the purpose?

Anyway, we can merge this PR. As to a solution, I think this should be addressed on the Apache HTTP Client side, if they introduce something like BOM, it would definitely help all consumers. For us, the only thing I can think of is to add a reminder note here to update httpcore whenever we update httpclient.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the enforcer rule just detects version conflicts:) (not a maven expert). Thanks for taking a look!


<!-- Reactive Streams version -->
<reactive-streams.version>1.0.3</reactive-streams.version>
Expand Down