You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2018/08/31 12:05:00 UTC

[10/27] jena git commit: JENA-1595: Put log4j and slf4j-log4j into scope test for all modules

JENA-1595: Put log4j and slf4j-log4j into scope test for all modules


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/a17c6dd7
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/a17c6dd7
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/a17c6dd7

Branch: refs/heads/master
Commit: a17c6dd732ca32ef4122dc089c8717fccc5b75b1
Parents: 344ae5d
Author: Andy Seaborne <an...@apache.org>
Authored: Thu Aug 23 18:27:39 2018 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Thu Aug 23 18:27:39 2018 +0100

----------------------------------------------------------------------
 jena-base/pom.xml | 7 +++++++
 pom.xml           | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/a17c6dd7/jena-base/pom.xml
----------------------------------------------------------------------
diff --git a/jena-base/pom.xml b/jena-base/pom.xml
index 5fd602a..438f9e2 100644
--- a/jena-base/pom.xml
+++ b/jena-base/pom.xml
@@ -44,7 +44,14 @@
       <version>3.9.0-SNAPSHOT</version>
     </dependency>
 
+    <!-- For compiling the log4j1 helper code. -->
     <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <optional>true</optional>
+    </dependency>
+    
+   <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-csv</artifactId>
     </dependency> 

http://git-wip-us.apache.org/repos/asf/jena/blob/a17c6dd7/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9744eb3..8ffc688 100644
--- a/pom.xml
+++ b/pom.xml
@@ -558,13 +558,13 @@
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-log4j12</artifactId>
-      <optional>true</optional>
+      <scope>test</scope>
     </dependency>
 
     <dependency>
       <groupId>log4j</groupId>
       <artifactId>log4j</artifactId>
-      <optional>true</optional>
+      <scope>test</scope>
     </dependency>
 
   </dependencies>