Jérémie Brébec created COMPRESS-456:
---------------------------------------
Summary: Missing OSGI Import-Package
Key: COMPRESS-456
URL: https://issues.apache.org/jira/browse/COMPRESS-456
Project: Commons Compress
Issue Type: Bug
Components: Build
Affects Versions: 1.17
Reporter: Jérémie Brébec
The configuration of the maven-bundle-plugin overrides the <Import-Package>
directive : "*" is not present anymore, and severals packages do not resolve
correctly.
For example, "javax.crypto", which is used by 7z encryption, is not resolved
and using this feature fails with a ClassNotFoundException on
javax.crypto.SecretKey.
ahma I think that the correct Import-Package directive should be :
{code:java}
<Import-Package>*;resolution:=optional</Import-Package>{code}
this directive will import everything commons-compress depends on, but with an
optional resolution (and so every dependencies will be optionals)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)