[
http://jira.codehaus.org/browse/MANTTASKS-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Gier closed MANTTASKS-152.
-------------------------------
Resolution: Fixed
Fixed in [r788078|http://svn.apache.org/viewvc?view=rev&revision=788078].
Thanks for the patch!
> Mvn task omit localRepository param
> -----------------------------------
>
> Key: MANTTASKS-152
> URL: http://jira.codehaus.org/browse/MANTTASKS-152
> Project: Maven 2.x Ant Tasks
> Issue Type: Bug
> Components: mvn task
> Affects Versions: 2.0.10
> Reporter: Arkadiusz Kleszcz
> Assignee: Paul Gier
> Fix For: 2.1.0
>
> Attachments: Mvn.java.patch
>
>
> when user don't set mavenHome property for mvn Task, this tries to download
> specified maven-related files into default %user%/.m2/repository directory.
> Even, when I speciefied the localRepository param, this is ommited by this
> task.
> To solve this problem simply add ( in method downloadAndConfigureMaven())
> this line :
> [...]
> depsTask.addLocalRepository(getLocalRepository());
> [...]
--
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