You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2017/05/03 11:42:50 UTC

[2/2] wicket git commit: Remove a prerequisite. This fixes the following Maven warning:

Remove a prerequisite. This fixes the following Maven warning:

[WARNING] The project org.apache.wicket:wicket-parent:pom:8.0.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/ed590f24
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/ed590f24
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/ed590f24

Branch: refs/heads/master
Commit: ed590f24c7a3901c5c60de9109b11c25446edd6a
Parents: e49a7fc
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Wed May 3 13:42:27 2017 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Wed May 3 13:42:27 2017 +0200

----------------------------------------------------------------------
 pom.xml | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/ed590f24/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 14ec746..a4623ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,9 +17,6 @@
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 	<modelVersion>4.0.0</modelVersion>
-	<prerequisites>
-		<maven>3.3.9</maven>
-	</prerequisites>
 	<parent>
 		<groupId>org.apache</groupId>
 		<artifactId>apache</artifactId>
@@ -792,6 +789,21 @@
 					<groupId>org.apache.maven.plugins</groupId>
 					<artifactId>maven-enforcer-plugin</artifactId>
 					<version>1.4.1</version>
+					<executions>
+						<execution>
+							<id>enforce-maven</id>
+							<goals>
+								<goal>enforce</goal>
+							</goals>
+							<configuration>
+								<rules>
+									<requireMavenVersion>
+										<version>3.3.9</version>
+									</requireMavenVersion>
+								</rules>
+							</configuration>
+						</execution>
+					</executions>
 					<configuration>
 						<rules>
 							<dependencyConvergence />