You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/03/04 14:10:28 UTC

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

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

        

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

Posted by "Patrick Woodworth (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MASSEMBLY-289.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2-beta-6
         Assignee: Benjamin Bentmann

Patch applied in [r900009|http://svn.apache.org/viewvc?view=revision&revision=900009], thanks!

> 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
>            Assignee: Benjamin Bentmann
>            Priority: Trivial
>             Fix For: 2.2-beta-6
>
>         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