[ 
https://issues.apache.org/jira/browse/COMPRESS-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Bodewig resolved COMPRESS-456.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.18

fixed with commit f5571df0 - thanks again.

> 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
>            Priority: Major
>             Fix For: 1.18
>
>
> 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)

Reply via email to