Closed jadelkhoury closed 4 years ago
@jamsden @berezovskyi I need your help with maven here. We will have this problem if we want to have both oauth and JSON-lD at the same time.
I can solve the problem by directly adding the httpclient 4.5.10 dependency to the adaptor. But that is of course not a good solution.
Can we somehow limit the use of the 4.0 library to oauth library?
This issue can be solved by changes in the Lyo-client. See https://github.com/eclipse/lyo.client/pull/84
I have an adaptor that also includes the latest oslc-client library
oslc4j-client
(the one for jax-rs 2.0).If I do a GET JSON-LD, I will get the exception below! Why? As soon as I include the
oslc4j-client
library, I end up using the Apache httpclient version 4.0 (due to the old oauth library). Withoutoslc4j-client
, I use the needed httpclient version 4.5.10.Dependency Hierarchy for an adaptor without
oslc4j-client
Dependency Hierarchy for an adaptor with
oslc4j-client
Exception