You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by xv...@apache.org on 2021/03/11 15:30:35 UTC

[druid] branch master updated: use maven enforcer to check maven version (#10977)

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

xvrl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 7a68cd8  use maven enforcer to check maven version (#10977)
7a68cd8 is described below

commit 7a68cd8b86fba6850be559ebc7912acab43171cc
Author: Xavier Léauté <xv...@apache.org>
AuthorDate: Thu Mar 11 07:30:10 2021 -0800

    use maven enforcer to check maven version (#10977)
    
    * removes a warning about prerequisites only being allowed for plugins
    * update maven enforcer plugin to the latest version (3.0.0-M3)
---
 benchmarks/pom.xml | 4 ----
 pom.xml            | 5 ++++-
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/benchmarks/pom.xml b/benchmarks/pom.xml
index 10fc134..d3c7ec5 100644
--- a/benchmarks/pom.xml
+++ b/benchmarks/pom.xml
@@ -30,10 +30,6 @@
     <version>0.22.0-SNAPSHOT</version>
   </parent>
 
-  <prerequisites>
-    <maven>3.0</maven>
-  </prerequisites>
-
   <dependencies>
     <dependency>
       <groupId>org.openjdk.jmh</groupId>
diff --git a/pom.xml b/pom.xml
index c2ff9fc..de76ee1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1475,7 +1475,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-enforcer-plugin</artifactId>
-                <version>1.4.1</version>
+                <version>3.0.0-M3</version>
                 <executions>
                     <execution>
                         <id>default-cli</id>
@@ -1484,6 +1484,9 @@
                         </goals>
                         <configuration>
                             <rules>
+                                <requireMavenVersion>
+                                    <version>3.0.0</version>
+                                </requireMavenVersion>
                                 <requireJavaVersion>
                                     <version>1.8.0</version>
                                 </requireJavaVersion>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org