Skip to content

Commit

Permalink
JENA-1595: Require log4j for cmds and distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
afs committed Sep 27, 2018
1 parent 30feb28 commit 87e70b0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
14 changes: 14 additions & 0 deletions apache-jena/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,20 @@
<version>3.9.0-SNAPSHOT</version>
</dependency>

<!-- Require a logging implementation -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>compile</scope>
</dependency>
<!-- Logging -->

<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-cmds</artifactId>
Expand Down
8 changes: 6 additions & 2 deletions jena-cmds/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,20 @@
<artifactId>slf4j-api</artifactId>
</dependency>

<!-- Require a logging implementation -->
<!-- Require a logging implementation
It is <scope>test</scope> from the parent otherwise.
-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<scope>runtime</scope>
</dependency>

<!-- Testing -->
<dependency>
Expand Down

0 comments on commit 87e70b0

Please sign in to comment.