ascheman commented on issue #11701: URL: https://github.com/apache/maven/issues/11701#issuecomment-3884782347
**AC9** (extends AC8 to classic projects): For **classic (non-modular) projects**, explicit legacy `<sourceDirectory>` and `<testSourceDirectory>` configurations also trigger an **ERROR** when `<sources>` elements are configured for the same scope/language. This ensures consistency with resource handling and prevents silent configuration loss. **Rationale:** - Resources already fail for both modular AND classic projects when `<sources>` conflicts with legacy `<resources>`/`<testResources>` - Source directories should behave consistently - Silent configuration loss is confusing for users See discussion: https://github.com/apache/maven/pull/11702#discussion_r2793446933 -- 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]
