You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Clement Denis (JIRA)" <ji...@codehaus.org> on 2008/09/04 12:53:48 UTC
[jira] Created: (WAGON-241) Misleading error messages when local
repository is not writable
Misleading error messages when local repository is not writable
---------------------------------------------------------------
Key: WAGON-241
URL: http://jira.codehaus.org/browse/WAGON-241
Project: Maven Wagon
Issue Type: Bug
Components: wagon-http
Affects Versions: 1.0-beta-2
Environment: Linux - Ubuntu 8.04 Server - JDK Sun 1.6.0_06 - Maven 2.0.9
Reporter: Clement Denis
Priority: Minor
Attachments: unwritable_local_repository.txt
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MNG-4044) Misleading error messages when local
repository is not writable
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=166186#action_166186 ]
Brett Porter commented on MNG-4044:
-----------------------------------
Wagon is correctly throwing a TransferFailedException - in 2.1.0-M2-SNAPSHOT, you can use -X to reveal the error "Specified destination directory cannot be created". The problem is that Maven is tossing out the message from that exception in the resolution process.
> Misleading error messages when local repository is not writable
> ---------------------------------------------------------------
>
> Key: MNG-4044
> URL: http://jira.codehaus.org/browse/MNG-4044
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 2.1.0-M1
> Environment: Linux - Ubuntu 8.04 Server - JDK Sun 1.6.0_06 - Maven 2.0.9
> Reporter: Clement Denis
> Priority: Minor
> Fix For: 2.0.x
>
> Attachments: unwritable_local_repository.txt
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (WAGON-241) Misleading error messages when local
repository is not writable
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated WAGON-241:
-------------------------------
Fix Version/s: 1.0-beta-5
> Misleading error messages when local repository is not writable
> ---------------------------------------------------------------
>
> Key: WAGON-241
> URL: http://jira.codehaus.org/browse/WAGON-241
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-http
> Affects Versions: 1.0-beta-2
> Environment: Linux - Ubuntu 8.04 Server - JDK Sun 1.6.0_06 - Maven 2.0.9
> Reporter: Clement Denis
> Priority: Minor
> Fix For: 1.0-beta-5
>
> Attachments: unwritable_local_repository.txt
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Moved: (MNG-4044) Misleading error messages when local
repository is not writable
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter moved WAGON-241 to MNG-4044:
-----------------------------------------
Affects Version/s: (was: 1.0-beta-2)
2.1.0-M1
Fix Version/s: (was: 1.0-beta-5)
2.0.x
Component/s: (was: wagon-http)
Artifacts and Repositories
Complexity: Intermediate
Key: MNG-4044 (was: WAGON-241)
Project: Maven 2 (was: Maven Wagon)
> Misleading error messages when local repository is not writable
> ---------------------------------------------------------------
>
> Key: MNG-4044
> URL: http://jira.codehaus.org/browse/MNG-4044
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 2.1.0-M1
> Environment: Linux - Ubuntu 8.04 Server - JDK Sun 1.6.0_06 - Maven 2.0.9
> Reporter: Clement Denis
> Priority: Minor
> Fix For: 2.0.x
>
> Attachments: unwritable_local_repository.txt
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MNG-4044) Misleading error messages when local
repository is not writable
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MNG-4044.
-----------------------------
Assignee: Brett Porter
Resolution: Duplicate
Fix Version/s: (was: 2.0.x)
> Misleading error messages when local repository is not writable
> ---------------------------------------------------------------
>
> Key: MNG-4044
> URL: http://jira.codehaus.org/browse/MNG-4044
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 2.1.0-M1
> Environment: Linux - Ubuntu 8.04 Server - JDK Sun 1.6.0_06 - Maven 2.0.9
> Reporter: Clement Denis
> Assignee: Brett Porter
> Priority: Minor
> Attachments: unwritable_local_repository.txt
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira