You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemall.apache.org by my...@apache.org on 2021/04/15 05:29:30 UTC

[incubator-hivemall] branch master updated: [HIVEMALL-303] Changed compilation target to Java 8

This is an automated email from the ASF dual-hosted git repository.

myui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hivemall.git


The following commit(s) were added to refs/heads/master by this push:
     new 68f1d88  [HIVEMALL-303] Changed compilation target to Java 8
68f1d88 is described below

commit 68f1d880d4c6cf919d9d62eb405fc989cc1c0985
Author: Makoto Yui <my...@apache.org>
AuthorDate: Thu Apr 15 14:29:23 2021 +0900

    [HIVEMALL-303] Changed compilation target to Java 8
    
    ## What changes were proposed in this pull request?
    
    Change compilation target to Java 8 from Java 7.
    
    ## What type of PR is it?
    
    Improvement
    
    ## What is the Jira issue?
    
    https://issues.apache.org/jira/browse/HIVEMALL-303
    
    ## How was this patch tested?
    
    unit tests
    
    ## Checklist
    
    (Please remove this section if not needed; check `x` for YES, blank for NO)
    
    - [x] Did you apply source code formatter, i.e., `./bin/format_code.sh`, for your commit?
    - [ ] Did you run system tests on Hive (or Spark)?
    
    Author: Makoto Yui <my...@apache.org>
    
    Closes #233 from myui/HIVEMALL-303-java8.
---
 pom.xml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/pom.xml b/pom.xml
index 10f7624..1b635f7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -256,8 +256,8 @@
 
 	<properties>
 		<main.basedir>${project.basedir}</main.basedir>
-		<maven.compiler.source>1.7</maven.compiler.source>
-		<maven.compiler.target>1.7</maven.compiler.target>
+		<maven.compiler.source>1.8</maven.compiler.source>
+		<maven.compiler.target>1.8</maven.compiler.target>
 		<maven.build.timestamp.format>yyyy</maven.build.timestamp.format>
 		<build.year>${maven.build.timestamp}</build.year>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -575,7 +575,7 @@
 						<docencoding>UTF-8</docencoding>
 						<show>protected</show>
 						<linksource>true</linksource>
-						<source>7</source>
+						<source>8</source>
 					</configuration>
 					<executions>
 						<execution>
@@ -694,7 +694,7 @@
 							</rules>
 						</configuration>
 					</execution>
-					<!-- Check Java class file compatibility to Java 7/8 -->
+					<!-- Check Java class file compatibility to Java 8 -->
 					<execution>
 						<id>enforce-bytecode-version</id>
 						<goals>
@@ -722,7 +722,7 @@
 					</dependency>
 				</dependencies>
 			</plugin>
-			<!-- check Java API compatibility to Java 7 -->
+			<!-- check Java API compatibility to Java 8 -->
 			<plugin>
 				<groupId>org.codehaus.mojo</groupId>
 				<artifactId>animal-sniffer-maven-plugin</artifactId>
@@ -730,7 +730,7 @@
 				<configuration>
 					<signature>
 						<groupId>org.codehaus.mojo.signature</groupId>
-						<artifactId>java17</artifactId>
+						<artifactId>java18</artifactId>
 						<version>1.0</version>
 					</signature>
 					<ignores>
@@ -739,7 +739,7 @@
 				</configuration>
 				<executions>
 					<execution>
-						<id>ensure-java-1.7-class-library</id>
+						<id>ensure-java-1.8-class-library</id>
 						<phase>verify</phase>
 						<goals>
 							<goal>check</goal>