[
http://jira.codehaus.org/browse/MANTTASKS-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199508#action_199508
]
Paul Gier commented on MANTTASKS-164:
-------------------------------------
The ant-tasks are packaged with a specific version of maven at build time. So
there is not a way to change the version being used until the next release.
The next release of the ant tasks will use the latest stable version of Maven
(2.2.1).
If you need a specific version of Maven other than the one packaged with the
ant tasks, then you are better off using an ant macro as described in the site
documentation.
> specify maven version in mvn task without maven installation
> ------------------------------------------------------------
>
> Key: MANTTASKS-164
> URL: http://jira.codehaus.org/browse/MANTTASKS-164
> Project: Maven 2.x Ant Tasks
> Issue Type: New Feature
> Components: mvn task
> Affects Versions: 2.0.10
> Reporter: David Wallace Croft
> Priority: Minor
>
> In the documentation section "Running the Mvn Task without a Maven
> Installation", it states "Note: this will use version 2.0.10 of the core
> Maven jar files".
> http://maven.apache.org/ant-tasks/examples/mvn.html
> Update the mvn Ant task to use the latest version of Maven or permit the user
> to specify the Maven version as an option.
--
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