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

unable to use wagon-http-lightweight with maven deploy and release plugins

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-alpha-6
    • Fix Version/s: 1.0-alpha-7
    • Component/s: wagon-http-lightweight
    • Labels:
      None
    • Environment:
      maven 2.0.2 on windows xp.

      Description

      The wagon-http-lightweight fails with response 201 and 204 when using maven deploy and release:perform plugins.

      The error messages are:
      [INFO] Error deploying artifact: Unable to transfer file. HttpURLConnection returned the response code: 201
      [INFO] Error deploying artifact: Unable to transfer file. HttpURLConnection returned the response code: 204

      The wagon-http-lightweight fails because it only handles response code 200 and flags the rest as errors.

      The attached patch file should address this problem as it uses the same code handling mechanism from wagon-http. This patch can also be used to address the WAGONHTTP-7 issue for wagon-http.

      With this patch, the wagon-http and wagon-http-lightweight.will work with webdav for the deploy and release plugin.

        Attachments

          Activity

            People

            • Assignee:
              brettporter Brett Porter
              Reporter:
              ysoonleo ysoonleo
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: