localRepository has not effect on the mvn task
----------------------------------------------

                 Key: MANTTASKS-221
                 URL: https://jira.codehaus.org/browse/MANTTASKS-221
             Project: Maven 2.x 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to