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 957eaeda496 [FLINK-32181][docs] Enforce Maven 3.8.6 as required version 957eaeda496 is described below commit 957eaeda496a5a0bc80c86601217a3d643671317 Author: Chesnay Schepler <ches...@apache.org> AuthorDate: Wed Oct 25 16:05:18 2023 +0200 [FLINK-32181][docs] Enforce Maven 3.8.6 as required version --- README.md | 5 +---- pom.xml | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b2691132ffa..a510cc89962 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Prerequisites for building Flink: * Unix-like environment (we use Linux, Mac OS X, Cygwin, WSL) * Git -* Maven (we recommend version 3.8.6 and require at least 3.1.1) +* Maven (we require version 3.8.6) * Java 8 or 11 (Java 9 or 10 may work) ``` @@ -80,9 +80,6 @@ cd flink Flink is now installed in `build-target`. -*NOTE: Maven 3.3.x can build Flink, but will not properly shade away certain dependencies. Maven 3.1.1 creates the libraries properly. -To build unit tests with Java 8, use Java 8u51 or above to prevent failures in unit tests that use the PowerMock runner.* - ## Developing Flink The Flink committers use IntelliJ IDEA to develop the Flink codebase. diff --git a/pom.xml b/pom.xml index 3de7cb078b5..9d3176551dc 100644 --- a/pom.xml +++ b/pom.xml @@ -1396,9 +1396,6 @@ under the License. <rules> <!-- versions for certain build tools are enforced to match the CI setup --> <!-- the rules below should stay in sync with Flink Release wiki documentation and the CI scripts --> - <requireMavenVersion> - <version>[3.8.6]</version> - </requireMavenVersion> <requireJavaVersion> <version>[1.8.0,1.8.1)</version> </requireJavaVersion> @@ -1799,8 +1796,7 @@ under the License. <configuration> <rules> <requireMavenVersion> - <!-- enforce at least mvn version 3.1.1 (see FLINK-12447) --> - <version>[3.1.1,)</version> + <version>[3.8.6]</version> </requireMavenVersion> <requireJavaVersion> <version>${target.java.version}</version>