Bump net.sourceforge.owlapi:owlapi-distribution from 3.4.10 to 5.5.1#63
Conversation
Bumps [net.sourceforge.owlapi:owlapi-distribution](https://github.com/owlcs/owlapi) from 3.4.10 to 5.5.1. - [Commits](owlcs/owlapi@owlapi-parent-3.4.10...owlapi-parent-5.5.1) --- updated-dependencies: - dependency-name: net.sourceforge.owlapi:owlapi-distribution dependency-version: 5.5.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Greptile SummaryThis Dependabot PR bumps Key issues:
Confidence Score: 1/5Not safe to merge — will cause compilation failures and runtime errors in the OWL reasoning stack. Score of 1 reflects that the single-line version bump is blocked by two P0 issues: a co-dependency that is binary-incompatible with OWLAPI 5.x, and six removed API usages in Ontology.java that will prevent the module from compiling. Both must be resolved before the upgrade can land. klab.services.reasoner/pom.xml (HermiT dependency must be updated) and klab.services.reasoner/src/main/java/org/integratedmodelling/klab/services/reasoner/owl/Ontology.java (six removed API usages must be migrated to OWLAPI 5.x equivalents). Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[pom.xml: owlapi-distribution 3.4.10 → 5.5.1] --> B{Breaking changes?}
B -->|HermiT co-dependency| C[com.hermit-reasoner:hermit:1.3.8.4\nBuilt against OWLAPI 3.x/4.x]
C --> D[❌ NoClassDefFoundError / IncompatibleClassChangeError at runtime]
D --> E[Fix: replace with\nnet.sourceforge.owlapi:org.semanticweb.HermiT:1.4.3.456]
B -->|Removed API classes| F[Ontology.java uses:\nOWLOntologyFormat\nOWLXMLOntologyFormat\ngetOntologyFormat\nisPrefixOWLOntologyFormat\nasPrefixOWLOntologyFormat]
F --> G[❌ Compilation failure]
G --> H[Fix: migrate to\nOWLDocumentFormat\nOWLXMLDocumentFormat\ngetOntologyDocumentFormat\nPrefixDocumentFormat]
|
| <groupId>net.sourceforge.owlapi</groupId> | ||
| <artifactId>owlapi-distribution</artifactId> | ||
| <version>3.4.10</version> | ||
| <version>5.5.1</version> | ||
| </dependency> |
There was a problem hiding this comment.
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.
Bumps net.sourceforge.owlapi:owlapi-distribution from 3.4.10 to 5.5.1.
Commits
f760b3aOWLAPI version 5.5.1a7daa84Remove org.openrdf.rio.RDFParserFactory #1125372d61bFix #1126 Handle exception when comparing integer literals.6d95fe2jaxb-ap dropped in OWLAPI 5.1 causes failure running on Java 11 #11509e4b6f5Clarify "Entity not properly recognized" #11521ea3acaProvide a BOM for owlapi #1148750d455fix test error GH-11452d54418Fix case sensitive extensions in ZipIRIMapper2ef0667GH-1145 verify both ignore and throw exception behavioursb296ff5GH-1145 add jakarta.json and no.hasmac to the osgi configDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)