Skip to content

Commit 388478e

Browse files
authored
🎨 #4016 移除 dependencyManagement 中 joda-time 的 test scope,防止覆盖下游项目依赖范围
1 parent 0a57047 commit 388478e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,14 @@
221221
<scope>import</scope>
222222
</dependency>
223223

224-
<!-- 测试所用依赖 -->
224+
<!-- 仅做版本管理,scope 由各子模块在自身 dependencies 中声明,以避免覆盖下游项目依赖范围 -->
225225
<dependency>
226226
<groupId>joda-time</groupId>
227227
<artifactId>joda-time</artifactId>
228228
<version>2.10.6</version>
229-
<scope>test</scope>
230229
</dependency>
230+
231+
<!-- 测试所用依赖 -->
231232
<dependency>
232233
<groupId>ch.qos.logback</groupId>
233234
<artifactId>logback-classic</artifactId>

0 commit comments

Comments
 (0)