You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by po...@apache.org on 2024/11/16 22:44:27 UTC
(creadur-whisker) 02/04: WHISKER-27: Enable enforcer plugin for at least Maven 3.0.5
This is an automated email from the ASF dual-hosted git repository.
pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-whisker.git
commit 6f5af1226dee60ae21a01daf719123a79d982500
Author: P. Ottlinger <po...@apache.org>
AuthorDate: Sat Nov 16 23:42:33 2024 +0100
WHISKER-27: Enable enforcer plugin for at least Maven 3.0.5
---
pom.xml | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 5bb43c1..a79498a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -311,6 +311,20 @@
<fail>true</fail>
</configuration>
</execution>
+ <!-- This is the version of Maven required to build this project -->
+ <execution>
+ <id>enforce-maven</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>3.0.5</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
</executions>
<dependencies>
<dependency>
@@ -396,10 +410,6 @@
<url>https://www.apache.org</url>
</organization>
<!-- ================================ Environment -->
- <prerequisites>
- <!-- This is the version of Maven required to build this project -->
- <maven>3.0.5</maven>
- </prerequisites>
<issueManagement>
<system>JIRA</system>
<url>https://issues.apache.org/jira/browse/WHISKER</url>