Repository: maven
Updated Branches:
  refs/heads/master ab403412a -> a839e55e7


MNG-5297: Mark <prerequisites> as deprecated for compile-time enforcement.

MNG-4840 indicates that the Enforcer plugin should be
preferred to <prerequisites> for compile-time Maven version enforcement.
Indicate that in the documentation, making clear that it's still
supported for runtime requirements for a plugin.

Signed-off-by: Jason van Zyl <ja...@tesla.io>

closes #51


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

Branch: refs/heads/master
Commit: a839e55e7e5e057be2dafbd9eb1ebfb82d7598ed
Parents: ab40341
Author: Joseph Walton <j...@kafsemo.org>
Authored: Thu Jun 18 01:19:46 2015 +1000
Committer: Jason van Zyl <ja...@tesla.io>
Committed: Fri Sep 11 18:58:40 2015 -0400

----------------------------------------------------------------------
 maven-model/src/main/mdo/maven.mdo | 10 +++++++---
 pom.xml                            |  3 +++
 2 files changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/a839e55e/maven-model/src/main/mdo/maven.mdo
----------------------------------------------------------------------
diff --git a/maven-model/src/main/mdo/maven.mdo 
b/maven-model/src/main/mdo/maven.mdo
index b74a38c..6066e5d 100644
--- a/maven-model/src/main/mdo/maven.mdo
+++ b/maven-model/src/main/mdo/maven.mdo
@@ -3483,9 +3483,13 @@
           <type>String</type>
           <defaultValue>2.0</defaultValue>
           <description><![CDATA[
-            The minimum version of Maven required to build the project.<br />
-            If this project builds a plugin, this is in addition the minimum 
version of Maven required to use
-            the resulting plugin.]]>
+            For a plugin project, the minimum version of Maven required to use
+            the resulting plugin.<br>
+            For specifying the minimum version of Maven required to build a
+            project, this element is <b>deprecated</b>. Use the Maven Enforcer
+            Plugin's <a 
href="https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html";><code>requireMavenVersion</code></a>
+            rule instead.
+            ]]>
           </description>
           <required>false</required>
         </field>

http://git-wip-us.apache.org/repos/asf/maven/blob/a839e55e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d0e07f9..afb0c28 100644
--- a/pom.xml
+++ b/pom.xml
@@ -137,6 +137,9 @@
     <contributor>
       <name>Anton Tanasenko</name>
     </contributor>
+    <contributor>
+      <name>Joseph Walton (MNG-5297)</name>
+    </contributor>
   </contributors>
 
   <prerequisites>

Reply via email to