gnodet commented on issue #11800: URL: https://github.com/apache/maven/issues/11800#issuecomment-4776438163
Closing — this was not a Maven bug. The RAT check failure was caused by a stale `target/` directory from a previously-removed submodule (`maven-api-meta`) left behind after switching branches. Since the submodule's `pom.xml` no longer exists, `mvn clean` has no way to know about it — this is expected Maven behavior. The RAT plugin side of this (ignoring `.gitignore`d files) is tracked upstream at [RAT-476](https://issues.apache.org/jira/browse/RAT-476). Fix: `git clean -fdx` or manually delete the orphaned `target/` directory. -- 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]
