Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1402

http authentication is disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.3.0
    • None
    • Ant
    • Ubuntu 12.10, Ant 1.8.2, Ivy 2.3.0 release.

    Description

      When I try to publish to a Sonatype Nexus server, with <credentials/> fully populated, according to the Nexus debug logs, the header was empty, so it goes with anonymous. According to ant -debug, at the end of the deliver block:
      Jan 31, 2013 9:41:36 AM org.apache.commons.httpclient.HttpMethodDirector isAuthenticationNeeded
      INFO: Authentication requested but doAuthentication is disabled

      Why is doAuthentication disabled? How can I enable it? I have all the 2.3.0 dependencies in the lib folder of the project, so it uses its commons-httpclient-3.0.jar rather then the jdk (which doesn't support http auth, apparently?)

      Until I put commons-httpclient-3.0.jar into its lib/classpath folder, it wasn't even trying. Now it says requested but doAuthentication is disabled.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kschoenh Kelly Schoenhofen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: