You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by fp...@apache.org on 2019/05/26 18:00:29 UTC
[shiro] branch master updated: [SHIRO-692] Upgrade and enforce min buid maven version to 3.5.0
This is an automated email from the ASF dual-hosted git repository.
fpapon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shiro.git
The following commit(s) were added to refs/heads/master by this push:
new 8909bee [SHIRO-692] Upgrade and enforce min buid maven version to 3.5.0
new 1608927 Merge pull request #136 from fpapon/SHIRO-692
8909bee is described below
commit 8909bee00fc8c870bf56899e79c492f71dfe79fc
Author: Francois Papon <fp...@apache.org>
AuthorDate: Sun May 26 21:26:54 2019 +0400
[SHIRO-692] Upgrade and enforce min buid maven version to 3.5.0
---
pom.xml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/pom.xml b/pom.xml
index c113c47..80f345e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -126,6 +126,10 @@
</properties>
+ <prerequisites>
+ <maven>3.5.0</maven>
+ </prerequisites>
+
<modules>
<module>lang</module>
<module>crypto</module>
@@ -394,6 +398,11 @@
</parameter>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>3.0.0-M2</version>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -599,6 +608,28 @@
<serverId>apache.releases.https</serverId>
</configuration>
</plugin>
+ <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,4)</version>
+ </requireMavenVersion>
+ <requireJavaVersion>
+ <version>[1.8,)</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>