You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
i recently discovered, that odfdom specifies OSGI-Details in its Manifest. The problem: they are old and not working anymore for current 0.11.x or newer. Since i dont want to open a pull request for just this one little change, here is the bugfix. I would appreciate if you get it into 0.12.0 branch.
diff --git a/odfdom/pom.xml b/odfdom/pom.xml
index 1e36424..3b13ed5 100644
--- a/odfdom/pom.xml
+++ b/odfdom/pom.xml
@@ -162,8 +162,8 @@
<configuration>
<instructions>
<Import-Package>
- org.odftoolkit.odfdom;version="${osgi.import.range}",
- org.odftoolkit.odfdom.*;version="${osgi.import.range}",
+ !org.odftoolkit.odfdom,
+ !org.odftoolkit.odfdom.*,
*
</Import-Package>
</instructions>
diff --git a/pom.xml b/pom.xml
index 976d3ab..4dd391c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,7 +52,6 @@
<release.zip.bin>odftoolkit-${project.version}-bin.zip</release.zip.bin>
<release.zip.doc>odftoolkit-${project.version}-doc.zip</release.zip.doc>
<release.zip.src>odftoolkit-${project.version}-src.zip</release.zip.src>
- <osgi.import.range>[1.0,2)</osgi.import.range>
<supported-odf-version>1.2</supported-odf-version>
<skipTests>false</skipTests>
<!-- to skip even compiling the tests is honored by Surefire, Failsafe and Compiler Plugin -->
Background: if the own package is imported with a wrong version (here 1.0.x until 2.0.x), nothing works. Fix would be to exclude the own packages from osgi-import statement.
Thank you
The text was updated successfully, but these errors were encountered:
Apply patch proposed by Boarschti42 to remove incorrect version
constraints. (Possibly they were added at a time when the version number
was 1.0.0-BETA...)
Hello,
i recently discovered, that odfdom specifies OSGI-Details in its Manifest. The problem: they are old and not working anymore for current 0.11.x or newer. Since i dont want to open a pull request for just this one little change, here is the bugfix. I would appreciate if you get it into 0.12.0 branch.
Background: if the own package is imported with a wrong version (here 1.0.x until 2.0.x), nothing works. Fix would be to exclude the own packages from osgi-import statement.
Thank you
The text was updated successfully, but these errors were encountered: