You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Gier (JIRA)" <ji...@codehaus.org> on 2009/06/24 00:45:54 UTC

[jira] Updated: (MANTTASKS-152) Mvn task omit localRepository param

     [ http://jira.codehaus.org/browse/MANTTASKS-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier updated MANTTASKS-152:
--------------------------------

    Fix Version/s: 2.1.0

> 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
>             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