COMPRESS-456 ensure we import all packages we actually need
diff --git a/pom.xml b/pom.xml
index a1a967e..66afcfe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,6 +50,7 @@
<commons.manifestlocation>${project.build.outputDirectory}/META-INF</commons.manifestlocation>
<commons.manifestfile>${commons.manifestlocation}/MANIFEST.MF</commons.manifestfile>
+ <commons.osgi.import>*;resolution:=optional</commons.osgi.import>
<!-- only show issues of the current version -->
<commons.changes.onlyCurrentVersion>true</commons.changes.onlyCurrentVersion>
@@ -341,9 +342,6 @@
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<manifestLocation>${commons.manifestlocation}</manifestLocation>
- <instructions>
- <Import-Package>org.tukaani.xz;resolution:=optional,org.brotli.dec;resolution:=optional,com.github.luben.zstd;resolution:=optional</Import-Package>
- </instructions>
</configuration>
</plugin>
<plugin>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ef0a7c9..caee861 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -50,6 +50,11 @@
directory has a sibling directory and the name of the target
directory is a prefix of the sibling directory's name.
</action>
+ <action issue="COMPRESS-456" type="fix" date="2018-06-19">
+ Changed the OSGi Import-Package to import everything as
+ optional package so that the encryption dependency on
+ javax.crypto gets specified correctly.
+ </action>
</release>
<release version="1.17" date="2018-06-03"
description="Release 1.17">