desruisseaux commented on code in PR #11702:
URL: https://github.com/apache/maven/pull/11702#discussion_r2807467665
##########
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java:
##########
@@ -1008,7 +1008,7 @@ private void failIfLegacyDirectoryPresent(
"Legacy directory '%s' exists but cannot be used
in project %s "
+ "because sources are configured via
<sources>. "
+ "Remove or rename the directory.",
- defaultPath, projectId);
+ defaultPath.toString().replace('\\', '/'),
projectId);
Review Comment:
I suggest to not do this replacement in this code, but in the test instead.
It would allow Windows users to see the paths that they are used to.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]