Art O Cathain created MDEP-353: ---------------------------------- Summary: Unit tests fail on Windows Key: MDEP-353 URL: https://jira.codehaus.org/browse/MDEP-353 Project: Maven 2.x Dependency Plugin Issue Type: Bug Affects Versions: 2.5 Environment: Windows 7, x86_64 Reporter: Art O Cathain Priority: Minor Attachments: build-windows.patch
The TestGetMojo unit test of this plugin fail for me on Windows with org.apache.maven.plugin.MojoExecutionException: Couldn't download artifact: Unable to download the artifact from any repository The root cause is an IOException at AbstractWagon line 203: java.io.FileNotFoundException: [snip]maven-dependency-plugin\target\unit-tests\markers\org.apache.maven:maven-model:jar:2.0.9.tmp (The filename, directory name, or volume label syntax is incorrect) The StubArtifactRepository is trying to create a file with a colon in it, and Windows doesn't like that. See attached patch for a possible fix. It might be better to fix StubArtifactRepository in the maven-plugin-testing-harness but I'm a little nervous of breaking other plugin builds. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira