Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Upgrade Jackrabbit-webdav library and thus, deprecated/end-of-life HttpClient 3.1 library #182

Closed
davigonz opened this issue Jan 24, 2018 · 4 comments
Assignees
Milestone

Comments

@davigonz
Copy link
Contributor

Our network library is going to need an upgrade since we are currently using Jackrabbit-webdav 2.12.14, which depends on HttpClient 3.x, a pretty old library which is no longer being developed.

So, before trying to perform a complete replacement using a different library, we are going to try to upgrade the current one.

@davigonz davigonz added this to the 0.9.20 milestone Jan 24, 2018
@davigonz davigonz self-assigned this Jan 24, 2018
@davigonz
Copy link
Contributor Author

davigonz commented Jan 24, 2018

@jesmrec @michaelstingl

I've upgraded the Jackrabbit-webdav library to 2.16 version (November 2017), which depends on HTTP client 4.5.3, and this message appears when building the app library:

Warning:WARNING: Dependency org.apache.httpcomponents:httpclient:4.5.3 is ignored for debug as it may be conflicting with the internal version provided by Android

As the warning itself says, there is a conflict between the httpclient to be added with that dependency and the Android one, this is the detailed reason:

Google Android 1.0 was released with a pre-BETA snapshot of Apache HttpClient. To coincide with the first Android release Apache HttpClient 4.0 APIs had to be frozen prematurely, while many of interfaces and internal structures were still not fully worked out. As Apache HttpClient 4.0 was maturing the project was expecting Google to incorporate the latest code improvements into their code tree. Unfortunately it did not happen. Version of Apache HttpClient shipped with Android has effectively become a fork. Eventually Google decided to discontinue further development of their fork while refusing to upgrade to the stock version of Apache HttpClient citing compatibility concerns as a reason for such decision. As a result those Android developers who would like to continue using Apache HttpClient APIs on Android cannot take advantage of newer features, performance improvements and bug fixes.

A new project to port Apache HttpClient 4.3 for Android was created but also discontinued.

In this link appears all the information related to the issue and also a link to a project maintained by a contributor.

From my point of view, I would definitely go for a new library, we cannot trust on this anymore.

@jesmrec
Copy link
Collaborator

jesmrec commented Jan 24, 2018

at this point, i think we have to start to think in a whole library change. Agreed @michaelstingl ?

@michaelstingl
Copy link
Contributor

Okay. Thanks for the research. Let’s go… 👍

@davigonz
Copy link
Contributor Author

Okay. Thanks for the research. Let’s go… 👍

Closing this then, follow up #51

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants