maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [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
Date Sat, 01 Dec 2018 16:06:42 GMT
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

Mime
View raw message