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

Preemptive authentication still not working with Maven 3.0.4+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Although by default the preemptive authentication should work now with Maven 3.0.4, a wireshare dump exposes, that each request for downloading a new dependency does not initially come with the authentication header. Only after Nexus replied with a 401 the right credentials are set in the authentication header. According to [1], since Maven 3.0.4 the default HTTP wagon uses preemptive authentication which cannot be disabled [2]. Even with Maven 3.1.1 it does not work.

      [1] - http://maven.apache.org/guides/mini/guide-http-settings.html#Maven_3.0.4
      [2] - http://maven.40175.n5.nabble.com/Maven-3-0-4-preemptive-auth-problem-tt5470892.html#none

      Attachments

        1. WAGON-405-MVN3.1.1.log
          99 kB
          Konrad Windszus

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              kwin Konrad Windszus
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: