You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arkadiusz Kleszcz (JIRA)" <ji...@codehaus.org> on 2009/06/10 20:31:42 UTC

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

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

        

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

Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
     [ 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