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


The following commit(s) were added to refs/heads/master by this push:
     new 0daa8de  [FLINK-13996][docs] Update instructions on building with 
Maven 3.3+
0daa8de is described below

commit 0daa8de738aec00f30cdcb8079a901fd555af293
Author: Robert Metzger <[email protected]>
AuthorDate: Fri Jan 29 15:22:12 2021 +0100

    [FLINK-13996][docs] Update instructions on building with Maven 3.3+
---
 docs/flinkDev/building.md | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/docs/flinkDev/building.md b/docs/flinkDev/building.md
index 36b46c4..5bb6fdd 100644
--- a/docs/flinkDev/building.md
+++ b/docs/flinkDev/building.md
@@ -112,17 +112,22 @@ It is sufficient to call `mvn clean install -DskipTests` 
in the root directory o
 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 %}
+# build overall project
 mvn clean install -DskipTests
+
+# build shaded modules used in dist again, for example:
+cd flink-filesystems/flink-s3-fs-presto/
+mvn clean install -DskipTests
+# ... and other modules
+
+# build dist again to include shaded modules
 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.
+*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 %}
 

Reply via email to