You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2021/06/08 21:45:27 UTC

[maven-apache-parent] branch master updated: [MPOM-247] Make minimum enforced Maven version configurable via property

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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-apache-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 4fd688a  [MPOM-247] Make minimum enforced Maven version configurable via property
4fd688a is described below

commit 4fd688af9fa9fd264d0a9664334805d7c29f1765
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sun Jan 3 12:58:45 2021 +0100

    [MPOM-247] Make minimum enforced Maven version configurable via property
    
    "minimalMavenBuildVersion"
    
    Closes #29
---
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 7d1a960..4fab2fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -87,6 +87,7 @@ under the License.
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <sourceReleaseAssemblyDescriptor>source-release</sourceReleaseAssemblyDescriptor>
     <gpg.useagent>true</gpg.useagent>
+    <minimalMavenBuildVersion>3.1.1</minimalMavenBuildVersion>
     <maven.compiler.source>1.7</maven.compiler.source>
     <maven.compiler.target>1.7</maven.compiler.target>
     <surefire.version>2.22.2</surefire.version><!-- for surefire, failsafe and surefire-report -->
@@ -332,7 +333,7 @@ under the License.
             <configuration>
               <rules>
                 <requireMavenVersion>
-                  <version>3.1.1</version>
+                  <version>${minimalMavenBuildVersion}</version>
                 </requireMavenVersion>
               </rules>
             </configuration>