[ http://jira.codehaus.org/browse/MNG-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MNG-3060. ----------------------------- Resolution: Won't Fix IMO, this is better to enforce when needed rather than add this layer of complexity. In general, Maven needs to be backwards compatible (2.0.6 is hopefully an exception to the rule), so it should be a very minimal edge case. You might also refer to these scripts as an easy way to switch: MNG-2730 > backwards compatible maven command line > --------------------------------------- > > Key: MNG-3060 > URL: http://jira.codehaus.org/browse/MNG-3060 > Project: Maven 2 > Issue Type: New Feature > Components: Command Line > Reporter: Ryan Christianson > > I work for a company that is using maven 2.0.4. We are looking at upgrading > to 2.0.6, but we have many projects that might be broken by the upgrade. This > means that we need to upgrade all of our old projects, which its expensive. > I'm wondering if this could be solved by updating the command line tool to > support multiple installed versions of maven. > It might work like this: > - add a "suggested maven version" to pom.xml files (eg. > <mavenVersion>2.0.4</mavenVersion> > - update the mvn command line tool to look for the suggested version maven as > class paths like this: > - M2_HOME_2_0_4 would be maven 2.0.4, M2_HOME_2_0_6 would be 2.0.6 and so on. > - if no M2_HOME_{$VERSION} is found, then use M2_HOME -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira