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

acosentino pushed a commit to branch enforcer-conf
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git

commit 43bf6ea917cb18dce40d4f777387efee9b77dc20
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Thu Feb 25 07:36:03 2021 +0100

    Maven-Enforcer-plugin: Set the minimal maven version to 3.6.3
---
 pom.xml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/pom.xml b/pom.xml
index 2aa33a0..7469500 100644
--- a/pom.xml
+++ b/pom.xml
@@ -126,6 +126,21 @@
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-enforcer-plugin</artifactId>
                     <version>${maven-enforcer-plugin-version}</version>
+                    <executions>
+                      <execution>
+                      <id>enforce-maven</id>
+                        <goals>
+                          <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                          <rules>
+                            <requireMavenVersion>
+                              <version>${maven-version}</version>
+                            </requireMavenVersion>
+                          </rules>    
+                        </configuration>
+                      </execution>
+                    </executions>
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>

Reply via email to