ascheman opened a new pull request, #11702:
URL: https://github.com/apache/maven/pull/11702

   ## Summary
   
   - Legacy directories and resources that conflict with modular sources now 
trigger an ERROR instead of WARNING
   - Prevents silent loss of user-configured sources/resources
   - AC8 supersedes AC7 which originally used WARNING
   
   Affected configurations in modular projects:
   - Explicit `<sourceDirectory>`/`<testSourceDirectory>` differing from 
defaults
   - Default `src/main/java` or `src/test/java` existing on filesystem
   - Explicit `<resources>`/`<testResources>` differing from Super POM defaults
   
   ## Test plan
   
   - [x] 
`ProjectBuilderTest#testModularSourcesWithExplicitResourcesIssuesError` passes
   - [x] `ProjectBuilderTest#testMixedSourcesModularMainClassicTest` passes
   
   Fixes #11701
   See https://github.com/apache/maven/issues/11701#issuecomment-3858462609
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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