Skip to content

Commit

Permalink
Use jakarta.xml.bind instead of javax (for Java 11 compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
uschindler committed Mar 31, 2022
1 parent 1743c05 commit 277ff3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions ivy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<dependency org="commons-digester" name="commons-digester" rev="2.1" conf="build,bundle->default"/>
<dependency org="xerces" name="xercesImpl" rev="2.12.1" conf="build,bundle->default"/>
<dependency org="xalan" name="xalan" rev="2.7.2" conf="build,bundle->default"/>
<dependency org="jakarta.xml.bind" name="jakarta.xml.bind-api" rev="3.0.1" conf="build,bundle->default"/>

<dependency org="org.apache.logging.log4j" name="log4j-api" rev="2.17.2" conf="build,bundle->default"/>
<dependency org="org.apache.logging.log4j" name="log4j-core" rev="2.17.2" conf="build,bundle->default"/>
Expand Down
8 changes: 4 additions & 4 deletions src/de/pangaea/metadataportal/utils/XMLToKeyValuePairs.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
import java.util.stream.Stream;

import javax.xml.XMLConstants;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.JAXBException;
import jakarta.xml.bind.Unmarshaller;

import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
Expand Down

0 comments on commit 277ff3e

Please sign in to comment.