You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Patrick Woodworth (JIRA)" <ji...@codehaus.org> on 2010/01/16 01:28:55 UTC

[jira] Updated: (MASSEMBLY-289) Fix bogus warning about attaching non-regular file

     [ http://jira.codehaus.org/browse/MASSEMBLY-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Woodworth updated MASSEMBLY-289:
----------------------------------------

    Attachment: trunk-r899849.patch

Attaching an updated patch to fix this issue rebased off latest trunk (now a one-liner).

> 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, trunk-r899849.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