Change in ovirt-engine-sdk-java[sdk_3.3]: codegen: Use Maven to generate code

juan.hernandez at redhat.com juan.hernandez at redhat.com
Mon Jan 27 16:08:16 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: codegen: Use Maven to generate code
......................................................................


codegen: Use Maven to generate code

Currently the code generator has to be executed as a Java class with
a script or from an IDE. This patch adds a Maven profile that executes
the generator using the exec plugin, so that it can be executed with the
following command:

  mvn validate -Pupdate-code

Once the generated code is updated the developer is resposible from
adding it to the source code repository.

Change-Id: I2b3472ed3009aa6acc2500d49e26628660764aaf
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M ovirt-engine-sdk-java-codegen/pom.xml
1 file changed, 39 insertions(+), 0 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/23689
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2b3472ed3009aa6acc2500d49e26628660764aaf
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: sdk_3.3
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>



More information about the Engine-commits mailing list