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 E164618CDC for ; Wed, 24 Jun 2015 20:20:04 +0000 (UTC) Received: (qmail 70961 invoked by uid 500); 24 Jun 2015 20:20:04 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 70919 invoked by uid 500); 24 Jun 2015 20:20: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 70904 invoked by uid 99); 24 Jun 2015 20:20: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 20:20:04 +0000 Date: Wed, 24 Jun 2015 20:20: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: ---------------------------------------- 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. The targeted Java versions in the POMs should be updated. (was: 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. The Java versions in the POMs should be updated.) > 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: ambari-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. The targeted Java versions in the POMs should be updated. -- This message was sent by Atlassian JIRA (v6.3.4#6332)