Description
Since version 1.26, commons-compress optionally requires commons-codec.
In the OSGi-Manifest, the Import-Package declaration for org.apache.commons.codec does not have the resolution:=optional attribute.
In our case, we have commons-compress as maven dependency. Since commons-codec is an optional dependency, it is not downloaded automatically. But when we start our application, we get an OSGi error that commons-codec cannot be resolved.
To fix this issue, the Import-Package delcaration to all apache.commons.compress packages has to be marked with resolution:=optional in META-INF/MANIFEST.MF.
Attachments
Issue Links
- links to