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

Fix bogus warning about attaching non-regular file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.2-beta-2
    • 2.2
    • None
    • None
    • 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. bogus-attach-warning.patch
          5 kB
          Benjamin Bentmann
        2. trunk-r899849.patch
          0.8 kB
          Patrick Woodworth

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: