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

Michael Osipov closed MANTTASKS-221.
------------------------------------

    Resolution: Won't Fix

Please refer to 
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
 if you're wondering why this issue was closed out.

> localRepository has not effect on the mvn task
> ----------------------------------------------
>
>                 Key: MANTTASKS-221
>                 URL: https://jira.codehaus.org/browse/MANTTASKS-221
>             Project: Maven Ant Tasks
>          Issue Type: Bug
>            Reporter: marco
>
> I have the following ant snippet:
> {code:xml}
> <localRepository id="local.repository" path="/tmp/test_repo" />
> <mvn mavenhome="${m2_home}" dir="${test.maven.dir}" fork="true">
>       <arg value="initialize" />
>       <arg line="-X" />
> </mvn>
> {code}
> Running that code gives this output:
> {noformat}
> [mvn] [DEBUG] Using local repository at /home/mcico/.m2/repository
> [mvn] [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 
> for /home/mcico/.m2/repository
> {noformat}
> I would execpt the mvn task to use that configured local repository instead 
> of the default one.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to