diff --git a/org.sbgn/lib/com.springsource.org.jdom-1.1.0.jar b/org.sbgn/lib/com.springsource.org.jdom-1.1.0.jar
deleted file mode 100644
index 1bf7453..0000000
Binary files a/org.sbgn/lib/com.springsource.org.jdom-1.1.0.jar and /dev/null differ
diff --git a/org.sbgn/lib/jdom2-2.0.6.1.jar b/org.sbgn/lib/jdom2-2.0.6.1.jar
new file mode 100644
index 0000000..da95839
Binary files /dev/null and b/org.sbgn/lib/jdom2-2.0.6.1.jar differ
diff --git a/org.sbgn/src/org/sbgn/ConvertMilestone1to2.java b/org.sbgn/src/org/sbgn/ConvertMilestone1to2.java
index 48acaf6..37d39ab 100644
--- a/org.sbgn/src/org/sbgn/ConvertMilestone1to2.java
+++ b/org.sbgn/src/org/sbgn/ConvertMilestone1to2.java
@@ -6,12 +6,12 @@
import java.util.HashSet;
import java.util.Set;
-import org.jdom.Document;
-import org.jdom.Element;
-import org.jdom.JDOMException;
-import org.jdom.Namespace;
-import org.jdom.input.SAXBuilder;
-import org.jdom.output.XMLOutputter;
+import org.jdom2.Document;
+import org.jdom2.Element;
+import org.jdom2.JDOMException;
+import org.jdom2.Namespace;
+import org.jdom2.input.SAXBuilder;
+import org.jdom2.output.XMLOutputter;
public class ConvertMilestone1to2
{
diff --git a/org.sbgn/src/org/sbgn/ConvertMilestone2to3.java b/org.sbgn/src/org/sbgn/ConvertMilestone2to3.java
index b1ac598..80e519e 100644
--- a/org.sbgn/src/org/sbgn/ConvertMilestone2to3.java
+++ b/org.sbgn/src/org/sbgn/ConvertMilestone2to3.java
@@ -4,12 +4,12 @@
import java.io.FileOutputStream;
import java.io.IOException;
-import org.jdom.Document;
-import org.jdom.Element;
-import org.jdom.JDOMException;
-import org.jdom.Namespace;
-import org.jdom.input.SAXBuilder;
-import org.jdom.output.XMLOutputter;
+import org.jdom2.Document;
+import org.jdom2.Element;
+import org.jdom2.JDOMException;
+import org.jdom2.Namespace;
+import org.jdom2.input.SAXBuilder;
+import org.jdom2.output.XMLOutputter;
public class ConvertMilestone2to3
{
diff --git a/org.sbgn/src/org/sbgn/IAttributeTransformer.java b/org.sbgn/src/org/sbgn/IAttributeTransformer.java
index cef46fa..4d1846b 100644
--- a/org.sbgn/src/org/sbgn/IAttributeTransformer.java
+++ b/org.sbgn/src/org/sbgn/IAttributeTransformer.java
@@ -1,6 +1,6 @@
package org.sbgn;
-import org.jdom.Attribute;
+import org.jdom2.Attribute;
interface IAttributeTransformer
{
diff --git a/org.sbgn/src/org/sbgn/IElementTransformer.java b/org.sbgn/src/org/sbgn/IElementTransformer.java
index d73f5c8..0867992 100644
--- a/org.sbgn/src/org/sbgn/IElementTransformer.java
+++ b/org.sbgn/src/org/sbgn/IElementTransformer.java
@@ -1,6 +1,6 @@
package org.sbgn;
-import org.jdom.Element;
+import org.jdom2.Element;
interface IElementTransformer
{
diff --git a/org.sbgn/src/org/sbgn/RenderUtil.java b/org.sbgn/src/org/sbgn/RenderUtil.java
index 0ca2463..8b76261 100644
--- a/org.sbgn/src/org/sbgn/RenderUtil.java
+++ b/org.sbgn/src/org/sbgn/RenderUtil.java
@@ -10,7 +10,7 @@
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.stream.XMLStreamException;
-import org.jdom.Namespace;
+import org.jdom2.Namespace;
import org.sbgn.bindings.Arc;
import org.sbgn.bindings.ColorDefinition;
import org.sbgn.bindings.G;
diff --git a/org.sbgn/src/org/sbgn/XmlUtil.java b/org.sbgn/src/org/sbgn/XmlUtil.java
index 1b84662..eb560f4 100644
--- a/org.sbgn/src/org/sbgn/XmlUtil.java
+++ b/org.sbgn/src/org/sbgn/XmlUtil.java
@@ -16,14 +16,14 @@
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
-import org.jdom.Document;
-import org.jdom.Element;
-import org.jdom.JDOMException;
-import org.jdom.Namespace;
-import org.jdom.input.DOMBuilder;
-import org.jdom.input.SAXBuilder;
-import org.jdom.output.DOMOutputter;
-import org.jdom.output.XMLOutputter;
+import org.jdom2.Document;
+import org.jdom2.Element;
+import org.jdom2.JDOMException;
+import org.jdom2.Namespace;
+import org.jdom2.input.DOMBuilder;
+import org.jdom2.input.SAXBuilder;
+import org.jdom2.output.DOMOutputter;
+import org.jdom2.output.XMLOutputter;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
@@ -111,7 +111,7 @@ public static void transformElement(Element elt, IElementTransformer transformer
return;
if (attrTransformer != null) {
for (Object attr : elt.getAttributes())
- attrTransformer.transform((org.jdom.Attribute) attr);
+ attrTransformer.transform((org.jdom2.Attribute) attr);
}
if (transformer != null) {
@@ -135,7 +135,7 @@ public static void replaceNamespace(Element elt, Namespace n1, Namespace n2, boo
return;
for (Object o : elt.getAttributes()) {
- org.jdom.Attribute attr = (org.jdom.Attribute) o;
+ org.jdom2.Attribute attr = (org.jdom2.Attribute) o;
namespace = attr.getNamespace();
if (namespace == null || namespace.getURI().isEmpty() || namespace.equals(n1))
diff --git a/pom.xml b/pom.xml
index bb1d8ba..ffdd6df 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,7 +73,7 @@
false
4.13.1
1.6.5
- 1.1
+ 2.0.6.1
1.6.2
2.3.1
2.7.3
@@ -127,7 +127,7 @@
org.jdom
- jdom
+ jdom2
${jdom.version}