feat: introduce ChangeDetection strategy for file copy (MRESOURCES-453) - Add ChangeDetection enum with 5 strategies: TIMESTAMP, CONTENT (default), TIMESTAMP_AND_CONTENT, ALWAYS, NEVER - New changeDetection field on AbstractMavenFilteringRequest and Resource (per-resource override takes precedence) - New FilteringUtils.copyFile(…, ChangeDetection) overload returning boolean (true=written, false=skipped); old boolean overwrite signature deprecated - New MavenFileFilter.copyFileWithResult(…, ChangeDetection) method - DefaultMavenResourcesFiltering logs "Copying file X" or "Skipping file X (up to date)" based on actual copy outcome - MavenResourcesExecution.isOverwrite()/setOverwrite() deprecated, now delegate through ChangeDetection - Port of maven-filtering-3.x commit d9bc10a to master (Path-based API) - Fixes apache/maven-resources-plugin#453, #286, #316
Maven 3: maven-filtering-3.x
You have found a bug, or you have an idea for a cool new feature? Contributing code is a great way to give something back to the open source community. Before you dig right into the code, there are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.
We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors.
There are some guidelines which will make applying PRs easier for us:
git diff --check before committing.mvn -Prun-its verify to assure nothing else was accidentally broken.If you plan to contribute on a regular basis, please consider filing a contributor license agreement.