Skip to content

Commit 2fa8a80

Browse files
committed
use dependencyManagement
1 parent 88e9882 commit 2fa8a80

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
<!-- conflicts resolution -->
7878
<micrometer.version>1.14.2</micrometer.version>
7979
<json.version>20250107</json.version>
80+
<snakeyaml.version>2.4</snakeyaml.version>
8081
<!-- Formatting -->
8182
<spotless.version>2.44.4</spotless.version>
8283
<spotless.skip>false</spotless.skip>
@@ -182,6 +183,11 @@
182183
<artifactId>json</artifactId>
183184
<version>${json.version}</version>
184185
</dependency>
186+
<dependency>
187+
<groupId>org.yaml</groupId>
188+
<artifactId>snakeyaml</artifactId>
189+
<version>${snakeyaml.version}</version>
190+
</dependency>
185191
<!-- scope "test" -->
186192
<dependency>
187193
<groupId>org.junit.jupiter</groupId>

sample-code/spring-app/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,6 @@
170170
<groupId>ch.qos.logback</groupId>
171171
<artifactId>logback-classic</artifactId>
172172
</exclusion>
173-
<exclusion>
174-
<groupId>org.yaml</groupId>
175-
<artifactId>snakeyaml</artifactId>
176-
</exclusion>
177173
</exclusions>
178174
</dependency>
179175
<!-- scope "provided" -->

0 commit comments

Comments
 (0)