Skip to content

Commit

Permalink
pom cleanup in preparation for Jakarta upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
andrus committed Mar 26, 2024
1 parent aee872b commit 08c6da5
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 25 deletions.
4 changes: 0 additions & 4 deletions bootique-cxf-jaxrs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@

<dependencies>
<!-- Compile dependencies -->
<dependency>
<groupId>io.bootique</groupId>
<artifactId>bootique</artifactId>
</dependency>
<dependency>
<groupId>io.bootique.jetty</groupId>
<artifactId>bootique-jetty</artifactId>
Expand Down
6 changes: 0 additions & 6 deletions bootique-cxf-jaxws-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@

<dependencies>
<!-- Compile dependencies -->
<dependency>
<groupId>io.bootique</groupId>
<artifactId>bootique</artifactId>
</dependency>

<dependency>
<groupId>io.bootique.cxf</groupId>
<artifactId>bootique-cxf-core</artifactId>
Expand All @@ -49,7 +44,6 @@
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down
52 changes: 37 additions & 15 deletions bootique-cxf-jaxws-it/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<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">
<parent>
<artifactId>bootique-cxf-parent</artifactId>
<groupId>io.bootique.cxf</groupId>
Expand All @@ -14,7 +15,33 @@
Integration tests for various JAX-WS client / server configurations.
</description>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-ri</artifactId>
<type>pom</type>
<version>${jaxws-ri.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf.xjc-utils</groupId>
<artifactId>cxf-xjc-runtime</artifactId>
<version>${cxf.xjc.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-features-logging</artifactId>
<version>${cxf.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<!-- Compile dependencies -->
<dependency>
<groupId>org.apache.cxf.xjc-utils</groupId>
<artifactId>cxf-xjc-runtime</artifactId>
</dependency>

<!-- Unit test dependencies -->
<dependency>
Expand All @@ -39,27 +66,22 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-features-logging</artifactId>
<scope>test</scope>
</dependency>

<!-- Java 9+ implicit deps -->
<!--
TODO: this one is weird. If this dependency is moved on top of the dependency list,
CXF endpoint provider is not loaded, and all the tests fail. Why is it order-dependent?
-->
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-ri</artifactId>
<version>${jaxws-ri.version}</version>
<type>pom</type>
</dependency>

<dependency>
<groupId>org.apache.cxf.xjc-utils</groupId>
<artifactId>cxf-xjc-runtime</artifactId>
<version>3.3.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-features-logging</artifactId>
<version>${cxf.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<properties>
<bootique.version>${project.version}</bootique.version>
<cxf.version>3.5.8</cxf.version>
<cxf.xjc.version>3.3.3</cxf.xjc.version>
<apache.hc.version>4.5.5</apache.hc.version>
<jaxws-api.version>2.3.3</jaxws-api.version>
<jaxws-ri.version>2.3.3</jaxws-ri.version>
Expand Down

0 comments on commit 08c6da5

Please sign in to comment.