From 0e553e0e6df1b53b609a4498d805c10d4dc19563 Mon Sep 17 00:00:00 2001 From: zentol Date: Mon, 24 Jul 2017 13:13:34 +0200 Subject: [PATCH] [FLINK-7249] [build] Bump java.version property to 1.8 This closes #4398. --- docs/quickstart/java_api_quickstart.md | 2 +- docs/quickstart/scala_api_quickstart.md | 2 +- docs/quickstart/setup_quickstart.md | 2 +- docs/setup/building.md | 4 ++-- .../src/main/resources/archetype-resources/pom.xml | 4 ++-- .../src/main/resources/archetype-resources/pom.xml | 4 ++-- pom.xml | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/quickstart/java_api_quickstart.md b/docs/quickstart/java_api_quickstart.md index 7384d919acd..c21e06e3df4 100644 --- a/docs/quickstart/java_api_quickstart.md +++ b/docs/quickstart/java_api_quickstart.md @@ -31,7 +31,7 @@ Start working on your Flink Java program in a few simple steps. ## Requirements -The only requirements are working __Maven 3.0.4__ (or higher) and __Java 7.x__ (or higher) installations. +The only requirements are working __Maven 3.0.4__ (or higher) and __Java 8.x__ (or higher) installations. ## Create Project diff --git a/docs/quickstart/scala_api_quickstart.md b/docs/quickstart/scala_api_quickstart.md index 8ee1e66e229..abf6021a8f9 100644 --- a/docs/quickstart/scala_api_quickstart.md +++ b/docs/quickstart/scala_api_quickstart.md @@ -119,7 +119,7 @@ Now you can import the project into Eclipse via `File -> Import... -> Existing P ### Requirements -The only requirements are working __Maven 3.0.4__ (or higher) and __Java 7.x__ (or higher) installations. +The only requirements are working __Maven 3.0.4__ (or higher) and __Java 8.x__ (or higher) installations. ### Create Project diff --git a/docs/quickstart/setup_quickstart.md b/docs/quickstart/setup_quickstart.md index 0ddbd4ea7fe..7800decc7e1 100644 --- a/docs/quickstart/setup_quickstart.md +++ b/docs/quickstart/setup_quickstart.md @@ -30,7 +30,7 @@ Get a Flink example program up and running in a few simple steps. ## Setup: Download and Start Flink -Flink runs on __Linux, Mac OS X, and Windows__. To be able to run Flink, the only requirement is to have a working __Java 7.x__ (or higher) installation. Windows users, please take a look at the [Flink on Windows]({{ site.baseurl }}/setup/flink_on_windows.html) guide which describes how to run Flink on Windows for local setups. +Flink runs on __Linux, Mac OS X, and Windows__. To be able to run Flink, the only requirement is to have a working __Java 8.x__ (or higher) installation. Windows users, please take a look at the [Flink on Windows]({{ site.baseurl }}/setup/flink_on_windows.html) guide which describes how to run Flink on Windows for local setups. You can check the correct installation of Java by issuing the following command: diff --git a/docs/setup/building.md b/docs/setup/building.md index 3ef372ec7b3..01dc4ed9b08 100644 --- a/docs/setup/building.md +++ b/docs/setup/building.md @@ -31,10 +31,10 @@ This page covers how to build Flink {{ site.version }} from sources. In order to build Flink you need the source code. Either [download the source of a release]({{ site.download_url }}) or [clone the git repository]({{ site.github_url }}). -In addition you need **Maven 3** and a **JDK** (Java Development Kit). Flink requires **at least Java 7** to build. We recommend using Java 8. +In addition you need **Maven 3** and a **JDK** (Java Development Kit). Flink requires **at least Java 8** to build. *NOTE: Maven 3.3.x can build Flink, but will not properly shade away certain dependencies. Maven 3.0.3 creates the libraries properly. -To build unit tests with Java 8, use Java 8u51 or above to prevent failures in unit tests that use the PowerMock runner.* +To build unit tests use Java 8u51 or above to prevent failures in unit tests that use the PowerMock runner.* To clone from git, enter: diff --git a/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml b/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml index a5f3963add1..5da38cdef95 100644 --- a/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml +++ b/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml @@ -307,8 +307,8 @@ under the License. maven-compiler-plugin 3.1 - 1.7 - 1.7 + 1.8 + 1.8 diff --git a/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml b/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml index e6488518e03..67fe4c1d91d 100644 --- a/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml +++ b/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml @@ -307,8 +307,8 @@ under the License. maven-compiler-plugin 3.1 - 1.7 - 1.7 + 1.8 + 1.8 diff --git a/pom.xml b/pom.xml index 93d04708b2e..3287f617427 100644 --- a/pom.xml +++ b/pom.xml @@ -95,7 +95,7 @@ under the License. log4j-test.properties 18.0 2.3-custom - 1.7 + 1.8 1.7.7 1.2.17