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

No means of preventing ant task from querying repo1.maven.org

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.6
    • Fix Version/s: 2.0.7
    • Component/s: None
    • Labels:
      None

      Description

      There's currently no method to prevent the ant task from checking repo1.maven.org for artifacts, even if another repository is specified.

        Issue Links

          Activity

          Hide
          jvanzyl Jason van Zyl added a comment -

          This has been fixed by HB.

          Show
          jvanzyl Jason van Zyl added a comment - This has been fixed by HB.
          Hide
          bens Ben Speakmon added a comment -

          Same problem here; it wouldn't even honor an overridden "central" repository in ~/.m2/settings.xml.

          Show
          bens Ben Speakmon added a comment - Same problem here; it wouldn't even honor an overridden "central" repository in ~/.m2/settings.xml.
          Hide
          dtoch Davy Toch added a comment -

          Encountered similar problem with M2/ANT task 'install-provider'.

          Show
          dtoch Davy Toch added a comment - Encountered similar problem with M2/ANT task 'install-provider'.
          Hide
          olle.hallin Olle Hallin added a comment -

          How about mirroring "central" in settings.xml?
          Of course, the ant task must read settings.xml, which is another issue.

          Show
          olle.hallin Olle Hallin added a comment - How about mirroring "central" in settings.xml? Of course, the ant task must read settings.xml, which is another issue.
          Hide
          clem clem clem added a comment -

          I've attempted changing our repository id to "central" but still http://repo1.maven.org/maven2 is queried. I defined the repository "central" to be a legacy repository, given that we still use maven 1.x. Could this be related to this issue?

          Show
          clem clem clem added a comment - I've attempted changing our repository id to "central" but still http://repo1.maven.org/maven2 is queried. I defined the repository "central" to be a legacy repository, given that we still use maven 1.x. Could this be related to this issue?
          Hide
          brettporter Brett Porter added a comment -

          what about using the id "central"?

          Show
          brettporter Brett Porter added a comment - what about using the id "central"?

            People

            • Assignee:
              Unassigned
              Reporter:
              clem clem clem
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development