Skip to content

Commit d078cfc

Browse files
committed
Remove log4j.properties and all transitive dependencies to log4j 1.2
1 parent 2912427 commit d078cfc

2 files changed

Lines changed: 30 additions & 8 deletions

File tree

pom.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,16 @@
150150
<groupId>org.apache.jena</groupId>
151151
<artifactId>jena-core</artifactId>
152152
<version>2.7.4</version>
153+
<exclusions>
154+
<exclusion>
155+
<groupId>log4j</groupId>
156+
<artifactId>log4j</artifactId>
157+
</exclusion>
158+
<exclusion>
159+
<groupId>org.slf4j</groupId>
160+
<artifactId>slf4j-log4j12</artifactId>
161+
</exclusion>
162+
</exclusions>
153163
</dependency>
154164
<!-- Be careful with versions of lucene -->
155165
<!-- jena-text uses lucene 4.x.. Not ready for this. -->
@@ -159,11 +169,31 @@
159169
<groupId>org.apache.jena</groupId>
160170
<artifactId>jena-larq</artifactId>
161171
<version>1.0.0-incubating</version>
172+
<exclusions>
173+
<exclusion>
174+
<groupId>log4j</groupId>
175+
<artifactId>log4j</artifactId>
176+
</exclusion>
177+
<exclusion>
178+
<groupId>org.slf4j</groupId>
179+
<artifactId>slf4j-log4j12</artifactId>
180+
</exclusion>
181+
</exclusions>
162182
</dependency>
163183
<dependency>
164184
<groupId>org.apache.jena</groupId>
165185
<artifactId>jena-arq</artifactId>
166186
<version>2.9.4</version> <!-- latest release is 2.10.1, but not compatible with larq? -->
187+
<exclusions>
188+
<exclusion>
189+
<groupId>log4j</groupId>
190+
<artifactId>log4j</artifactId>
191+
</exclusion>
192+
<exclusion>
193+
<groupId>org.slf4j</groupId>
194+
<artifactId>slf4j-log4j12</artifactId>
195+
</exclusion>
196+
</exclusions>
167197
</dependency>
168198

169199
<!-- Lucene -->

test/log4j.properties

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)