maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Casey (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MASSEMBLY-227) Support 'store-only' (no-compression) jar files
Date Tue, 09 Jun 2009 16:42:42 GMT

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

John Casey closed MASSEMBLY-227.
--------------------------------

         Assignee: John Casey
       Resolution: Fixed
    Fix Version/s:     (was: 2.2)
                   2.2-beta-4

This should be fixed at least as far back as -beta-4. The trick is to use the archiverConfig
parameter in the plugin configuration within the POM itself[1]. In this case, you'd want to
use <compress>false</compress>.

1. http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#archiverConfig

> Support 'store-only' (no-compression) jar files
> -----------------------------------------------
>
>                 Key: MASSEMBLY-227
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-227
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: New Feature
>            Reporter: Chris Beams
>            Assignee: John Casey
>            Priority: Minor
>             Fix For: 2.2-beta-4
>
>
> the jar utility supports a -0 option that, when supplied, skips zip compression for the
resulting jar file.  This is desirable when creating jar dependencies that consist of large
binary files - one wants access to the binaries to be as fast as possible at runtime with
no decompression overhead.
> jdcasey tells me that there's an option on the underlying library to skip compression,
but that it's not configurable on the assembly plugin itself.  With that in mind, hopefully
this is just a matter of exposing functionality rather than implementing it anew.
> Thanks,
> - Chris
> Chris Beams

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

        

Mime
View raw message