[ 
https://issues.apache.org/jira/browse/HADOOP-10530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated HADOOP-10530:
------------------------------------

    Attachment: HADOOP-10530-001.patch

This patch 
# moves the java version {{javac.version}} into a property defined in 
hadoop-project, referring to that in compiler plugins
# and defines an {{enforced.java.version}} property in the same placed, which 
is used by the assembly plugin. This is simply bound to the value of 
{{javac.version}}, though more complex patterns can be set up.
# cuts the jdk1.6 profile from the annotations project, leaving the jdk1.7 
profile as is. A jdk1.8 profile can go in if/when needed.



> Make hadoop trunk build on Java7+ only
> --------------------------------------
>
>                 Key: HADOOP-10530
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10530
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.0.0
>         Environment: Java 1.7+
>            Reporter: Steve Loughran
>         Attachments: HADOOP-10530-001.patch
>
>
> As discussed on hadoop-common, hadoop 3 is envisaged to be Java7+ *only* 
> -this JIRA covers switching the build for this
> # maven enforcer plugin to set Java version = {{[1.7)}}
> # compiler to set language to java 1.7



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to