Skip to content

Commit f8e1cb5

Browse files
committed
Removed hard reference to log4j
1 parent 4653b70 commit f8e1cb5

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,10 @@ Normally, one of our developers should be able to comment on them and fix.
461461

462462
These are the release notes for the Java library for mapcodes.
463463

464+
### 2.4.5
465+
466+
* Remove hard reference to `log4j` for production. Left only for unit tests.
467+
464468
### 2.4.4
465469

466470
* Added calls to decode an international or territorial mapcode to its encompassing

pom.xml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<artifactId>mapcode</artifactId>
99

1010
<packaging>jar</packaging>
11-
<version>2.4.4</version>
11+
<version>2.4.5</version>
1212

1313
<name>Mapcode Java Library</name>
1414
<description>
@@ -285,22 +285,24 @@
285285
<scope>test</scope>
286286
</dependency>
287287

288-
<dependency>
289-
<groupId>log4j</groupId>
290-
<artifactId>log4j</artifactId>
291-
<version>${log4j.version}</version>
292-
</dependency>
293-
294288
<dependency>
295289
<groupId>org.slf4j</groupId>
296290
<artifactId>slf4j-api</artifactId>
297291
<version>${slf4j.version}</version>
298292
</dependency>
299293

294+
<dependency>
295+
<groupId>log4j</groupId>
296+
<artifactId>log4j</artifactId>
297+
<version>${log4j.version}</version>
298+
<scope>test</scope>
299+
</dependency>
300+
300301
<dependency>
301302
<groupId>org.slf4j</groupId>
302303
<artifactId>slf4j-log4j12</artifactId>
303304
<version>${slf4j.version}</version>
305+
<scope>test</scope>
304306
</dependency>
305307
</dependencies>
306308
</project>

0 commit comments

Comments
 (0)