Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion klab.services.reasoner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<dependency>
<groupId>net.sourceforge.owlapi</groupId>
<artifactId>owlapi-distribution</artifactId>
<version>3.4.10</version>
<version>5.5.1</version>
</dependency>
Comment on lines 59 to 62

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 OWLAPI 5.x removes several APIs used in Ontology.java

The version bump will cause compilation failures because Ontology.java still uses classes and methods that were removed in OWLAPI 5.x:

Old (3.x/4.x) Replacement in 5.x
org.semanticweb.owlapi.io.OWLXMLOntologyFormat (line 35) org.semanticweb.owlapi.formats.OWLXMLDocumentFormat
OWLOntologyFormat (line 241) OWLDocumentFormat
OWLOntologyManager.getOntologyFormat(ontology) (line 242) OWLOntologyManager.getOntologyDocumentFormat(ontology)
new OWLXMLOntologyFormat() (line 243) new OWLXMLDocumentFormat()
format.isPrefixOWLOntologyFormat() (line 245) format instanceof PrefixDocumentFormat
format.asPrefixOWLOntologyFormat() (line 246) (PrefixDocumentFormat) format

All six usages are in klab.services.reasoner/src/main/java/org/integratedmodelling/klab/services/reasoner/owl/Ontology.java and must be updated before this dependency bump can be used.

<dependency>
<groupId>com.hermit-reasoner</groupId>
Expand Down
Loading