You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/02/25 06:36:31 UTC

[camel-k-runtime] branch enforcer-conf created (now 43bf6ea)

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

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


      at 43bf6ea  Maven-Enforcer-plugin: Set the minimal maven version to 3.6.3

This branch includes the following new commits:

     new 43bf6ea  Maven-Enforcer-plugin: Set the minimal maven version to 3.6.3

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-k-runtime] 01/01: Maven-Enforcer-plugin: Set the minimal maven version to 3.6.3

Posted by ac...@apache.org.
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 <an...@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>