You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2015/06/29 10:50:00 UTC

svn commit: r1688150 - /james/server/trunk/app/pom.xml

Author: btellier
Date: Mon Jun 29 08:50:00 2015
New Revision: 1688150

URL: http://svn.apache.org/r1688150
Log:
MAILBOX-244 Adding a profile in order to exclude lucene stuffs - contributed by Antoine Duprat

Modified:
    james/server/trunk/app/pom.xml

Modified: james/server/trunk/app/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/app/pom.xml?rev=1688150&r1=1688149&r2=1688150&view=diff
==============================================================================
--- james/server/trunk/app/pom.xml (original)
+++ james/server/trunk/app/pom.xml Mon Jun 29 08:50:00 2015
@@ -428,17 +428,6 @@
         </dependency>
         <dependency>
             <groupId>org.apache.james</groupId>
-            <artifactId>apache-james-mailbox-lucene</artifactId>
-            <scope>runtime</scope>
-            <exclusions>
-                <exclusion>
-                    <artifactId>mail</artifactId>
-                    <groupId>javax.mail</groupId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.james</groupId>
             <artifactId>apache-james-mailbox-jcr</artifactId>
             <scope>runtime</scope>
             <exclusions>
@@ -562,6 +551,53 @@
             </properties>
         </profile>
         <profile>
+            <id>lucene</id>
+            <activation>
+              <activeByDefault>true</activeByDefault>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.james</groupId>
+                    <artifactId>apache-james-mailbox-lucene</artifactId>
+                    <scope>runtime</scope>
+                    <exclusions>
+                        <exclusion>
+                            <artifactId>mail</artifactId>
+                            <groupId>javax.mail</groupId>
+                        </exclusion>
+                    </exclusions>
+                </dependency>
+            </dependencies>
+        </profile>
+        <profile>
+            <id>exclude-lucene</id>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.james</groupId>
+                    <artifactId>apache-james-mailbox-lucene</artifactId>
+                    <scope>runtime</scope>
+                    <exclusions>
+                        <exclusion>
+                            <artifactId>mail</artifactId>
+                            <groupId>javax.mail</groupId>
+                        </exclusion>
+                        <exclusion>
+                            <groupId>org.apache.lucene</groupId>
+                            <artifactId>lucene-core</artifactId>
+                        </exclusion>
+                        <exclusion>
+                            <groupId>org.apache.lucene</groupId>
+                            <artifactId>lucene-analyzers</artifactId>
+                        </exclusion>
+                        <exclusion>
+                            <groupId>org.apache.lucene</groupId>
+                            <artifactId>lucene-smartcn</artifactId>
+                        </exclusion>
+                    </exclusions>
+                </dependency>
+            </dependencies>
+        </profile>
+        <profile>
             <id>with-assembly</id>
             <activation>
               <activeByDefault>true</activeByDefault>



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