Change in ovirt-engine[master]: core: Java7 Engine build

Allon Mureinik has submitted this change and it was merged. Change subject: core: Java7 Engine build ...................................................................... core: Java7 Engine build Since Java 6 is reaching its EOL, it is clear that we should start phasing it out, and move to Java 7 where possible. Note that the current GWT version we're using does NOT support Java 7, so the frontend code and the code it depends on remained in Java 6. This patch introduces the following: 1. Upgrading the maven-compiler-plugin setting to 1.7. 2. Upgrading animal-sniffer to 1.9, and using the official artifact from codehaus, in order to support Java 7 JDK validations. 3. Added a whitelist of com.sun classes used by existing code that would be picked up by the newly updated version of animal-sniffer, which is slightly stricter than the previous one. Note that these are unsupported internal classes of the JDK which should probably not be used externally anyway, and it would be a pretty good idea to remove these usages in future patches. Change-Id: I9ea655ab589b9907184b033ea08cc98d7ee57e63 Signed-off-by: Allon Mureinik <amureini@redhat.com> Signed-off-by: Alissa Bonas <abonas@redhat.com> --- M backend/manager/modules/common/pom.xml M backend/manager/modules/compat/pom.xml M backend/manager/modules/searchbackend/pom.xml M frontend/webadmin/modules/pom.xml M pom.xml 5 files changed, 34 insertions(+), 7 deletions(-) Approvals: Allon Mureinik: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/13519 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9ea655ab589b9907184b033ea08cc98d7ee57e63 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Alissa Bonas <abonas@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alonbl@redhat.com> Gerrit-Reviewer: Ayal Baron <abaron@redhat.com> Gerrit-Reviewer: Barak Azulay <bazulay@redhat.com> Gerrit-Reviewer: Doron Fediuck <dfediuck@redhat.com> Gerrit-Reviewer: Laszlo Hornyak <lhornyak@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipchuk@redhat.com> Gerrit-Reviewer: Mike Kolesnik <mkolesni@redhat.com> Gerrit-Reviewer: Vered Volansky <vvolansk@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzaslavs@redhat.com>
participants (1)
-
amureini@redhat.com