You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2020/03/18 17:24:18 UTC

[camel-quarkus] 01/02: Define our own requireMavenVersion and skip the one in org.apache:apache

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

ppalaga pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 636ac1cef84b0bb51db1abd0898cc1af28859ba3
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Wed Mar 18 09:51:56 2020 +0100

    Define our own requireMavenVersion and skip the one in org.apache:apache
---
 pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/pom.xml b/pom.xml
index 8d48ddc..ab78a97 100644
--- a/pom.xml
+++ b/pom.xml
@@ -324,6 +324,21 @@
                     <templatesUriBase>file:///${project.basedir}/tooling/create-extension-templates</templatesUriBase>
                 </configuration>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>enforce-maven-version</id>
+                        <!-- enforce-maven-version is defined in org.apache:apache -->
+                        <!-- we skip for the whole Camel Quarkus tree because we have -->
+                        <!-- an analogous check in camel-quarkus-enforcer-rules -->
+                        <phase>none</phase>
+                    </execution>
+                </executions>
+            </plugin>
+
         </plugins>
 
     </build>
@@ -350,6 +365,9 @@
                                     <goal>enforce</goal>
                                 </goals>
                                 <configuration>
+                                    <requireMavenVersion>
+                                        <version>3.6.2</version>
+                                    </requireMavenVersion>
                                     <rules>
                                         <dependencyConvergence />
                                         <requireMavenVersion>