[LOG4J2-1730]: Add Cassandra dependencies

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/9f7fae1b
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/9f7fae1b
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/9f7fae1b

Branch: refs/heads/master
Commit: 9f7fae1b25a7e4fb7e990c0277fb1db5629d0a33
Parents: de0cfbb
Author: Matt Sicker <[email protected]>
Authored: Sat Dec 31 18:41:57 2016 -0600
Committer: Matt Sicker <[email protected]>
Committed: Sat Dec 31 18:41:57 2016 -0600

----------------------------------------------------------------------
 log4j-nosql/pom.xml | 29 ++++++++++++++++++++++++++++-
 pom.xml             |  5 +++++
 2 files changed, 33 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/9f7fae1b/log4j-nosql/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-nosql/pom.xml b/log4j-nosql/pom.xml
index 0ec75f5..cb2d91d 100644
--- a/log4j-nosql/pom.xml
+++ b/log4j-nosql/pom.xml
@@ -26,7 +26,7 @@
 
   <artifactId>log4j-nosql</artifactId>
   <name>Apache Log4j NoSQL</name>
-  <description>The Apache Log4j NoSQL appenders to databases such as MongoDB 
and CouchDB</description>
+  <description>The Apache Log4j NoSQL appenders to databases such as MongoDB, 
Apache CouchDB, and Apache Cassandra</description>
   <properties>
     <log4jParentDir>${basedir}/..</log4jParentDir>
     <docLabel>NoSQL Documentation</docLabel>
@@ -48,6 +48,11 @@
       <artifactId>lightcouch</artifactId>
       <optional>true</optional>
     </dependency>
+    <dependency>
+      <groupId>com.datastax.cassandra</groupId>
+      <artifactId>cassandra-driver-core</artifactId>
+      <optional>true</optional>
+    </dependency>
     <!-- Test Dependencies -->
     <dependency>
       <groupId>junit</groupId>
@@ -68,6 +73,28 @@
       <artifactId>log4j-core</artifactId>
       <type>test-jar</type>
     </dependency>
+    <!-- Cassandra appender integration testing -->
+    <dependency>
+      <groupId>org.apache.cassandra</groupId>
+      <artifactId>cassandra-all</artifactId>
+      <version>2.2.8</version>
+      <scope>test</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>ch.qos.logback</groupId>
+          <artifactId>logback-classic</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>ch.qos.logback</groupId>
+          <artifactId>logback-core</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.logging.log4j</groupId>
+      <artifactId>log4j-slf4j-impl</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/9f7fae1b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 819af29..af4a571 100644
--- a/pom.xml
+++ b/pom.xml
@@ -739,6 +739,11 @@
         <version>0.0.6</version>
       </dependency>
       <dependency>
+        <groupId>com.datastax.cassandra</groupId>
+        <artifactId>cassandra-driver-core</artifactId>
+        <version>3.1.0</version>
+      </dependency>
+      <dependency>
         <groupId>org.liquibase</groupId>
         <artifactId>liquibase-core</artifactId>
         <version>3.5.3</version>

Reply via email to