Uploaded image for project: 'Maven Remote Resources Plugin'
  1. Maven Remote Resources Plugin
  2. MRRESOURCES-91

Avoid overwrite of the destination file if the produced contents is the same

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6.0
    • Labels:
      None

      Description

      maven-remote-resource-plugin is used in Apache pom to add DEPENDENCIES, and the resulting file is overwritten on each build.

      It leads to jar being rebuild, etc leading to longer compilation times.

      I suggest to compare the produced contents with the existing file.
      If both are equal, skip the file being overwritten.

      The net win is subsequent build times are improved.

      Here's pull request that fixes the problem: https://github.com/apache/maven-plugins/pull/40

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                krosenvold Kristian Rosenvold
                Reporter:
                vlsi Vladimir Sitnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: