[ 
https://jira.codehaus.org/browse/MSHADE-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Rosenvold closed MSHADE-142.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.1
         Assignee: Kristian Rosenvold

Fixed in r1462709, thanks for the patch !
                
> Shade plugin does unbuffered output
> -----------------------------------
>
>                 Key: MSHADE-142
>                 URL: https://jira.codehaus.org/browse/MSHADE-142
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Anders Wallgren
>            Assignee: Kristian Rosenvold
>             Fix For: 2.0.1
>
>
> maven-shade-plugin does unbuffered output:
> {code}
>         JarOutputStream jos = new JarOutputStream( new FileOutputStream( 
> shadeRequest.getUberJar() ) );
> {code}
> This results in massive amounts of single-byte writes, which kills 
> performance, particularly on network shares.
> Changing the code to 
> {code}
>         JarOutputStream jos = new JarOutputStream( new BufferedOutputStream( 
> new FileOutputStream( shadeRequest.getUberJar() ) ) );
> {code}
> Fixes the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to