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
    • Priority: Major 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

          clem clem created issue -
          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
          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 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?
          Vincent Massol made changes -
          Field Original Value New Value
          Workflow Maven [ 46015 ] Maven New [ 48291 ]
          John Casey made changes -
          Fix Version/s 2.1 [ 11704 ]
          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.
          Olle Hallin made changes -
          Link This issue is related to MNG-2264 [ MNG-2264 ]
          Davy Toch made changes -
          Link This issue is related to MNG-2360 [ MNG-2360 ]
          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'.
          Jason van Zyl made changes -
          Fix Version/s 2.1.x [ 13142 ]
          Fix Version/s 2.1 [ 11704 ]
          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.
          Jason van Zyl made changes -
          Fix Version/s 2.1.x [ 13142 ]
          Key MNG-1964 MANTTASKS-12
          Workflow Maven New [ 48291 ] jira [ 69342 ]
          Component/s Ant tasks [ 11532 ]
          Affects Version/s 2.0 [ 11703 ]
          Project Maven 2 [ 10500 ] Maven 2.x Ant Tasks [ 11533 ]
          Brett Porter made changes -
          Workflow jira [ 69342 ] Maven New [ 69376 ]
          Hervé Boutemy made changes -
          Link This issue relates to MANTTASKS-65 [ MANTTASKS-65 ]
          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.
          Jason van Zyl made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Jason van Zyl made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Jason van Zyl made changes -
          Fix Version/s 2.0.7 [ 13521 ]
          Affects Version/s 2.0.6 [ 13351 ]
          Jason van Zyl made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 09:00:58 UTC 2015 [ 1428224458201 ]
          Mark Thomas made changes -
          Workflow jira [ 12716124 ] Default workflow, editable Closed status [ 12760094 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 22:08:22 UTC 2015 [ 1428271702400 ]
          Mark Thomas made changes -
          Workflow jira [ 12953442 ] Default workflow, editable Closed status [ 12990565 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          499d 3h 41m 1 Jason van Zyl 27/May/07 20:00
          Closed Closed Reopened Reopened
          12m 48s 1 Jason van Zyl 27/May/07 20:12
          Reopened Reopened Closed Closed
          1m 44s 1 Jason van Zyl 27/May/07 20:14

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development