Change in ovirt-engine[master]: build: remove commons-io from module overlay

mlipchuk at redhat.com mlipchuk at redhat.com
Tue Jun 30 16:43:19 UTC 2015


Maor Lipchuk has submitted this change and it was merged.

Change subject: build: remove commons-io from module overlay
......................................................................


build: remove commons-io from module overlay

When trying to test a Cinder openstack provider,
we get an error of no such method:
  java.lang.NoSuchMethodError:
  org.apache.commons.io.output.DeferredFileOutputStream.
  <init>(ILjava/lang/String;Ljava/lang/String;Ljava/io/File

It appears that since we upgraded to wildfly, resteasy tries to call
the new constructor of DeferredFileOutputStream which was introduced
only at commons-io 1.4.
The following patch changes the pom.xml to use the default commons-io version,
the same as it is supported with jboss, and also removed all relation to
commons-io from the backend manager dependencies.

Change-Id: I18b3cb941338ef6519ed15ea7a428ff6636987d2
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/dependencies/common/pom.xml
D backend/manager/dependencies/common/src/main/modules/org/apache/commons/io/main/module.xml
M ovirt-engine.spec.in
M pom.xml
4 files changed, 0 insertions(+), 24 deletions(-)

Approvals:
  Martin Peřina: Looks good to me, but someone else must approve
  Juan Hernandez: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Allon Mureinik: Looks good to me, but someone else must approve
  Maor Lipchuk: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I18b3cb941338ef6519ed15ea7a428ff6636987d2
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list