From 9e7b30352c0d95c1141e83e67e778233cebe9716 Mon Sep 17 00:00:00 2001 From: Fabio Date: Wed, 23 Jun 2021 08:39:30 -0300 Subject: [PATCH] Downgraded jena-core 4.1 to jena-core 3.1 in clients project to support java 1.8 --- edu.gatech.mbsec.adapter.magicdraw.clients/pom.xml | 2 +- .../main/java/adapter/clients/GETSysMLBlocksAndSaveAsRDF.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/edu.gatech.mbsec.adapter.magicdraw.clients/pom.xml b/edu.gatech.mbsec.adapter.magicdraw.clients/pom.xml index 653ae66..447c13f 100644 --- a/edu.gatech.mbsec.adapter.magicdraw.clients/pom.xml +++ b/edu.gatech.mbsec.adapter.magicdraw.clients/pom.xml @@ -92,7 +92,7 @@ org.apache.jena jena-core - 4.1.0 + 3.1.0 diff --git a/edu.gatech.mbsec.adapter.magicdraw.clients/src/main/java/adapter/clients/GETSysMLBlocksAndSaveAsRDF.java b/edu.gatech.mbsec.adapter.magicdraw.clients/src/main/java/adapter/clients/GETSysMLBlocksAndSaveAsRDF.java index 104e547..56db457 100644 --- a/edu.gatech.mbsec.adapter.magicdraw.clients/src/main/java/adapter/clients/GETSysMLBlocksAndSaveAsRDF.java +++ b/edu.gatech.mbsec.adapter.magicdraw.clients/src/main/java/adapter/clients/GETSysMLBlocksAndSaveAsRDF.java @@ -44,7 +44,7 @@ import org.glassfish.jersey.client.ClientConfig; import org.apache.jena.rdf.model.Model; -import org.apache.jena.rdf.model.RDFWriterI; +import org.apache.jena.rdf.model.RDFWriter; @@ -76,7 +76,7 @@ public void start() { // print requirements in RDF file try { Model model = JenaModelHelper.createJenaModel(objects); - RDFWriterI writer = writer = model.getWriter("RDF/XML"); + RDFWriter writer = writer = model.getWriter("RDF/XML"); writer.setProperty("showXmlDeclaration", "false"); writer.setErrorHandler(new ErrorHandler());