Skip to content

Commit

Permalink
POMs: jaxb-api banned, replaced by jakarta.xml.bind:jakarta.xml.bind-api
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Jun 2, 2020
1 parent c03ac7b commit a3611df
Show file tree
Hide file tree
Showing 15 changed files with 10 additions and 72 deletions.
4 changes: 0 additions & 4 deletions infra/prism-api/pom.xml
Expand Up @@ -62,10 +62,6 @@
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions infra/schema-pure-jaxb/pom.xml
Expand Up @@ -38,8 +38,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions infra/util/pom.xml
Expand Up @@ -86,8 +86,8 @@
<artifactId>annotations</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
Expand Down
5 changes: 0 additions & 5 deletions model/model-intest/pom.xml
Expand Up @@ -325,11 +325,6 @@
<artifactId>slf4j-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>test</scope>
</dependency>
<dependency> <!-- needed as runtime dependency otherwise spring won't start -->
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions model/notifications-impl/pom.xml
Expand Up @@ -234,11 +234,6 @@
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>test</scope>
</dependency>
<dependency> <!-- needed as runtime dependency otherwise spring won't start -->
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
Expand Down
18 changes: 6 additions & 12 deletions pom.xml
Expand Up @@ -227,18 +227,6 @@
<artifactId>relaxng-datatype</artifactId>
<version>${relaxng-datatype.version}</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${javax-jaxb.version}</version>
<exclusions>
<!-- in favor of Jakarta version -->
<exclusion>
<groupId>javax.activation</groupId>
<artifactId>javax.activation-api</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.reflections</groupId>
Expand Down Expand Up @@ -1356,6 +1344,10 @@
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</exclusion>
<exclusion>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down Expand Up @@ -1705,6 +1697,8 @@
jaxb-xjc replaced by Glassfish jaxb-xjc + xsom + codemodel
-->
<exclude>com.sun.xml.bind:*</exclude>
<!-- in favor of jakarta.xml.bind:jakarta.xml.bind-api -->
<exclude>javax.xml.bind:jaxb-api</exclude>
<!-- in favor of jakarta.activation:jakarta.activation-api -->
<exclude>javax.activation:javax.activation-api</exclude>
<!-- in favor of com.sun.activation:jakarta.activation -->
Expand Down
5 changes: 0 additions & 5 deletions provisioning/provisioning-impl/pom.xml
Expand Up @@ -125,11 +125,6 @@
</dependency>

<!-- Testing dependencies -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.evolveum.midpoint.infra</groupId>
<artifactId>test-util</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions provisioning/ucf-impl-builtin/pom.xml
Expand Up @@ -102,11 +102,6 @@
</dependency>

<!-- Testing dependencies -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.evolveum.midpoint.infra</groupId>
<artifactId>test-util</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions provisioning/ucf-impl-connid/pom.xml
Expand Up @@ -97,11 +97,6 @@
</dependency>

<!-- Testing dependencies -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.evolveum.midpoint.infra</groupId>
<artifactId>test-util</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions repo/repo-sql-impl-test/pom.xml
Expand Up @@ -155,11 +155,6 @@
<version>1.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions repo/repo-sql-impl/pom.xml
Expand Up @@ -144,10 +144,6 @@
<artifactId>hibernate-jpa-2.1-api</artifactId>
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions repo/task-quartz-impl/pom.xml
Expand Up @@ -98,11 +98,6 @@
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions testing/rest/pom.xml
Expand Up @@ -126,10 +126,6 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
Expand Down
5 changes: 0 additions & 5 deletions testing/story/pom.xml
Expand Up @@ -271,11 +271,6 @@
<artifactId>javax.servlet-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.directory.api</groupId>
<artifactId>api-all</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions tools/xjc-plugin/pom.xml
Expand Up @@ -25,10 +25,6 @@
</properties>

<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>com.evolveum.midpoint.infra</groupId>
<artifactId>prism-api</artifactId>
Expand Down

0 comments on commit a3611df

Please sign in to comment.