Change in ovirt-engine-sdk-java[sdk_4.1]: Avoid duplicate dependencies

Code Review gerrit at ovirt.org
Fri Jul 7 08:29:48 UTC 2017


>From Ondra Machacek <omachace at redhat.com>:

Ondra Machacek has submitted this change and it was merged. ( https://gerrit.ovirt.org/79127 )

Change subject: Avoid duplicate dependencies
......................................................................


Avoid duplicate dependencies

Currently the SDK requires the httpclient and httpcore artifacts, and it
explicitly specifies the versions of both components. The httpclient
itself also requires httpcore, but a different versions. This means that
we are requiring two different versions of the same artifact. This
causes problems for applications that use the Maven enforce plugin to
check that there are no duplicates. To make things simpler for those
applications this patch changes the SDK so that it only requires on
version and it isues the Maven enforce plugin to check it.

Change-Id: I1d94a68a9a44701c3bdccd85b0299ffce2c4c1fd
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M sdk/pom.xml
1 file changed, 31 insertions(+), 12 deletions(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/79127
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1d94a68a9a44701c3bdccd85b0299ffce2c4c1fd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: sdk_4.1
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list