maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arkadiusz Kleszcz (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MANTTASKS-152) Mvn task omit localRepository param
Date Wed, 10 Jun 2009 18:31:42 GMT
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

        

Mime
View raw message