You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2019/05/16 12:33:48 UTC

[flink-shaded] branch master updated: [hotfix][build] Forbid maven 3.3+

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-shaded.git


The following commit(s) were added to refs/heads/master by this push:
     new 9055feb  [hotfix][build] Forbid maven 3.3+
9055feb is described below

commit 9055feb10a1ee31ee7d12ed2151c3df6a25bcd4a
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Thu May 16 14:32:19 2019 +0200

    [hotfix][build] Forbid maven 3.3+
    
    With the addition of hadoop we once again have modules that rely on poms being dependency-reduced during the build.
    Since this no longer works on Maven 3.3+ we have to enforce that older versions are used for releases.
---
 pom.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pom.xml b/pom.xml
index d668fb2..78ad580 100644
--- a/pom.xml
+++ b/pom.xml
@@ -111,6 +111,10 @@ under the License.
                                         <requireJavaVersion>
                                             <version>1.8.0</version>
                                         </requireJavaVersion>
+                                        <requireMavenVersion>
+                                            <!-- maven version must be lower than 3.3. See FLINK-3158 -->
+                                            <version>(,3.3)</version>
+                                        </requireMavenVersion>
                                     </rules>
                                 </configuration>
                             </execution>