[ 
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 and 
test 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.  (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. 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.)

> Update poms to target 1.7 JRE
> -----------------------------
>
>                 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: Jayush Luniya
>             Fix For: 2.1.1
>
>         Attachments: AMBARI-12134-5.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 and test 
> 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)

Reply via email to