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

resources:resources overwrites filtered resources in target directory even if unchanged

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.2
    • None
    • None
    • None
    • Linux, JDK 1.5

    Description

      When processing filtered resources, resources:resources overwrites existing files in the target directory even if they are unchanged.

      It would be helpful if the plugin would write to a temporary file, then compare the contents of old and new, and overwrite only if the contents have changed. That way, the jar plugin won't have to repackage the whole jar (assuming forced=false) and so on.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jmartin Joseph B. Martin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: