You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nemo.apache.org by jo...@apache.org on 2020/03/23 09:34:53 UTC
[incubator-nemo] branch master updated: [NEMO-440] Migrate to
Java11 and use Java 11 Features (#291)
This is an automated email from the ASF dual-hosted git repository.
johnyangk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nemo.git
The following commit(s) were added to refs/heads/master by this push:
new 2bb08d9 [NEMO-440] Migrate to Java11 and use Java 11 Features (#291)
2bb08d9 is described below
commit 2bb08d945bdb6ac2085013e3e7ef8c5cf59bed05
Author: Won Wook SONG <wo...@apache.org>
AuthorDate: Mon Mar 23 18:34:42 2020 +0900
[NEMO-440] Migrate to Java11 and use Java 11 Features (#291)
JIRA: [NEMO-440: Migrate to Java11 and use Java 11 Features](https://issues.apache.org/jira/projects/NEMO/issues/NEMO-440)
**Major changes:**
- Upgrade POM and modify travis to check Java 11
**Minor changes to note:**
- None
**Tests for the changes:**
- None
**Other comments:**
- None
Closes #291
---
.travis.yml | 1 -
pom.xml | 9 ++++-----
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index bb50300..84248c4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,7 +22,6 @@ dist: trusty
# For maven builds
language: java
jdk:
- - oraclejdk8
- oraclejdk11
- openjdk11
env:
diff --git a/pom.xml b/pom.xml
index 31698e2..5a5297c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,7 +41,7 @@ under the License.
</scm>
<properties>
- <java.version>1.8</java.version>
+ <java.version>11</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.version>3.8.1</maven.compiler.version>
@@ -176,10 +176,9 @@ under the License.
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.version}</version>
-<!-- Uncomment when dropping support for Java 8 -->
-<!-- <configuration>-->
-<!-- <release>${java.version}</release>-->
-<!-- </configuration>-->
+ <configuration>
+ <release>${java.version}</release>
+ </configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>