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

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

We've run into this as well. We have the assembly bound to the package goal so 
that we can use deploy to publish assembly artifacts up to an Archiva 
repository. But this means when we run a job to do site-deploy and sonar it 
fails as it tries to build the assembly when the jars etc are renamed by 
clover. Using "-DskipAssembly=true" would be ideal but it won't work at the 
moment for us. 

> 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