You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Guo Ruijing (JIRA)" <ji...@apache.org> on 2014/09/26 09:54:34 UTC
[jira] [Created] (HIVE-8268) Build hive by JDK 1.7 by default
Guo Ruijing created HIVE-8268:
---------------------------------
Summary: Build hive by JDK 1.7 by default
Key: HIVE-8268
URL: https://issues.apache.org/jira/browse/HIVE-8268
Project: Hive
Issue Type: Improvement
Components: Build Infrastructure
Reporter: Guo Ruijing
existing hive is buit by JDK 1.6 by default as:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
We may change to build hive by JDK 1.7 by default
1. add
<properties>
<java.source.version>1.6</java.source.version>
<java.target.version>1.7</java.target.version>
2. change
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${java.source.version}</source>
<target>${java.target.version}</target>
</configuration>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)