Skip to content

Commit dddc42b

Browse files
committed
move slf4j implementation to test scope
Signed-off-by: Gilian Rehm <g_rehm@ich-habe-fertig.com>
1 parent 5b7d267 commit dddc42b

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

pom.xml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,23 @@
5151
<sonar.projectKey>java-spdx-library</sonar.projectKey>
5252
</properties>
5353
<profiles>
54+
<profile>
55+
<id>test</id>
56+
<dependencies>
57+
<dependency>
58+
<groupId>org.apache.logging.log4j</groupId>
59+
<artifactId>log4j-slf4j2-impl</artifactId>
60+
<version>2.20.0</version>
61+
<scope>test</scope>
62+
<exclusions>
63+
<exclusion>
64+
<groupId>org.slf4j</groupId>
65+
<artifactId>slf4j-api</artifactId>
66+
</exclusion>
67+
</exclusions>
68+
</dependency>
69+
</dependencies>
70+
</profile>
5471
<profile>
5572
<id>doclint-java8-disable</id>
5673
<activation>
@@ -98,17 +115,6 @@
98115
<artifactId>slf4j-api</artifactId>
99116
<version>2.0.7</version>
100117
</dependency>
101-
<dependency>
102-
<groupId>org.apache.logging.log4j</groupId>
103-
<artifactId>log4j-slf4j2-impl</artifactId>
104-
<version>2.20.0</version>
105-
<exclusions>
106-
<exclusion>
107-
<groupId>org.slf4j</groupId>
108-
<artifactId>slf4j-api</artifactId>
109-
</exclusion>
110-
</exclusions>
111-
</dependency>
112118
<dependency>
113119
<groupId>org.apache.commons</groupId>
114120
<artifactId>commons-lang3</artifactId>

0 commit comments

Comments
 (0)