Uploaded image for project: 'Maven Resources Plugin'
  1. Maven Resources Plugin
  2. MRESOURCES-258

Only overwrite filtered resources when contents differ

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.2.0
    • filtering
    • None

    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

          Activity

            People

              olamy Olivier Lamy
              roxspring Robert James Oxspring
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: