Skip to content

Commit

Permalink
chore(deps): remove no more required JAXB dependency (refs #351)
Browse files Browse the repository at this point in the history
  • Loading branch information
mborne committed Aug 8, 2024
1 parent b629fa1 commit c82cb61
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 44 deletions.
20 changes: 0 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@
<apache-common-cli.version>1.8.0</apache-common-cli.version>
<apache-commons-csv.version>1.11.0</apache-commons-csv.version>
<apache-commons-lang.version>2.6</apache-commons-lang.version>
<!-- jaxb -->
<jaxb-core.version>2.3.0.1</jaxb-core.version>
<jaxb-impl.version>2.3.9</jaxb-impl.version>
<jaxb-api.version>2.3.1</jaxb-api.version>
<!-- JDBC -->
<postgresql.version>9.1-901-1.jdbc4</postgresql.version>
<sqlite-jdbc.version>3.46.0.1</sqlite-jdbc.version>
Expand Down Expand Up @@ -225,22 +221,6 @@
<version>${jaxen.version}</version>
</dependency>

<!-- JABX is required by XmlModelReader -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${jaxb-api.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>${jaxb-core.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>${jaxb-impl.version}</version>
</dependency>

<!--
################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlTransient;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
Expand Down Expand Up @@ -115,7 +113,6 @@ public void setDescription(String description) {
this.description = description;
}

@XmlTransient
public AttributeConstraints getConstraints() {
return constraints;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import java.net.URL;

import javax.xml.bind.annotation.XmlTransient;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down Expand Up @@ -68,7 +66,6 @@ public URL getData() {
return data;
}

@XmlTransient
public void setData(URL data) {
this.data = data;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package fr.ign.validator.model.file;

import javax.xml.bind.annotation.XmlTransient;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
Expand Down Expand Up @@ -48,7 +46,6 @@ public String getName() {
return name;
}

@XmlTransient
public void setName(String name) {
this.name = name;
}
Expand All @@ -57,7 +54,6 @@ public String getPath() {
return path;
}

@XmlTransient
public void setPath(String path) {
this.path = path;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;

import com.fasterxml.jackson.annotation.JsonProperty;

import fr.ign.validator.data.DocumentFile;
Expand Down Expand Up @@ -51,8 +48,6 @@ public void setTableModels(List<EmbeddedTableModel> tableModels) {
this.tableModels = tableModels;
}

@XmlElementWrapper(name = "tables")
@XmlElement(name = "table")
@JsonProperty("tables")
public List<EmbeddedTableModel> getTableModels() {
return tableModels;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import java.io.File;

import javax.xml.bind.annotation.XmlTransient;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
Expand Down Expand Up @@ -61,7 +59,6 @@ public FeatureType getFeatureType() {
return featureType;
}

@XmlTransient
public void setFeatureType(FeatureType featureType) {
this.featureType = featureType;
}
Expand Down

This file was deleted.

0 comments on commit c82cb61

Please sign in to comment.