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 11E3418DBB for ; Thu, 25 Jun 2015 22:25:10 +0000 (UTC) Received: (qmail 97509 invoked by uid 500); 25 Jun 2015 22:25:05 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 97467 invoked by uid 500); 25 Jun 2015 22:25:05 -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 97339 invoked by uid 99); 25 Jun 2015 22:25:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2015 22:25:04 +0000 Date: Thu, 25 Jun 2015 22:25:04 +0000 (UTC) From: "Jonathan Halterman (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-12134) Update poms to target 1.7 and 1.6 JREs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-12134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Halterman updated AMBARI-12134: ---------------------------------------- Attachment: AMBARI-12134-3.patch > Update poms to target 1.7 and 1.6 JREs > -------------------------------------- > > Key: AMBARI-12134 > URL: https://issues.apache.org/jira/browse/AMBARI-12134 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.1.0 > Reporter: Jonathan Halterman > Assignee: Jonathan Halterman > Fix For: 2.1.0 > > Attachments: AMBARI-12134-3.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)