Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3975118BE3 for ; Mon, 13 Jul 2015 21:18:20 +0000 (UTC) Received: (qmail 96456 invoked by uid 500); 13 Jul 2015 21:18:20 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 96421 invoked by uid 500); 13 Jul 2015 21:18:20 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 96407 invoked by uid 99); 13 Jul 2015 21:18:19 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2015 21:18:19 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id CD0DFABD28; Mon, 13 Jul 2015 21:18:18 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8329021574748011582==" MIME-Version: 1.0 Subject: Re: Review Request 35844: Update poms to target 1.7 and 1.6 JREs From: "Jayush Luniya" To: "Yusaku Sako" , "Jayush Luniya" , "Sid Wagle" Cc: "Ambari" Date: Mon, 13 Jul 2015 21:18:18 -0000 Message-ID: <20150713211818.17363.26727@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Jayush Luniya" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/35844/ X-Sender: "Jayush Luniya" References: <20150708172746.1572.24691@reviews.apache.org> In-Reply-To: <20150708172746.1572.24691@reviews.apache.org> Reply-To: "Jayush Luniya" X-ReviewRequest-Repository: ambari --===============8329021574748011582== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35844/#review91528 ----------------------------------------------------------- @Jonathan Halterman The patch attached to the Apache JIRA is different to the patch attached here. Can you update the reviewboard request with the latest patch? - Jayush Luniya On July 8, 2015, 5:27 p.m., Jonathan Halterman wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/35844/ > ----------------------------------------------------------- > > (Updated July 8, 2015, 5:27 p.m.) > > > Review request for Ambari, Jayush Luniya, Sid Wagle, and Yusaku Sako. > > > Bugs: AMBARI-12134 > https://issues.apache.org/jira/browse/AMBARI-12134 > > > Repository: ambari > > > Description > ------- > > The ambari parent pom is targeted towards Java 1.6 while ambari uses 1.7 APIs. The ambari metrics pom is targeted at java 1.5 (by default) while ambari-metrics uses 1.6 APIs. This causes basic compilation failures, depending on how you build the projects and what tools you use to work on them. AFAIK Ambari 2.1 and beyond are targeted at 1.7, so the Java versions in the POMs should be updated to reflect this. > > Aside from changing the target version for the compiler plugin, some other dependencies had to be updated to more recent versions that support 1.7 compilation. > > > Diffs > ----- > > ambari-metrics/pom.xml b4f4ed3 > pom.xml 47eac31 > > Diff: https://reviews.apache.org/r/35844/diff/ > > > Testing > ------- > > All tests pass! > > > Thanks, > > Jonathan Halterman > > --===============8329021574748011582==--