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

        

Reply via email to