[
https://issues.apache.org/jira/browse/MNG-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14586588#comment-14586588
]
ASF GitHub Bot commented on MNG-5297:
-------------------------------------
Github user kwin commented on a diff in the pull request:
https://github.com/apache/maven/pull/51#discussion_r32460741
--- Diff: maven-model/src/main/mdo/maven.mdo ---
@@ -3459,6 +3459,7 @@
<type>String</type>
<defaultValue>2.0</defaultValue>
<description><![CDATA[
+ <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.<br>
--- End diff --
This <prerequisites> is still supported for Maven Plugins
(https://issues.apache.org/jira/browse/MNG-5501?focusedCommentId=14419813&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14419813),
therefore rather than deprecating that I would add a hint, that this should
only be used for packaging "plugin".
> Site should tell 'prerequisites.maven is deprecated'
> ----------------------------------------------------
>
> Key: MNG-5297
> URL: https://issues.apache.org/jira/browse/MNG-5297
> Project: Maven
> Issue Type: Bug
> Components: Sites & Reporting
> Affects Versions: 3.0.4
> Reporter: Kengo TODA
> Priority: Minor
>
> MNG-4840 said 'enforcement of the build environment is left to the Maven
> Enforcer Plugin'.
> http://jira.codehaus.org/browse/MNG-4840?focusedCommentId=253900&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-253900
> But currently, there is no 'deprecated' mark at Maven site.
> http://maven.apache.org/ref/3.0.4/maven-model/maven.html#prerequisites
> I think site should has 'deprecated' mark like 'reports' element.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)