Skip to content

Commit 2e7c2ca

Browse files
committed
[LOG4J-3675] Fix spring-test dependency scope
The dependency scope of `spring-test` accidentally changed to `compile` in version 2.21.1. This is part of (#1706).
1 parent ca225f0 commit 2e7c2ca

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

log4j-jakarta-web/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
<dependency>
8383
<groupId>org.springframework</groupId>
8484
<artifactId>spring-test</artifactId>
85+
<scope>test</scope>
8586
<exclusions>
8687
<exclusion>
8788
<groupId>org.springframework</groupId>

log4j-taglib/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
<dependency>
9090
<groupId>org.springframework</groupId>
9191
<artifactId>spring-test</artifactId>
92+
<scope>test</scope>
9293
<exclusions>
9394
<exclusion>
9495
<groupId>org.springframework</groupId>

log4j-web/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
<dependency>
9292
<groupId>org.springframework</groupId>
9393
<artifactId>spring-test</artifactId>
94+
<scope>test</scope>
9495
<exclusions>
9596
<exclusion>
9697
<groupId>org.springframework</groupId>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://logging.apache.org/log4j/changelog"
4+
xsi:schemaLocation="http://logging.apache.org/log4j/changelog https://logging.apache.org/log4j/changelog-0.1.2.xsd"
5+
type="fixed">
6+
<issue id="LOG4J2-3675" link="https://issues.apache.org/jira/browse/LOG4J2-3675"/>
7+
<description format="asciidoc">Fix `spring-test` dependency scope change.</description>
8+
</entry>

0 commit comments

Comments
 (0)