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

[PATCH] add central repository only if no remoteRepository set

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.6
    • Fix Version/s: 2.0.7
    • Component/s: dependencies task
    • Labels:
      None
    • Number of attachments :
      2

      Description

      as stated in http://maven.apache.org/ant-tasks.html "Declaring Repositories":
      "If no remote repositories are specified, the default http://repo1.maven.org/maven2 is used."

      But the actual behavior allways adds central.

      This patch does was is explained in the doc.

      1. MANTTASKS-65.diff
        1 kB
        Herve Boutemy
      2. MANTTASKS-65b.diff
        3 kB
        Herve Boutemy

        Issue Links

          Activity

          Hide
          Herve Boutemy added a comment -

          forgot to update sample.build.xml to match the change

          Show
          Herve Boutemy added a comment - forgot to update sample.build.xml to match the change
          Hide
          Jason van Zyl added a comment -

          Patch applied.

          Show
          Jason van Zyl added a comment - Patch applied.

            People

            • Assignee:
              Jason van Zyl
              Reporter:
              Herve Boutemy
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: