Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.1
-
None
-
Windows 7
Description
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:
[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
The Problem is in org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata#getLocalFilename.
Better Logging, robustness check or documentation of this issue would be helpfull.