Fix bogus warning about attaching non-regular file
--------------------------------------------------

                 Key: MASSEMBLY-289
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-289
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.2-beta-2
            Reporter: Benjamin Bentmann
            Priority: Trivial
         Attachments: bogus-attach-warning.patch

If an archive file is configured with attach=false, the plugin will output the 
following warning because the underlying if-else is wrong:
{noformat}
[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.
{noformat}
The warning must be guarded with attach=true.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to