Skip to content

Commit

Permalink
Merge pull request #322 from groldan/build/snakeyaml_2.0
Browse files Browse the repository at this point in the history
Upgrade snakeyaml:1.30 -> 2.0, jackson:2.13.5 -> 2.14.2
  • Loading branch information
groldan authored Apr 20, 2023
2 parents 0a6aa94 + 2ded795 commit b8941a2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<maven.compiler.target>17</maven.compiler.target>
<spring-cloud.version>2021.0.6</spring-cloud.version>
<spring-boot.version>2.7.10</spring-boot.version>
<jackson.version>2.14.2</jackson.version>
<feign-reactor.version>3.2.6</feign-reactor.version>
<gs.version>2.23.0-CLOUD</gs.version>
<gs.community.version>2.23.0-CLOUD</gs.community.version>
Expand Down Expand Up @@ -49,6 +50,21 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<!-- Upgrade jackson from the 2.13.5 version provided by spring-boot to 2.14.2 which supports snakeyaml 2.0 -->
<!-- Note the trick for it to take effect and override all jackson deps is to declare it before the spring-boot bom -->
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${jackson.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<!-- Upgrade to snakeyaml 2.0 to get rid of several CVE's from the 1.30 version included with spring-boot -->
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
Expand Down

0 comments on commit b8941a2

Please sign in to comment.