Skip to content

Commit

Permalink
added jaxb-jakarta module to parent pom (#2015)
Browse files Browse the repository at this point in the history
* added jaxb-jakarta module to parent pom

* added java version to jaxb-jakarta pom
  • Loading branch information
FloLei authored Apr 17, 2023
1 parent 9b01564 commit 135e2c0
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 47 deletions.
95 changes: 48 additions & 47 deletions jaxb-jakarta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,50 +14,51 @@
the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.github.openfeign</groupId>
<artifactId>parent</artifactId>
<version>12.4-SNAPSHOT</version>
</parent>

<artifactId>feign-jaxb-jakarta</artifactId>
<name>Feign JAXB Jakarta</name>
<description>Feign JAXB Jakarta</description>

<properties>
<main.basedir>${project.basedir}/..</main.basedir>
</properties>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>feign-core</artifactId>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>feign-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>4.0.0</version>
</dependency>

<!-- Test -->
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>4.0.0</version>
<scope>test</scope>
</dependency>
</dependencies>

</project>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.github.openfeign</groupId>
<artifactId>parent</artifactId>
<version>12.4-SNAPSHOT</version>
</parent>

<artifactId>feign-jaxb-jakarta</artifactId>
<name>Feign JAXB Jakarta</name>
<description>Feign JAXB Jakarta</description>

<properties>
<main.java.version>11</main.java.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<main.basedir>${project.basedir}/..</main.basedir>
</properties>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>feign-core</artifactId>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>feign-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>4.0.0</version>
</dependency>

<!-- Test -->
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>4.0.0</version>
<scope>test</scope>
</dependency>
</dependencies>

</project>
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<module>jackson-jaxb</module>
<module>jackson-jr</module>
<module>jaxb</module>
<module>jaxb-jakarta</module>
<module>jaxrs</module>
<module>jaxrs2</module>
<module>java11</module>
Expand Down

0 comments on commit 135e2c0

Please sign in to comment.