You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2021/10/25 22:51:00 UTC

[flink] branch master updated: [FLINK-24634][build] Make Java 11 target opt-in

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

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new a392d19  [FLINK-24634][build] Make Java 11 target opt-in
a392d19 is described below

commit a392d19ae9f2693e66f73fcf73e5a2940b3dd6d2
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Tue Oct 26 00:50:40 2021 +0200

    [FLINK-24634][build] Make Java 11 target opt-in
---
 pom.xml                                     | 5 +++++
 tools/azure-pipelines/build-apache-repo.yml | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 807c878..c9d6a9d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -917,7 +917,12 @@ under the License.
 						</plugin>
 					</plugins>
 				</pluginManagement>
+			</build>
+		</profile>
 
+		<profile>
+			<id>java11-target</id>
+			<build>
 				<plugins>
 					<plugin>
 						<groupId>org.apache.maven.plugins</groupId>
diff --git a/tools/azure-pipelines/build-apache-repo.yml b/tools/azure-pipelines/build-apache-repo.yml
index 350d9fe..5aeb2d1 100644
--- a/tools/azure-pipelines/build-apache-repo.yml
+++ b/tools/azure-pipelines/build-apache-repo.yml
@@ -142,7 +142,7 @@ stages:
             name: Default
           e2e_pool_definition:
             vmImage: 'ubuntu-20.04'
-          environment: PROFILE="-Dhadoop.version=2.8.3 -Dinclude_hadoop_aws -Dscala-2.12 -Djdk11"
+          environment: PROFILE="-Dhadoop.version=2.8.3 -Dinclude_hadoop_aws -Dscala-2.12 -Djdk11 -Pjava11-target"
           run_end_to_end: true
           container: flink-build-container
           jdk: 11