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

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


The following commit(s) were added to refs/heads/asf-site by this push:
     new ee10ce51d [FLINK-29141] Update scala suffixes
ee10ce51d is described below

commit ee10ce51dc83eb69164bba28c2ccd4c87797f211
Author: Chesnay Schepler <[email protected]>
AuthorDate: Tue Aug 30 11:52:30 2022 +0200

    [FLINK-29141] Update scala suffixes
---
 downloads.md    | 18 +++++++++---------
 downloads.zh.md | 18 +++++++++---------
 2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/downloads.md b/downloads.md
index 9f131a0f2..a4a98f266 100644
--- a/downloads.md
+++ b/downloads.md
@@ -207,7 +207,7 @@ Along with our releases, we also provide sha512 hashes in 
`*.sha512` files and c
 
 You can add the following dependencies to your `pom.xml` to include Apache 
Flink in your project. These dependencies include a local execution environment 
and thus support local testing.
 
-- **Scala API**: To use the Scala API, replace the `flink-java` artifact id 
with `flink-scala_2.11` and `flink-streaming-java_2.11` with 
`flink-streaming-scala_2.11`.
+- **Scala API**: To use the Scala API, replace the `flink-java` artifact id 
with `flink-scala_2.12` and `flink-streaming-java` with 
`flink-streaming-scala_2.12`.
 
 ```xml
 <dependency>
@@ -217,12 +217,12 @@ You can add the following dependencies to your `pom.xml` 
to include Apache Flink
 </dependency>
 <dependency>
   <groupId>org.apache.flink</groupId>
-  <artifactId>flink-streaming-java_2.11</artifactId>
+  <artifactId>flink-streaming-java</artifactId>
   <version>{{ site.FLINK_VERSION_STABLE }}</version>
 </dependency>
 <dependency>
   <groupId>org.apache.flink</groupId>
-  <artifactId>flink-clients_2.11</artifactId>
+  <artifactId>flink-clients</artifactId>
   <version>{{ site.FLINK_VERSION_STABLE }}</version>
 </dependency>
 ```
@@ -254,26 +254,26 @@ You can add the following dependencies to your `pom.xml` 
to include Apache Flink
 ```xml
 <dependency>
   <groupId>org.apache.flink</groupId>
-  <artifactId>flink-ml-core_2.12</artifactId>
+  <artifactId>flink-ml-core</artifactId>
   <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
 </dependency>
 <dependency>
   <groupId>org.apache.flink</groupId>
-  <artifactId>flink-ml-iteration_2.12</artifactId>
+  <artifactId>flink-ml-iteration</artifactId>
   <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
 </dependency>
 <dependency>
   <groupId>org.apache.flink</groupId>
-  <artifactId>flink-ml-lib_2.12</artifactId>
+  <artifactId>flink-ml-lib</artifactId>
   <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
 </dependency>
 ```
 
 Advanced users could only import a minimal set of Flink ML dependencies for 
their target use-cases:
 
-- Use artifact `flink-ml-core_2.12` in order to develop custom ML algorithms.
-- Use artifacts `flink-ml-core_2.12` and `flink-ml-iteration_2.12` in order to 
develop custom ML algorithms which require iteration.
-- Use artifact `flink-ml-lib_2.12` in order to use the off-the-shelf ML 
algorithms from Flink ML.
+- Use artifact `flink-ml-core` in order to develop custom ML algorithms.
+- Use artifacts `flink-ml-core` and `flink-ml-iteration` in order to develop 
custom ML algorithms which require iteration.
+- Use artifact `flink-ml-lib` in order to use the off-the-shelf ML algorithms 
from Flink ML.
 
 ### Apache Flink Kubernetes Operator
 
diff --git a/downloads.zh.md b/downloads.zh.md
index 5977636df..7be268512 100644
--- a/downloads.zh.md
+++ b/downloads.zh.md
@@ -204,7 +204,7 @@ Apache Flink® Table Store {{ 
site.FLINK_TABLE_STORE_VERSION_STABLE }} is the la
 
 你只要将以下依赖项添加到 `pom.xml` 中,就能在项目中引入 Apache Flink 。这些依赖项包含了本地执行环境,因此支持本地测试。
 
-- **Scala API**: 为了使用 Scala API,将 `flink-java` 的 artifact id 替换为 
`flink-scala_2.11`,同时将 `flink-streaming-java_2.11` 替换为 
`flink-streaming-scala_2.11`。
+- **Scala API**: 为了使用 Scala API,将 `flink-java` 的 artifact id 替换为 
`flink-scala_2.12`,同时将 `flink-streaming-java` 替换为 `flink-streaming-scala_2.12`。
 
 ```xml
 <dependency>
@@ -214,12 +214,12 @@ Apache Flink® Table Store {{ 
site.FLINK_TABLE_STORE_VERSION_STABLE }} is the la
 </dependency>
 <dependency>
   <groupId>org.apache.flink</groupId>
-  <artifactId>flink-streaming-java_2.11</artifactId>
+  <artifactId>flink-streaming-java</artifactId>
   <version>{{ site.FLINK_VERSION_STABLE }}</version>
 </dependency>
 <dependency>
   <groupId>org.apache.flink</groupId>
-  <artifactId>flink-clients_2.11</artifactId>
+  <artifactId>flink-clients</artifactId>
   <version>{{ site.FLINK_VERSION_STABLE }}</version>
 </dependency>
 ```
@@ -251,26 +251,26 @@ Apache Flink® Table Store {{ 
site.FLINK_TABLE_STORE_VERSION_STABLE }} is the la
 ```xml
 <dependency>
   <groupId>org.apache.flink</groupId>
-  <artifactId>flink-ml-core_2.12</artifactId>
+  <artifactId>flink-ml-core</artifactId>
   <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
 </dependency>
 <dependency>
   <groupId>org.apache.flink</groupId>
-  <artifactId>flink-ml-iteration_2.12</artifactId>
+  <artifactId>flink-ml-iteration</artifactId>
   <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
 </dependency>
 <dependency>
   <groupId>org.apache.flink</groupId>
-  <artifactId>flink-ml-lib_2.12</artifactId>
+  <artifactId>flink-ml-lib</artifactId>
   <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
 </dependency>
 ```
 
 高级用户可以根据使用场景来只包含最小集合的依赖:
 
-- 依赖组件 `flink-ml-core_2.12` 来开发不使用迭代的自定义机器学习算法。
-- 依赖组件 `flink-ml-core_2.12` 与 `flink-ml-iteration_2.12` 来开发使用迭代的自定义机器学习算法。
-- 依赖组件 `flink-ml-lib_2.12` 来使用 Flink ML 提供的机器学习算法。
+- 依赖组件 `flink-ml-core` 来开发不使用迭代的自定义机器学习算法。
+- 依赖组件 `flink-ml-core` 与 `flink-ml-iteration` 来开发使用迭代的自定义机器学习算法。
+- 依赖组件 `flink-ml-lib` 来使用 Flink ML 提供的机器学习算法。
 
 ## 旧版本的更新策略
 截至2017年3月,Flink 
社区[决定](http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/DISCUSS-Time-based-releases-in-Flink-tp15386p15394.html)使用
 bugfix 来支持当前和之前的次要版本。如果 1.2.x 是当前的正式版本,则 1.1.y 是之前的次要支持版本。这两个版本都将收到关键问题的  
bugfix。

Reply via email to