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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-alpha-6
    • 1.0-alpha-7
    • wagon-http-lightweight
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            brett Brett Porter
            ysoonleo ysoonleo
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment