Commit c22f3b76 authored by Julian Zobel's avatar Julian Zobel 🦄
Browse files

Maven adaptations due to missing staxutils for XMLStreamWriter. Changed to txw2

parent 71eb512d
......@@ -109,6 +109,11 @@
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>txw2</artifactId>
<version>3.0.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/stax/stax -->
<dependency>
......@@ -116,17 +121,7 @@
<artifactId>stax</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>stax</groupId>
<artifactId>utils</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
......@@ -289,13 +284,7 @@
<artifactId>ssj</artifactId>
<version>3.3.1</version>
</dependency>
<dependency>
<groupId>umontreal.iro.lecuyer</groupId>
<artifactId>ssj</artifactId>
<version>1.1.9</version>
</dependency>
<!-- Date & Time calculations -->
<dependency>
<groupId>joda-time</groupId>
......@@ -403,10 +392,12 @@
</dependency>
<!-- Traci as a Service -->
<dependency>
<groupId>maki</groupId>
<artifactId>simonstrator-traci</artifactId>
<version>0.2-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
......@@ -52,7 +52,8 @@ import org.xml.sax.helpers.DefaultHandler;
import de.tud.kom.p2psim.impl.util.toolkits.SAXToolkit;
import de.tudarmstadt.maki.simonstrator.api.Monitor;
import de.tudarmstadt.maki.simonstrator.api.Monitor.Level;
import javanet.staxutils.IndentingXMLStreamWriter;
import com.sun.xml.txw2.output.IndentingXMLStreamWriter;
/**
* <p>
......@@ -435,7 +436,7 @@ public abstract class RelationalDB implements XMLSerializable {
IndentingXMLStreamWriter indwr = new IndentingXMLStreamWriter(writer); //Ensures indentation of the XML document
indwr.setIndent(" ");
indwr.setIndentStep(" ");
writer = indwr;
writer.writeStartDocument("1.0");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment