Description
When using mvn resources:copy-resources with filtering enabled, the destination file should only be overwritten if the contents have changed.
Given a mvn resources:copy-resources call with filtering configured
When an identical mvn resources:copy-resources operation is performed
Then the destination file should remain unmodified
Given a mvn resources:copy-resources call with filtering configured and overwrite set true
When an identical mvn resources:copy-resources operation is performed
Then the destination file should be overwritten
Attachments
Issue Links
- breaks
-
MRESOURCES-289 FileUtils.copyFile() fails with source file having lastModified = 0
- Closed
- Dependency
-
MSHARED-884 Only overwrite filtered resources when contents differ
- Closed
- is related to
-
MSHARED-1107 FileUtils.copyFile() fails with source file having lastModified = 0
- Closed
- relates to
-
MRESOURCES-265 Resource copying not using specified encoding
- Closed
- links to