You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2019/11/14 10:02:00 UTC

[jira] [Commented] (FELIX-2322) Configurable JAR compression level

    [ https://issues.apache.org/jira/browse/FELIX-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974111#comment-16974111 ] 

Guillaume Nodet commented on FELIX-2322:
----------------------------------------

The bundle plugin does not reuse the `maven-archiver`.  Actually, the writing of the jar is done by `bnd` which supports storing/compressing the jar, but does not allow the compression level to be configured:

[https://github.com/bndtools/bnd/blob/master/biz.aQute.bndlib/src/aQute/bnd/osgi/Jar.java#L519-L528]

> Configurable JAR compression level
> ----------------------------------
>
>                 Key: FELIX-2322
>                 URL: https://issues.apache.org/jira/browse/FELIX-2322
>             Project: Felix
>          Issue Type: New Feature
>          Components: Maven Bundle Plugin
>            Reporter: Trustin Lee
>            Priority: Major
>             Fix For: maven-bundle-plugin-future
>
>
> It seems like there is no way to specify the compression level of the bundle JAR file generated by maven-bundle-plugin.  To reduce the bandwidth, I'd like to compress the JAR as much as possible.  It would be nice if there is a configurable property in the plugin's <configuration/> section in the pom.xml.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)