elharo commented on code in PR #11700:
URL: https://github.com/apache/maven/pull/11700#discussion_r2768642066


##########
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java:
##########
@@ -870,6 +899,49 @@ private void initProject(MavenProject project, 
ModelBuilderResult result) {
             project.setRemoteArtifactRepositories(remoteRepositories);
         }
 
+        /**
+         * Warns about legacy directory usage in a modular project. Two cases 
are handled:
+         * <ul>
+         *   <li>Case 1: The default legacy directory exists on the filesystem 
(e.g., src/main/java exists)</li>
+         *   <li>Case 2: An explicit legacy directory is configured that 
differs from the default</li>
+         * </ul>
+         * Legacy directories are unconditionally ignored in modular projects 
because it is not clear

Review Comment:
   Bleah. 3.x maintenance and 4.x development is hard enough without trying to 
develop two 4.x versions simultaneously. In any case, sure, let's do the change 
on master and then backport here, at least until we  come to our senses and 
finish one 4.x version before starting the next. 



-- 
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]

Reply via email to