Closed stempler closed 3 months ago
Running hale-cli with JAVA_OPTS="-verbose:class"
gives me this line
[1,846s][info][class,load] org.osgi.framework.Version source: file:/tmp/hale-5.4.0-SNAPSHOT/lib/org.semanticweb.owlapi.osgi.skos-3.0.0.jar
Does org.osgi.framework
maybe need to be excluded for the org.semanticweb.owlapi.osgi.skos
dependency?
Does org.osgi.framework maybe need to be excluded for the org.semanticweb.owlapi.osgi.skos dependency?
Removing the org/osgi
folder from org.semanticweb.owlapi.osgi.skos-3.0.0.jar
solved the problem for me. As far as I can see, this JAR in hale-platform is the source. As it's included as a JAR, I assume we would need to remove the folder from there, potentially together with org.osgi.core-1.4.0.jar
. Or is there a way to exclude it with bnd that I'm missing?
Did some changes here to exclude/hide the OSGI dependencies in the SKOS library: https://github.com/halestudio/hale-core/pull/55
Also added an integration test running a simple transformation (failed before, now succeeds) and a test that verifies the functionality of the modified SKOS I/O bundle.
Nice solution! LGTM now
:tada: This PR is included in version 6.0.0 :tada:
The release is available on:
v6.0.0
Your semantic-release bot :package::rocket:
@florianesser Right now there seem to be three dependencies with the OSGi version class in hale-core:
But all of these seem to have the
compareTo
method with the signature as expected. Not sure if the conflict related to multiple versions of the class being on the classpath could be an issue.