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 May 31, 2024
1 parent 8f2d09d commit addaa07
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,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

0 comments on commit addaa07

Please sign in to comment.