For obfuscation, ProGuard
http://snapshot.pyx4me.com/pyx4me-maven-plugins/proguard-maven-plugin/
is a well-known obfuscator
Didier
Stuart McCulloch (JIRA) wrote:
[ 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.
--
--------------------------------------------------------------
Didier DONSEZ
Laboratoire LIG, Equipe ADELE
Universite Joseph Fourier
Bat. C, 220 rue de la Chimie, Domaine Universitaire
BP 53, 38041 Grenoble Cedex 9, France
Tel : +33 4 76 63 55 49 Fax : +33 4 76 63 55 50
GPS : lat 45°11'38.3"N, lon 05°46'14.7"E, alt 223m
mailto:[EMAIL PROTECTED]
URL: http://www-adele.imag.fr/users/Didier.Donsez
Map: http://www-adele.imag.fr/users/Didier.Donsez/map/map.html
--------------------------------------------------------------