ascheman commented on issue #11701:
URL: https://github.com/apache/maven/issues/11701#issuecomment-3858462609

   Based on further [questions and 
discussions](https://github.com/apache/maven/issues/11612#issuecomment-3856168566)
 the AC8 will now supersede AC7:
   
   **AC8 (Legacy configuration error)**: When a modular project has legacy 
sources or resources that **exist but would be ignored**, the build must **fail 
with an ERROR** (not just a WARNING).
   This includes:
   - Explicit `<sourceDirectory>`/`<testSourceDirectory>` differing from 
defaults
   - Default `src/main/java` or `src/test/java` directories existing on 
filesystem
   - Explicit `<resources>`/`<testResources>` differing from Super POM defaults
   
   This prevents silent loss of user-configured sources/resources.
   
   **Note: AC8 supersedes AC7.** AC7 originally specified WARNING for ignored 
legacy directories. AC8 upgrades this to ERROR. Tests and comments referencing 
AC7 should be updated to mention that AC8 supersedes AC7 (not just replace AC7 
with AC8 - preserve the history that AC7 existed but is no longer valid).
   


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