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

Mvn task omit localRepository param

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.10
    • 2.1.0
    • mvn task
    • None
    • Patch

    Description

      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());
      [...]

      Attachments

        1. Mvn.java.patch
          0.6 kB
          Arkadiusz Kleszcz

        Activity

          People

            pgier Paul Gier
            gilder Arkadiusz Kleszcz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: