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

Command Line Not Showing ReasonPhrase for Errors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: wagon-http
    • Labels:
      None
    • Environment:
      Windows 10

      Description

      Hi,

      I work in the Azure DevOps Artifacts Packaging team at Microsoft where we provide a Maven service to our customers. We often use a Reason-Phrase to return information on failed requests to customers. This functionality was available in previous versions of maven but seems to have disappeared in Maven 3.6.0. Was this intentional?

      I have included screenshots of the cmd line response using two different maven versions (3.3.9 and 3.6.0). I intentionally made a call that would return a 405 error to be able to get an error response. I also used the same package.

      Thanks

        Attachments

        1. MvnCmdLineV339.PNG
          15 kB
          Aurelie Pluche
        2. MvnCmdLineV339V2.PNG
          27 kB
          Aurelie Pluche
        3. MvnCmdLineV360.PNG
          16 kB
          Aurelie Pluche
        4. MvnCmdLineV360V2.PNG
          23 kB
          Aurelie Pluche

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                apluche Aurelie Pluche
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m