Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-401

Access Denied due to missing User-Agent

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.6
    • Component/s: wagon-http
    • Labels:
      None

      Description

      In the last week of August 2013 the policy of Maven Central has been changed. Files like maven-metadata.xml now require a User-Agent in their request.
      Otherwise it will fail with an Access Denied status.

      The preferred solution is an adjustment of the policy at Maven Central, but it wouldn't harm if Wagon would set the User-agent.

      The attached could be considered as a smoketest.

      Update: In the second week of September 2013 the requirement has been reverted.

        Attachments

        1. accessdenied-test.patch
          1 kB
          Robert Scholte

          Issue Links

            Activity

              People

              • Assignee:
                hboutemy Herve Boutemy
                Reporter:
                rfscholte Robert Scholte
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: