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

Stuart McCulloch commented on FELIX-336:
----------------------------------------

these plugins work on jarfiles, so it doesn't mind if they come from jar or bnd 
- for example:

   http://mojo.codehaus.org/minijar-maven-plugin/usage.html

the tricky part is avoiding split packages (ie. only private packages should be 
compressed)

> Add support for optimization and obfuscation of bundle contents
> ---------------------------------------------------------------
>
>                 Key: FELIX-336
>                 URL: https://issues.apache.org/jira/browse/FELIX-336
>             Project: Felix
>          Issue Type: New Feature
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-1.2.0, maven-bundle-plugin-1.2.1, 
> maven-bundle-plugin-1.4.0
>            Reporter: Stuart McCulloch
>            Priority: Minor
>
> Suggestion from felix mailing list: it would be useful if the bundle-plugin 
> could optimize the contents of the bundle (ie. discard unnecessary internal 
> contents) and possibly perform some obfuscation. Ideally we wouldn't want to 
> discard classes from exported packages as that would lead to split-packages...
> Currently, it's possible to use the minijar plugin to optimize the bundle, 
> but this could discard exported classes as it has no OSGi knowledge.
> This issue will be used to collect together designs and opinions on baking 
> such support into the bundle-plugin compared to keeping it separate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to