maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Simmendinger (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-4717) Repository Ids containing ":" will lead to checksum errors on Windows machines
Date Mon, 05 Jul 2010 11:06:32 GMT
Repository Ids containing ":" will lead to checksum errors on Windows machines
------------------------------------------------------------------------------

                 Key: MNG-4717
                 URL: http://jira.codehaus.org/browse/MNG-4717
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Artifacts and Repositories
    Affects Versions: 2.2.1
         Environment: Windows 7
            Reporter: Felix Simmendinger


If a repositorys id element contains a ":" character, maven tries to create a {{repository-metadata-<<repositoryId>>.xml}}
file under certain circumstances (in our case when version ranges are used). Under windows
this is not possible and will lead to an error looking like this:
{code}
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
[WARNING] repository metadata for: 'artifact XX:XX' could not be retrieved from repository:
YY:YY due to an error: Error copying temporary file to the final destination: Die Syntax f├╝r
den Dateinamen, Verzeichnisnamen oder die Datentr├Ągerbezeichnung ist falsch
{code} 

The Problem is in org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata#getLocalFilename.

Better Logging, robustness check or documentation of this issue would be helpfull.

-- 
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

       

Mime
View raw message