Skip to content

Commit

Permalink
Add dependency mgmt to ensure matching version for transitive depende…
Browse files Browse the repository at this point in the history
…ncies
  • Loading branch information
Philzen committed Jun 1, 2024
1 parent cfef7b5 commit 34c7311
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,17 @@
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${jackson-jaxrs-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,17 @@
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${jackson-jaxrs-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
Expand Down
11 changes: 11 additions & 0 deletions samples/client/petstore/jaxrs-cxf-client-jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${jackson-jaxrs-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
Expand Down
11 changes: 11 additions & 0 deletions samples/client/petstore/jaxrs-cxf-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${jackson-jaxrs-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
Expand Down
11 changes: 11 additions & 0 deletions samples/server/petstore/jaxrs-cxf-annotated-base-path/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${jackson-jaxrs-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
Expand Down
11 changes: 11 additions & 0 deletions samples/server/petstore/jaxrs-cxf-non-spring-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${jackson-jaxrs-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
Expand Down
11 changes: 11 additions & 0 deletions samples/server/petstore/jaxrs-cxf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${jackson-jaxrs-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
Expand Down

0 comments on commit 34c7311

Please sign in to comment.