You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by rm...@apache.org on 2021/01/29 11:36:13 UTC
[flink] 01/02: [FLINK-13996][docs] Update instructions on building
with Maven 3.3.x
This is an automated email from the ASF dual-hosted git repository.
rmetzger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
commit 767a8c1dbd428c5198d3b9dd82b5936f3741136d
Author: Robert Metzger <rm...@apache.org>
AuthorDate: Fri Jan 29 11:58:55 2021 +0100
[FLINK-13996][docs] Update instructions on building with Maven 3.3.x
This closes #14805
---
docs/flinkDev/building.md | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/docs/flinkDev/building.md b/docs/flinkDev/building.md
index 24f555a..36b46c4 100644
--- a/docs/flinkDev/building.md
+++ b/docs/flinkDev/building.md
@@ -105,20 +105,25 @@ Flink [shades away](https://maven.apache.org/plugins/maven-shade-plugin/) some o
The dependency shading mechanism was recently changed in Maven and requires users to build Flink slightly differently, depending on their Maven version:
-**Maven 3.1.x and 3.2.x**
+**Maven and 3.2.x**
It is sufficient to call `mvn clean install -DskipTests` in the root directory of Flink code base.
**Maven 3.3.x**
-The build has to be done in two steps: First in the base directory, then in the distribution project:
+The build has to be done in two steps: First in the base directory, then in shaded modules, such as the distribution and the filesystems:
{% highlight bash %}
mvn clean install -DskipTests
cd flink-dist
mvn clean install
+cd ../flink-filesystems/flink-s3-fs-presto/
+mvn clean install -DskipTests
+...
{% endhighlight %}
*Note:* To check your Maven version, run `mvn --version`.
+*Note:* We recommend using the latest Maven 3.2.x version for building production grade Flink distributions, as this is the version the Flink developers are using for the official releases and testing.
+
{% top %}