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

tangyun pushed a commit to branch release-1.15
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.15 by this push:
     new 4f27e70d317 [FLINK-31283][docs] Update the scala-2.11 related building 
doc
4f27e70d317 is described below

commit 4f27e70d317357a9eb2a3f8c6f1dbb6f86779149
Author: Yun Tang <[email protected]>
AuthorDate: Wed Mar 1 22:14:40 2023 +0800

    [FLINK-31283][docs] Update the scala-2.11 related building doc
---
 docs/content.zh/docs/flinkDev/building.md | 7 +------
 docs/content/docs/flinkDev/building.md    | 7 +------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/docs/content.zh/docs/flinkDev/building.md 
b/docs/content.zh/docs/flinkDev/building.md
index 9458d38e43b..bdeb6e4e228 100644
--- a/docs/content.zh/docs/flinkDev/building.md
+++ b/docs/content.zh/docs/flinkDev/building.md
@@ -149,12 +149,7 @@ mvn clean install
 Flink 有使用 [Scala](http://scala-lang.org) 来写的 API,库和运行时模块。使用 Scala API 
和库的同学必须配置 Flink 的 Scala 版本和自己的 Flink 版本(因为 Scala 
 并不严格的向后兼容)。
 
-从 1.7 版本开始,Flink 可以使用 Scala 2.11(默认)和 2.12 来构建。
-
-如果使用 Scala 2.12 来进行构建,执行如下命令:
-```bash
-mvn clean install -DskipTests -Dscala-2.12
-```
+从 1.15 版本开始,Flink 已经不再支持使用Scala 2.11编译,默认使用 2.12 来构建。
 
 要针对特定的二进制 Scala 版本进行构建,可以使用
 ```bash
diff --git a/docs/content/docs/flinkDev/building.md 
b/docs/content/docs/flinkDev/building.md
index ebcf19e7936..5359b35b6aa 100644
--- a/docs/content/docs/flinkDev/building.md
+++ b/docs/content/docs/flinkDev/building.md
@@ -156,12 +156,7 @@ Users that purely use the Java APIs and libraries can 
*ignore* this section.
 
 Flink has APIs, libraries, and runtime modules written in 
[Scala](http://scala-lang.org). Users of the Scala API and libraries may have 
to match the Scala version of Flink with the Scala version of their projects 
(because Scala is not strictly backwards compatible).
 
-Since version 1.7 Flink builds with Scala version 2.11 (default) and 2.12.
-
-To build Flink against Scala 2.12, issue the following command:
-```bash
-mvn clean install -DskipTests -Dscala-2.12
-```
+Since version 1.15 Flink dropped the support of Scala 2.11 and it will use 
Scala 2.12 to build by default.
 
 To build against a specific binary Scala version you can use:
 ```bash

Reply via email to