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

Fix bogus warning about attaching non-regular file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2-beta-2
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Flags:
      Patch

      Description

      If an archive file is configured with attach=false, the plugin will output the following warning because the underlying if-else is wrong:

      [WARNING] Assembly file: <snip>.zip is not a regular file (it may be a directory).
        It cannot be attached to the project build for installation or deployment.
      

      The warning must be guarded with attach=true.

        Attachments

        1. trunk-r899849.patch
          0.8 kB
          Patrick Woodworth
        2. bogus-attach-warning.patch
          5 kB
          Benjamin Bentmann

          Issue Links

            Activity

              People

              • Assignee:
                bentmann Benjamin Bentmann
                Reporter:
                bentmann Benjamin Bentmann
              • Votes:
                4 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: