Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-221

localRepository has not effect on the mvn task

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      I have the following ant snippet:

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

      Running that code gives this output:

      [mvn] [DEBUG] Using local repository at /home/mcico/.m2/repository
      [mvn] [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for /home/mcico/.m2/repository
      

      I would execpt the mvn task to use that configured local repository instead of the default one.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcico marco
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: