You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2010/09/23 01:32:33 UTC

[jira] Closed: (MASSEMBLY-470) skipAssembly doesn't work for directory based mojos

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

John Casey closed MASSEMBLY-470.
--------------------------------

       Resolution: Won't Fix
    Fix Version/s: 2.2-beta-6
         Assignee: John Casey

all mojos except assembly:single are going to be deprecated as of 2.2-beta-6, since the single goal can handle the functions of all others except assembly:unpack...which has a replacement in the dependency plugin.

Please use an assembly with <format>dir</format> to produce a directory assembly using the single mojo.

> skipAssembly doesn't work for directory based mojos
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-470
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-470
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-5
>            Reporter: Mike Mansell
>            Assignee: John Casey
>             Fix For: 2.2-beta-6
>
>         Attachments: skipAssembly-directory.patch
>
>
> The skipAssembly property is only used within the execute method of the AbstractAssemblyMojo. However, the AbstractDirectoryMojo overrides (and doesn't call) the execute. Unfortunately, this overridden execute doesn't respect the skipAssembly variable. Therefore, the directory based mojos (directory-inline, directory and directory-single) can't be skipped.
> This is a simple fix and the patch is included.

-- 
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