You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2018/12/01 16:06:42 UTC

[GitHub] Tibor17 edited a comment on issue #204: [SUREFIRE-1602] Surefire fails loading class ForkedBooter when using a sub-directory pom file and a local maven repo

Tibor17 edited a comment on issue #204: [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/204#issuecomment-443436591
 
 
   How this path really looked like?
   `file.getParentFile().toPath()`
   What was the problem that you had to nomalize it?
   On Windows it is TMP.
   On Linux it is `target/surefire`. Was this path relative before?
   Maybe we should take a look in `AbstractSurefireMojo` where the path is originally created. It may simply happen that other parts of the code may also have this problem if the path is not canonical. I presume that the class `Classpath` using String instead of File or Path might have all the same problem. It would be worth to break the compatibility right here in a new major version.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services