Skip to content

Commit

Permalink
GH-168 change artefacts to prepare jakarta migration - align with jax…
Browse files Browse the repository at this point in the history
…b-maven-plugin (#169)

Co-authored-by: Laurent SCHOELENS <[email protected]>
  • Loading branch information
laurentschoelens and Laurent SCHOELENS authored Jun 30, 2023
1 parent 9d02758 commit 10c885e
Show file tree
Hide file tree
Showing 23 changed files with 68 additions and 66 deletions.
2 changes: 1 addition & 1 deletion ant/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
<artifactId>jaxb2-basics-tools</artifactId>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
</dependency>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
13 changes: 7 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@
</profiles>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jaxb.version>2.3.6</jaxb.version>
<jaxb-api.version>2.3.1</jaxb-api.version>
<jaxb.version>2.3.7</jaxb.version>
<jaxb-api.version>2.3.3</jaxb-api.version>
<jaxb-core.version>2.3.0.1</jaxb-core.version>
<activation.version>1.2.0</activation.version>
<activation.version>1.2.2</activation.version>
<maven-jaxb2-plugin.version>0.15.1</maven-jaxb2-plugin.version>
<maven-nexus-staging-maven-plugin.version>1.6.8</maven-nexus-staging-maven-plugin.version>
<cxf-codegen-plugin.version>3.3.13</cxf-codegen-plugin.version>
Expand Down Expand Up @@ -244,9 +244,10 @@
<version>${maven-jaxb2-plugin.version}</version>
</dependency>
<!-- JAXB -->
<!-- Start of jaxb-runtime dependencies -->
<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 All @@ -266,7 +267,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
<version>${activation.version}</version>
</dependency>
<!-- JUnit -->
Expand Down
14 changes: 7 additions & 7 deletions runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</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 All @@ -26,7 +26,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -56,17 +56,17 @@
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goals>
<goal>manifest</goal>
</goals>
</goals>
</execution>
</executions>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion samples/basic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
Expand Down
6 changes: 3 additions & 3 deletions samples/basic/project-build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<path id="test-compile.path">
<fileset dir="${basedir}/lib">
<include name="istack-commons-*.jar"/>
<include name="javax.activation-*.jar"/>
<include name="jakarta.activation-*.jar"/>
<include name="jakarta.xml.bind-api-*.jar"/>
<include name="jaxb-runtime-*.jar"/>
<include name="jaxb-core-*.jar"/>
Expand All @@ -42,7 +42,7 @@
<path id="test.path">
<fileset dir="${basedir}/lib">
<include name="istack-commons-*.jar"/>
<include name="javax.activation-*.jar"/>
<include name="jakarta.activation-*.jar"/>
<include name="jakarta.xml.bind-api-*.jar"/>
<include name="jaxb-runtime-*.jar"/>
<include name="jaxb-core-*.jar"/>
Expand Down Expand Up @@ -75,7 +75,7 @@
<fileset dir="${basedir}/lib">
<include name="codemodel-*.jar"/>
<include name="istack-commons-*.jar"/>
<include name="javax.activation-*.jar"/>
<include name="jakarta.activation-*.jar"/>
<include name="jakarta.xml.bind-api-*.jar"/>
<include name="jaxb-runtime-*.jar"/>
<include name="jaxb-core-*.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion samples/basic/project-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
<version>${activation.version}</version>
<scope>provided</scope>
</dependency>
Expand Down
11 changes: 6 additions & 5 deletions samples/cxf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
Expand All @@ -43,10 +43,11 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</dependency>
<dependency> <groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf-codegen-plugin.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf-codegen-plugin.version}</version>
</dependency>
</dependencies>
<build>
<defaultGoal>install</defaultGoal>
Expand Down
38 changes: 19 additions & 19 deletions samples/cxf/project-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
<packaging>jar</packaging>
<name>JAXB2 Basics - Sample [cxf-maven]</name>
<dependencies>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<version>2.3.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.jws</groupId>
<artifactId>javax.jws-api</artifactId>
<version>1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.xml.ws</groupId>
<artifactId>jakarta.xml.ws-api</artifactId>
<version>2.3.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.jws</groupId>
<artifactId>jakarta.jws-api</artifactId>
<version>1.1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
Expand All @@ -28,7 +28,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
<version>${activation.version}</version>
<scope>provided</scope>
</dependency>
Expand Down Expand Up @@ -83,17 +83,17 @@
</configuration>
<dependencies>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>${jaxb.version}</version>
</dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-xjc</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-core</artifactId>
<version>${jaxb-core.version}</version>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion samples/po-simple/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
6 changes: 3 additions & 3 deletions samples/po-simple/project-build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<fileset dir="${basedir}/lib">
<include name="codemodel-*.jar"/>
<include name="istack-commons-*.jar"/>
<include name="javax.activation-*.jar"/>
<include name="jakarta.activation-*.jar"/>
<include name="jakarta.xml.bind-api-*.jar"/>
<include name="jaxb-runtime-*.jar"/>
<include name="jaxb-core-*.jar"/>
Expand All @@ -42,7 +42,7 @@
<fileset dir="${basedir}/lib">
<include name="codemodel-*.jar"/>
<include name="istack-commons-*.jar"/>
<include name="javax.activation-*.jar"/>
<include name="jakarta.activation-*.jar"/>
<include name="jakarta.xml.bind-api-*.jar"/>
<include name="jaxb-runtime-*.jar"/>
<include name="jaxb-core-*.jar"/>
Expand Down Expand Up @@ -74,7 +74,7 @@
<fileset dir="${basedir}/lib">
<include name="codemodel-*.jar"/>
<include name="istack-commons-*.jar"/>
<include name="javax.activation-*.jar"/>
<include name="jakarta.activation-*.jar"/>
<include name="jakarta.xml.bind-api-*.jar"/>
<include name="jaxb-runtime-*.jar"/>
<include name="jaxb-core-*.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion samples/po-simple/project-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
<version>${activation.version}</version>
<scope>provided</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion samples/po/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
Expand Down
6 changes: 3 additions & 3 deletions samples/po/project-build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<path id="test-compile.path">
<fileset dir="${basedir}/lib">
<include name="istack-commons-*.jar"/>
<include name="javax.activation-*.jar"/>
<include name="jakarta.activation-*.jar"/>
<include name="jakarta.xml.bind-api-*.jar"/>
<include name="jaxb-runtime-*.jar"/>
<include name="jaxb-core-*.jar"/>
Expand All @@ -42,7 +42,7 @@
<path id="test.path">
<fileset dir="${basedir}/lib">
<include name="istack-commons-*.jar"/>
<include name="javax.activation-*.jar"/>
<include name="jakarta.activation-*.jar"/>
<include name="jakarta.xml.bind-api-*.jar"/>
<include name="jaxb-runtime-*.jar"/>
<include name="jaxb-core-*.jar"/>
Expand Down Expand Up @@ -75,7 +75,7 @@
<fileset dir="${basedir}/lib">
<include name="codemodel-*.jar"/>
<include name="istack-commons-*.jar"/>
<include name="javax.activation-*.jar"/>
<include name="jakarta.activation-*.jar"/>
<include name="jakarta.xml.bind-api-*.jar"/>
<include name="jaxb-runtime-*.jar"/>
<include name="jaxb-core-*.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion samples/po/project-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
<version>${activation.version}</version>
<scope>provided</scope>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions testing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<artifactId>jaxb2-basics-runtime</artifactId>
</dependency>
<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 tests/episodes/a/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
<artifactId>jaxb2-basics</artifactId>
</plugin>
</plugins>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion tests/episodes/b/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
<artifactId>jaxb2-basics</artifactId>
</plugin>
</plugins>
<episodes>
Expand Down
2 changes: 1 addition & 1 deletion tests/ignoring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
<artifactId>jaxb2-basics</artifactId>
</plugin>
</plugins>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
</dependency>
<dependency>
<groupId>org.jvnet.jaxb2_commons</groupId>
Expand Down
2 changes: 1 addition & 1 deletion tests/superclass/a/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
<artifactId>jaxb2-basics</artifactId>
</plugin>
</plugins>
</configuration>
Expand Down
4 changes: 2 additions & 2 deletions tests/zj/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<arg>-Xcopyable</arg>
</args>
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2_commons</groupId>
<plugin>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
</plugin>
</plugins>
Expand Down
2 changes: 1 addition & 1 deletion tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<artifactId>jakarta.activation</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 10c885e

Please sign in to comment.