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

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

    Details

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

      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
          Brett Porter added a comment -

          what about using the id "central"?

          Show
          Brett Porter added a comment - what about using the id "central"?
          Hide
          Tim Clemons 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
          Tim Clemons 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
          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 added a comment - How about mirroring "central" in settings.xml? Of course, the ant task must read settings.xml, which is another issue.
          Hide
          Davy Toch added a comment -

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

          Show
          Davy Toch added a comment - Encountered similar problem with M2/ANT task 'install-provider'.
          Hide
          Ben Speakmon added a comment -

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

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

          This has been fixed by HB.

          Show
          Jason van Zyl added a comment - This has been fixed by HB.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: