You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Latombe (JIRA)" <ji...@codehaus.org> on 2010/05/10 10:58:12 UTC

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

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

Vincent Latombe commented on MASSEMBLY-470:
-------------------------------------------

Just bumped into this bug. It is pretty annoying.

> 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