[
https://issues.apache.org/jira/browse/FELIX-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974111#comment-16974111
]
Guillaume Nodet edited comment on FELIX-2322 at 11/18/19 12:55 PM:
-------------------------------------------------------------------
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]
was (Author: gnt):
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)