james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1622049 - in /james/server/trunk: app/pom.xml container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java pom.xml
Date Tue, 02 Sep 2014 16:16:38 GMT
Author: eric
Date: Tue Sep  2 16:16:37 2014
New Revision: 1622049

URL: http://svn.apache.org/r1622049
Log:
enroll mailbox-cassandra in james server - patch by pbenoit (JAMES-1557)

Modified:
    james/server/trunk/app/pom.xml
    james/server/trunk/container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java
    james/server/trunk/pom.xml

Modified: james/server/trunk/app/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/app/pom.xml?rev=1622049&r1=1622048&r2=1622049&view=diff
==============================================================================
--- james/server/trunk/app/pom.xml (original)
+++ james/server/trunk/app/pom.xml Tue Sep  2 16:16:37 2014
@@ -461,6 +461,17 @@
         </dependency>
         <dependency>
             <groupId>org.apache.james</groupId>
+            <artifactId>apache-james-mailbox-cassandra</artifactId>
+            <scope>runtime</scope>
+            <exclusions>
+                <exclusion>
+                    <artifactId>mail</artifactId>
+                    <groupId>javax.mail</groupId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.james</groupId>
             <artifactId>james-server-data-file</artifactId>
             <scope>runtime</scope>
             <exclusions>

Modified: james/server/trunk/container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java
URL: http://svn.apache.org/viewvc/james/server/trunk/container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java?rev=1622049&r1=1622048&r2=1622049&view=diff
==============================================================================
--- james/server/trunk/container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java
(original)
+++ james/server/trunk/container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java
Tue Sep  2 16:16:37 2014
@@ -65,6 +65,9 @@ public class MailboxConfigurationBeanFac
             } else if (provider.equalsIgnoreCase("hbase")) {
                 mailbox = "hbase-mailboxmanager";
                 subscription = "hbase-subscriptionManager";
+            } else if (provider.equalsIgnoreCase("cassandra")) {
+                mailbox = "cassandra-mailboxmanager";
+                subscription = "cassandra-subscriptionManager";
             }
 
             if (mailbox == null)

Modified: james/server/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/pom.xml?rev=1622049&r1=1622048&r2=1622049&view=diff
==============================================================================
--- james/server/trunk/pom.xml (original)
+++ james/server/trunk/pom.xml Tue Sep  2 16:16:37 2014
@@ -502,6 +502,12 @@
             </dependency>
             <dependency>
                 <groupId>org.apache.james</groupId>
+                <artifactId>apache-james-mailbox-cassandra</artifactId>
+                <version>${mailbox.version}</version>
+                <scope>test</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.james</groupId>
                 <artifactId>apache-james-mailbox-api</artifactId>
                 <version>${mailbox.version}</version>
             </dependency>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message