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

dependecies task overrides custom definition of 'central' repository

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.2
    • Component/s: None
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      While using
      <artifact:dependencies
      cacheDependencyRefs="false"
      pathId="maven.dependency.classpath"
      useScope="test">
      <pom file="pom.xml"/>
      </artifact:dependencies>

      with pom
      <project>
      ...
      <repositories>
      <repository>
      <id>central</id>
      <url>https://custom/mvn/central</url>
      <snapshots>
      <enabled>true</enabled>
      </snapshots>
      <releases>
      <enabled>true</enabled>
      </releases>
      </repository>

      </repositories>
      </project>

      the task is still trying to resolve my dependecies from http://repo2.maven.org/maven2.

      A patch resolving this issue is attached.

      1. patch2.txt
        2 kB
        Miroslaw Michalski

        Activity

        Hide
        Paul Gier added a comment -

        Patch applied in r1068543.

        Show
        Paul Gier added a comment - Patch applied in r1068543 .

          People

          • Assignee:
            Paul Gier
            Reporter:
            Miroslaw Michalski
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: