Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4044

Misleading error messages when local repository is not writable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1.0-M1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Linux - Ubuntu 8.04 Server - JDK Sun 1.6.0_06 - Maven 2.0.9

      Description

      When the local repository is not writable, the error messages when downloading an artifact does not allow to pin down the issue quickly.

      Maven only reports that the artifact cannot be downloaded, and the root cause is displayed as :
      Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository

      No message in the trace indicates a problem with the local repository.

      The full trace with a clean local repository is attached.

        Attachments

        1. unwritable_local_repository.txt
          6 kB
          Clément Denis

          Issue Links

            Activity

              People

              • Assignee:
                brettporter Brett Porter
                Reporter:
                clement.denis Clément Denis
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: