You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2020/09/13 20:28:39 UTC

[camel] branch maven-prerequisites created (now 46d4288)

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

bvahdat pushed a change to branch maven-prerequisites
in repository https://gitbox.apache.org/repos/asf/camel.git.


      at 46d4288  fix the broken mvn sourcecheck step in build

This branch includes the following new commits:

     new 46d4288  fix the broken mvn sourcecheck step in build

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] 01/01: fix the broken mvn sourcecheck step in build

Posted by bv...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bvahdat pushed a commit to branch maven-prerequisites
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 46d4288946cb3a3b515dd8e2ccb6a54591f11f5f
Author: Babak Vahdat <bv...@apache.org>
AuthorDate: Sun Sep 13 22:28:08 2020 +0200

    fix the broken mvn sourcecheck step in build
---
 pom.xml | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index bbddb7c..47e0e17 100644
--- a/pom.xml
+++ b/pom.xml
@@ -67,10 +67,6 @@
         </mailingList>
     </mailingLists>
 
-    <prerequisites>
-        <maven>3.5.0</maven>
-    </prerequisites>
-
     <modules>
         <module>parent</module>
         <module>camel-dependencies</module>
@@ -201,6 +197,25 @@
 
         <plugins>
             <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-enforcer-plugin</artifactId>
+              <executions>
+                <execution>
+                  <id>enforce-maven</id>
+                  <goals>
+                    <goal>enforce</goal>
+                  </goals>
+                  <configuration>
+                    <rules>
+                      <requireMavenVersion>
+                        <version>3.5.0</version>
+                      </requireMavenVersion>
+                    </rules>    
+                  </configuration>
+                </execution>
+              </executions>
+            </plugin>
+            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>flatten-maven-plugin</artifactId>
                 <configuration>