Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4368

DefaultArtifactInstaller should only overwrite files if timestamp has changed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.2, 3.0-alpha-3
    • None
    • None
    • Linux, JDK 1.5

    Description

      install:install (from maven-install-plugin) by default uses DefaultArtifactInstaller to install artifacts. DefaultArtifactInstaller in turn uses FileUtils.copyFile(), thereby overwriting destination files even if they are unchanged. It would be helpful if DefaultArtifactInstaller used FileUtils.copyFileIfModified() instead, at least as an option, to speed up the build process.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: