Ivy
  1. Ivy
  2. IVY-1328

Ivy cannot resolve artefacts from repositories that return HTTP 204 in response to an HTTP HEAD request

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0-RC1
    • Component/s: Core
    • Labels:
      None

      Description

      Some Maven repo servers will respond with an HTTP 204 (no content) when a HEAD request is made for a resource. For example:

      curl -I http://teleal.org/m2/org/teleal/cling/cling-core/1.0.5/cling-core-1.0.5.pom
      

      will respond with a 204. Ivy's BasicURLHandler class will treat this as a failed lookup.

        Activity

        Rob Fletcher created issue -
        Rob Fletcher made changes -
        Field Original Value New Value
        Description Some Maven repo servers will respond with an HTTP 204 (no content) when a HEAD request is made for a resource. For example: {{curl -I http://teleal.org/m2/org/teleal/cling/cling-core/1.0.5/cling-core-1.0.5.pom}} will respond with a 204. Ivy's BasicURLHandler class will treat this as a failed lookup. Some Maven repo servers will respond with an HTTP 204 (no content) when a HEAD request is made for a resource. For example:
        {code}
        curl -I http://teleal.org/m2/org/teleal/cling/cling-core/1.0.5/cling-core-1.0.5.pom
        {code}
        will respond with a 204. Ivy's BasicURLHandler class will treat this as a failed lookup.
        Hide
        Maarten Coene added a comment -

        I've committed a fix in SVN trunk for this problem.
        Could you give it a try and post your feedback here?

        Thanks!
        Maarten

        Show
        Maarten Coene added a comment - I've committed a fix in SVN trunk for this problem. Could you give it a try and post your feedback here? Thanks! Maarten
        Maarten Coene made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Maarten Coene [ maartenc ]
        Fix Version/s trunk [ 12313426 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Maarten Coene
            Reporter:
            Rob Fletcher
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development