eolivelli commented on a change in pull request #205: [SUREFIRE-1602] Surefire fails loading class ForkedBooter when using a sub-directory pom file and a local maven repo URL: https://github.com/apache/maven-surefire/pull/205#discussion_r238454377
########## File path: maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java ########## @@ -2369,7 +2369,21 @@ private Artifact getSurefireBooterArtifact() */ File getSurefireTempDir() { - return IS_OS_WINDOWS ? createSurefireBootDirectoryInTemp() : createSurefireBootDirectoryInBuild(); + File result = IS_OS_WINDOWS ? createSurefireBootDirectoryInTemp() : createSurefireBootDirectoryInBuild(); + try + { + File canonical = result.getCanonicalFile(); + if ( !result.equals( canonical ) ) + { + logger.debug( "Canonicalized tempDir path " + result + " to " + canonical ); Review comment: Good idea @Tibor17 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services