royteeuwen opened a new pull request, #519: URL: https://github.com/apache/maven-build-cache-extension/pull/519
Closes #518 ## Summary Files/directories whose name starts with a dot are always treated as hidden and unconditionally skipped when scanning `<include>` paths for cache input files, with no way to override this. This is too broad for project layouts where meaningful, versioned content is stored in dotfile-named files by convention (e.g. Maven Filevault/JCR content packages, where a resource's definition typically lives in a file literally named `.content.xml`), making such content changes invisible to the cache. ## Change Adds an `includeHidden` attribute (default `false`, fully backward compatible) to the `<include>` element, scoped per-include, so a specific include path can opt back into scanning hidden entries without affecting default behavior anywhere else. ## Testing - Extended `MavenProjectInputTest` with two new unit tests (default still skips hidden files; `includeHidden="true"` collects them). - Extended the existing `IncludeExcludeTest` end-to-end integration test fixture with a hidden-file scenario. - Full test suite: `mvn clean install` (88/88 unit tests), `mvn verify -Prun-its` (333/333 IT tests) - all green, no regressions. -- 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]
