[
https://jira.codehaus.org/browse/MNG-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Benedict updated MNG-4760:
-------------------------------
Fix Version/s: (was: Issues to be reviewed for 3.x)
> Way to activate profile based on Maven version
> ----------------------------------------------
>
> Key: MNG-4760
> URL: https://jira.codehaus.org/browse/MNG-4760
> Project: Maven
> Issue Type: New Feature
> Components: Profiles
> Affects Versions: 3.0-beta-2
> Environment: n/a
> Reporter: Anders Hammar
> Attachments: MNG-4760-maven-model-builder.patch,
> MNG-4760-maven-model-builder.patch, MNG-4760-maven-model-builder.patch,
> MNG-4760-maven-model.patch, MNG-4760-maven-model.patch
>
>
> A profile activation that checks the version of Maven being used would be
> good. For example, the site plugin requires a different version when Maven 3
> is used. Currently, this is done through a profile that activates based on
> teh fact that the basedir expression is only recognized by Maven 3.x, which
> is IMO a not-so-pretty solution. (See
> https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+and+site+plugin#Maven3.xandsiteplugin-Usingmavensiteplugin2.xwithMaven2.xandmavensiteplugin3.xwithMaven3.x)
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)