Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8268

Build hive by JDK 1.7 by default

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build Infrastructure
    • Labels:
      None

      Description

      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>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rguo Guo Ruijing
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: