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 B6CE9177A4 for ; Wed, 24 Jun 2015 23:26:04 +0000 (UTC) Received: (qmail 29831 invoked by uid 500); 24 Jun 2015 23:26:04 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 29793 invoked by uid 500); 24 Jun 2015 23:26:04 -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 29772 invoked by uid 99); 24 Jun 2015 23:26:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2015 23:26:04 +0000 Date: Wed, 24 Jun 2015 23:26:04 +0000 (UTC) From: "Yusaku Sako (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 ] Yusaku Sako updated AMBARI-12134: --------------------------------- Affects Version/s: (was: ambari-2.1.0) 2.1.0 > 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 > Attachments: AMBARI-12134.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)