Test org.apache.maven.plugin.eclipse.EclipsePluginUnitTest fails on windows if the temp dir isn't in the same dirve as the sources ----------------------------------------------------------------------------------------------------------------------------------
Key: MECLIPSE-191 URL: http://jira.codehaus.org/browse/MECLIPSE-191 Project: Maven 2.x Eclipse Plugin Issue Type: Bug Affects Versions: 2.3 Reporter: Arnaud Heritier My temp directory is : c:\Temp And my code is stored here : E:\Projects\Maven\SCM\m2-trunks\plugins\maven-eclipse-plugin You can easily reproduce it if you have 2 different drives on windows. I receive this error : {code} ------------------------------------------------------------------------------- Test set: org.apache.maven.plugin.eclipse.EclipsePluginUnitTest ------------------------------------------------------------------------------- Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.313 sec <<< FAILURE! testBuildDirectoryList_ShouldUseTestOutputDirFromProjectWhenBuildOutputDirIsStandard(org.apache.maven.plugin.eclipse.EclipsePluginUnitTest) Time elapsed: 0.047 sec <<< ERROR! org.apache.maven.plugin.MojoExecutionException: Can't canonicalize system path: c:\Temp\EclipsePlugin.unitTest.1163894937203\E:\Projects\Maven\SCM\m2-trunks\plugins\maven-eclipse-plugin\target\main-output at org.apache.maven.plugin.ide.IdeUtils.getCanonicalPath(IdeUtils.java:60) at org.apache.maven.plugin.ide.IdeUtils.toRelativeAndFixSeparator(IdeUtils.java:72) at org.apache.maven.plugin.eclipse.EclipsePlugin.extractResourceDirs(EclipsePlugin.java:976) at org.apache.maven.plugin.eclipse.EclipsePlugin.buildDirectoryList(EclipsePlugin.java:901) at org.apache.maven.plugin.eclipse.EclipsePluginUnitTest.testBuildDirectoryList_ShouldUseTestOutputDirFromProjectWhenBuildOutputDirIsStandard(EclipsePluginUnitTest.java:58) {code} -- 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