Skip to content

Commit

Permalink
[highsource#251] Upgrade to jaxb 2.3.7
Browse files Browse the repository at this point in the history
 - Remove older jaxb deps pre-2.3
 - Remove maven-jaxb22-plugin
 - Reset version to 0.15.2-SNAPSHOT
  • Loading branch information
mattrpav committed Dec 29, 2022
1 parent e78fabc commit 06bafe9
Show file tree
Hide file tree
Showing 63 changed files with 99 additions and 96 deletions.
2 changes: 1 addition & 1 deletion dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-project</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion plugin-2.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-project</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<prerequisites>
<maven>${maven.version}</maven>
Expand Down
2 changes: 1 addition & 1 deletion plugin-2.1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-project</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<prerequisites>
<maven>${maven.version}</maven>
Expand Down
8 changes: 4 additions & 4 deletions plugin-2.2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@
<version>${jaxb22.version}</version>
</dependency>
<!-- Start jaxb-xjc dependencies -->
<dependency>
<groupId>com.sun.xsom</groupId>
<artifactId>xsom</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>xsom</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>codemodel</artifactId>
Expand Down
14 changes: 7 additions & 7 deletions plugin-2.3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-project</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<prerequisites>
<maven>${maven.version}</maven>
Expand All @@ -21,8 +21,8 @@
<artifactId>plexus-utils</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>org.glassfish.jaxb</groupId>
Expand All @@ -32,10 +32,10 @@
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-xjc</artifactId>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
<scope>compile</scope>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
Expand Down
6 changes: 3 additions & 3 deletions plugin-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-project</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-project</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<prerequisites>
<maven>${maven.version}</maven>
Expand Down
26 changes: 11 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-project</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Maven JAXB 2.x Plugin Project</name>
<description>Maven2 plugin for JAXB 2.x XJC compiler to generate Java sources from XML Schemas.</description>
Expand Down Expand Up @@ -43,7 +43,7 @@
<module>plugin-core</module>
<module>plugin-2.0</module>
<module>plugin-2.1</module>
<module>plugin-2.2</module>
<!-- module>plugin-2.2</module -->
<module>plugin-2.3</module>
<module>plugin</module>
<module>testing</module>
Expand All @@ -54,12 +54,11 @@
<jaxb20.version>2.0.5</jaxb20.version>
<jaxb21.version>2.1.13</jaxb21.version>
<jaxb22.version>2.2.11</jaxb22.version>
<jaxb23.version>2.3.6</jaxb23.version>
<jaxb-api.version>2.3.1</jaxb-api.version>
<jaxb23.version>2.3.7</jaxb23.version>
<jaxb-api.version>2.3.3</jaxb-api.version>
<jaxb.version>${jaxb23.version}</jaxb.version>
<stax-ex.version>1.8.3</stax-ex.version>
<fastinfoset.version>1.2.18</fastinfoset.version>
<xsom.version>20140925</xsom.version>
<dtd-parser.version>1.4.5</dtd-parser.version>
<istack.version>3.0.12</istack.version>
<activation.version>1.2.2</activation.version>
Expand Down Expand Up @@ -209,13 +208,8 @@
</dependency>
<!-- Start of jaxb-runtime dependencies -->
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0.1</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>${jaxb-api.version}</version>
</dependency>
<dependency>
Expand Down Expand Up @@ -247,10 +241,10 @@
</dependency>

<!-- Start jaxb-xjc dependencies -->
<dependency>
<groupId>com.sun.xsom</groupId>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>xsom</artifactId>
<version>${xsom.version}</version>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
Expand Down Expand Up @@ -313,11 +307,13 @@
<artifactId>maven-jaxb21-plugin</artifactId>
<version>${project.version}</version>
</dependency>
<!--
<dependency>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb22-plugin</artifactId>
<version>${project.version}</version>
</dependency>
-->
<dependency>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb23-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion samples/catalog/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-samples</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<build>
<defaultGoal>install</defaultGoal>
Expand Down
2 changes: 1 addition & 1 deletion samples/dtd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-samples</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<build>
<defaultGoal>install</defaultGoal>
Expand Down
2 changes: 1 addition & 1 deletion samples/episode/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-samples</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<build>
<defaultGoal>install</defaultGoal>
Expand Down
2 changes: 1 addition & 1 deletion samples/jaxbplugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-samples</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<build>
<defaultGoal>install</defaultGoal>
Expand Down
2 changes: 1 addition & 1 deletion samples/po/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-samples</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<build>
<defaultGoal>install</defaultGoal>
Expand Down
2 changes: 1 addition & 1 deletion samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-project</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<modules>
<module>catalog</module>
Expand Down
2 changes: 1 addition & 1 deletion testing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-project</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion tests/JAXB-1044/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<packaging>jar</packaging>
<name>Maven JAXB 2.x Plugin Tests [MAVEN_JAXB2_PLUGIN-JAXB-1044]</name>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-49/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<packaging>jar</packaging>
<name>Maven JAXB 2.x Plugin Tests [MAVEN_JAXB2_PLUGIN-49]</name>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-53/a/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-53</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-53-a</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-53/b/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-53</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-53-b</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-53/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-53</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-69/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<packaging>jar</packaging>
<name>Maven JAXB 2.x Plugin Tests [MAVEN_JAXB2_PLUGIN-69]</name>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-70/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<packaging>jar</packaging>
<name>Maven JAXB 2.x Plugin Tests [MAVEN_JAXB2_PLUGIN-70]</name>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-77/common-types/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-77</artifactId>
<version>0.14.1-SNAPSHOT</version>
<version>2.3.6-SNAPSHOT</version>
</parent>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-77-common-types</artifactId>
<name>Maven JAXB 2.x Plugin Tests [MAVEN_JAXB2_PLUGIN-77:common-types]</name>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-77/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests</artifactId>
<version>0.14.1-SNAPSHOT</version>
<version>2.3.6-SNAPSHOT</version>
</parent>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-77</artifactId>
<packaging>pom</packaging>
Expand Down
10 changes: 3 additions & 7 deletions tests/MAVEN_JAXB2_PLUGIN-77/service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-77</artifactId>
<version>0.14.1-SNAPSHOT</version>
<version>2.3.6-SNAPSHOT</version>
</parent>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-77-service</artifactId>
<name>Maven JAXB 2.x Plugin Tests [MAVEN_JAXB2_PLUGIN-77:service]</name>
Expand All @@ -26,18 +26,14 @@
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb23-plugin</artifactId>
<configuration>
<episode>true</episode>
<useDependenciesAsEpisodes>true</useDependenciesAsEpisodes>
<schemaDirectory>src/main/resources/META-INF/project/schemas</schemaDirectory>
<generatePackage>com.company.project.service.types</generatePackage>
<catalog>src/main/jaxb/catalog.cat</catalog>
<catalogResolver>org.jvnet.jaxb2.maven2.resolver.tools.ClasspathCatalogResolver</catalogResolver>
<extension>true</extension>
<strict>false</strict>
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-77-common-types</artifactId>
</plugin>
</plugins>
</configuration>
<executions>
<execution>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-79/a/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-79</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-79-a</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-79/b/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-79</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-79-b</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-79/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-79</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-82/a/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-82</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-82-a</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion tests/MAVEN_JAXB2_PLUGIN-82/b/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-82</artifactId>
<version>2.3.6-SNAPSHOT</version>
<version>0.15.2-SNAPSHOT</version>
</parent>
<artifactId>maven-jaxb2-plugin-tests-MAVEN_JAXB2_PLUGIN-82-b</artifactId>
<packaging>jar</packaging>
Expand Down
Loading

0 comments on commit 06bafe9

Please sign in to comment.