Skip to content

Commit

Permalink
Migrated to JAXB 4
Browse files Browse the repository at this point in the history
  • Loading branch information
drasil committed Aug 12, 2023
1 parent 6d35050 commit 058cb63
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions BNCompiler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.4.0-b180830.0359</version>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.4.0-b180830.0438</version>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>4.0.3</version>
<scope>runtime</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions BNCompiler/src/main/java/org/bn/compiler/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
import jakarta.xml.bind.Marshaller;
import javax.xml.transform.TransformerException;
import org.bn.compiler.parser.ASNLexer;
import org.bn.compiler.parser.ASNParser;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.bn.compiler.parser.model;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlRootElement;

@XmlRootElement public class ASN1Model implements Serializable {
public String outputDirectory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

import java.io.File;
import java.io.InputStream;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Marshaller;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.Marshaller;
import org.bn.compiler.parser.model.ASN1Model;
import org.bn.compiler.parser.model.ASNModule;
import static org.junit.jupiter.api.Assertions.*;
Expand Down

0 comments on commit 058cb63

Please sign in to comment.