[DEAD-4] httpclient dependency conflict with groovy and rest-integration modules Created: 21/Mar/14  Updated: 26/Mar/14

Status: Open
Project: Deadlink
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Richard Unger Assignee: Federico Grilli
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

While scanning I was getting tons of errors like:

java.lang.NoClassDefFoundError: org/apache/http/impl/client/HttpClientBuilder

Looking into this:

Deadlink depends on httpclient 4.3. In my install this is being omitted due to conflict with httpclient 4.2.1, which is a dependency of the groovy module, and (indirectly) of the rest-integration module...

In my tests adding an <exclusion> where I include the groovy dependency works, httpclient 4.3 is then pulled in and link checking works. I still need to test the groovy module to make sure it runs fine with 4.3, I'll give feedback how that works out. But maybe magnolia could upgrade to httpclient 4.3, or you could downgrade to 4.2.1, otherwise everyone installing either the groovy or the rest-integration modules alongside the deadlink module will have the same problems.



 Comments   
Comment by Marvin Kerkhoff [ 26/Mar/14 ]

Hey Federico,

is there a way to update the dependencys of httpclient to 4.3 from the groovy module? I used some very nice functions from the newer version. And obviously after Richard tests the groovy module works as well with the newer version. Thx for your answer.

Generated at Mon Feb 12 00:42:53 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.