Maven Ant Tasks
  1. Maven Ant Tasks
  2. MANTTASKS-78

unable to download a dependency when it is a SNAPSHOT and multiple remoteRepositories are used

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.7
    • Fix Version/s: 2.0.8
    • Component/s: dependencies task, pom task
    • Labels:
      None
    • Flags:
      Patch

      Description

      the conditions for this problem are very precise:<artifact:pom file="$

      {user.dir}/src/test/pom-with-parent-SNAPSHOT.xml" id="my.maven.project.SNAPSHOT"> <localRepository path="target/tmp"/> <remoteRepository url="file://${user.dir}

      /src/test/repo"/> <remoteRepository url="file://$

      {user.dir}

      /target/tmp/fake"/></artifact:pom>
      but if the second remoteRepository is removed, or even the 2 repositories switched, there is no problem...

      1. MANTTASKS-78.diff
        3 kB
        Hervé Boutemy

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Hervé Boutemy
              Reporter:
              Hervé Boutemy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development