[ 
http://jira.codehaus.org/browse/MASSEMBLY-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230941#action_230941
 ] 

Gordon McNair commented on MASSEMBLY-470:
-----------------------------------------

Just tested by winding dependency back to use 2.2.-beta-4 and it worked as 
expected. So this appears to be an error introduced in 2.2-beta-5

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

        

Reply via email to