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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.6.0
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: