Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-115

Should avoid modifying assembly if none of the underlying files have changed.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2
    • None
    • None

    Description

      At the moment, the assembly plugin always generates a the specified bundle, no matter whether or not the files to be placed in the bundle are changed.

      This means that any plugins downstream (e.g. you want to digitally sign the bundle) behave as if a "clean" has taken place.

      It would be better if the assembly plugin did not build a bundle if it is going to be the same as what was produced during the last build. That way, the last modified timestamp of the bundle won't get updated, and the downstream plugins will know that nothing has changed.

      Adding an assembly to a build currently slows down the iterative "install" build very significantly because of this issue. Clean builds are not effected by this issue, but effectively the assembly is forcing a clean build every time.

      Attachments

        1. massembly-115.patch
          7 kB
          Petar Tahchiev

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              daveboden David Boden
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: