Skip to content

Commit 9aeb3ca

Browse files
authored
add slf4j-log4j12 and set scope to test (#46)
1 parent 433f353 commit 9aeb3ca

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

Diff for: connector/pom.xml

+11
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<compiler.source.version>1.8</compiler.source.version>
2020
<compiler.target.version>1.8</compiler.target.version>
2121
<junit.version>4.13.1</junit.version>
22+
<slf4j-log4j12.version>1.7.25</slf4j-log4j12.version>
2223
</properties>
2324

2425
<dependencies>
@@ -66,6 +67,16 @@
6667
<groupId>junit</groupId>
6768
<artifactId>junit</artifactId>
6869
<version>${junit.version}</version>
70+
<scope>test</scope>
71+
</dependency>
72+
73+
<!-- slf4j-log4j -->
74+
<dependency>
75+
<groupId>org.slf4j</groupId>
76+
<artifactId>slf4j-log4j12</artifactId>
77+
<version>${slf4j-log4j12.version}</version>
78+
<optional>true</optional>
79+
<scope>test</scope>
6980
</dependency>
7081
</dependencies>
7182

Diff for: example/pom.xml

-5
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@
2424
<artifactId>slf4j-log4j12</artifactId>
2525
<version>1.7.25</version>
2626
</dependency>
27-
<dependency>
28-
<groupId>org.slf4j</groupId>
29-
<artifactId>slf4j-api</artifactId>
30-
<version>1.7.25</version>
31-
</dependency>
3227
</dependencies>
3328

3429
<build>

0 commit comments

Comments
 (0)