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 <bvah...@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>