You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ca...@apache.org on 2014/08/20 03:38:25 UTC

git commit: CURATOR-139 Add slf4j-log4j test bindings

Repository: curator
Updated Branches:
  refs/heads/CURATOR-139 [created] 104837d07


CURATOR-139 Add slf4j-log4j test bindings

Add test bindings so that log output is preserved. Makes it easier to
debug jenkins and failed unit tests, which not appreciably increasing
the time to run or disk space used.

This closes #36


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

Branch: refs/heads/CURATOR-139
Commit: 104837d0739647729eef58f7d2dc29c3fb62f89e
Parents: d2c37d0
Author: Mike Drob <md...@cloudera.com>
Authored: Mon Aug 11 16:34:33 2014 -0500
Committer: Mike Drob <md...@cloudera.com>
Committed: Mon Aug 11 16:34:33 2014 -0500

----------------------------------------------------------------------
 pom.xml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/104837d0/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2129e56..60e718c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,6 +86,7 @@
         <swift-version>0.12.0</swift-version>
         <dropwizard-version>0.7.0</dropwizard-version>
         <maven-shade-plugin-version>2.3</maven-shade-plugin-version>
+        <slf4j-version>1.7.6</slf4j-version>
 
         <!-- OSGi Properties -->
         <osgi.export.package />
@@ -275,7 +276,13 @@
             <dependency>
                 <groupId>org.slf4j</groupId>
                 <artifactId>slf4j-api</artifactId>
-                <version>1.7.6</version>
+                <version>${slf4j-version}</version>
+            </dependency>
+
+            <dependency>
+                <groupId>org.slf4j</groupId>
+                <artifactId>slf4j-log4j12</artifactId>
+                <version>${slf4j-version}</version>
             </dependency>
 
             <dependency>
@@ -474,6 +481,13 @@
             <artifactId>testng</artifactId>
             <scope>test</scope>
         </dependency>
+
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-log4j12</artifactId>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 
     <reporting>