[ 
https://jira.codehaus.org/browse/MNG-5501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=339894#comment-339894
 ] 

Jason van Zyl commented on MNG-5501:
------------------------------------

The prerequisite field is to stop plugins that use this field from running in 
an inappropriate version of Maven. Probably not clearly documented. But, yes, 
this is what the enforcer plugin is for.
                
> Prerequisites don't work against Maven-3.1.0
> --------------------------------------------
>
>                 Key: MNG-5501
>                 URL: https://jira.codehaus.org/browse/MNG-5501
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: POM
>    Affects Versions: 3.0.4, 3.0.5, 3.1.0
>            Reporter: Michael Semb Wever
>
> adding 
> {code}<prerequisites><maven>3.1.0</maven></prerequisites>{code}
> does not stop the project from being built with mvn-3.0.4 or mvn-3.0.5
> Is Prerequisites suppose to work or not?
> Because there is no sign of it being deprecated throughout the documentation.
> (I don't want to use the enforcer plugin).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to