Change in ovirt-engine[master]: restapi: Fork to execute the metamodel tool

Code Review gerrit at ovirt.org
Mon Feb 20 10:50:22 UTC 2017


>From Juan Hernandez <juan.hernandez at redhat.com>:

Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Fork to execute the metamodel tool
......................................................................


restapi: Fork to execute the metamodel tool

Currently the metamodel tool, which is used to generate part of the API
code, is executed within the same Java virtual machine that runs Maven.
In some recent versions of Maven this generates a situation where Maven
is not able to stop the threads created by the CDI container (Weld SE)
created by the tool. To avoid that issue this patch changes the build
process so that the metamodel tool runs inside its own Java virtual
machine.

Change-Id: I87f5ced1e0a6adf9ff5f5652eb6ca0d08b9081ce
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/pom.xml
1 file changed, 23 insertions(+), 15 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I87f5ced1e0a6adf9ff5f5652eb6ca0d08b9081ce
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list