james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matth...@apache.org
Subject svn commit: r1708763 - /james/project/trunk/server/app/pom.xml
Date Thu, 15 Oct 2015 09:59:32 GMT
Author: matthieu
Date: Thu Oct 15 09:59:32 2015
New Revision: 1708763

URL: http://svn.apache.org/viewvc?rev=1708763&view=rev
Log:
JAMES-1625 app depends on elasticsearch only when built with java 8

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

Modified: james/project/trunk/server/app/pom.xml
URL: http://svn.apache.org/viewvc/james/project/trunk/server/app/pom.xml?rev=1708763&r1=1708762&r2=1708763&view=diff
==============================================================================
--- james/project/trunk/server/app/pom.xml (original)
+++ james/project/trunk/server/app/pom.xml Thu Oct 15 09:59:32 2015
@@ -461,28 +461,6 @@
         </dependency>
         <dependency>
             <groupId>org.apache.james</groupId>
-            <artifactId>apache-james-mailbox-elasticsearch</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-tika</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>
@@ -565,6 +543,36 @@
     </build>
 
     <profiles>
+	<profile>
+            <id>build-for-jdk-8</id>
+            <activation>
+                <jdk>[1.8,)</jdk>
+            </activation>
+	    <dependencies>
+	        <dependency>
+		    <groupId>org.apache.james</groupId>
+		    <artifactId>apache-james-mailbox-elasticsearch</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-tika</artifactId>
+		    <scope>runtime</scope>
+		    <exclusions>
+                        <exclusion>
+			  <artifactId>mail</artifactId>
+			  <groupId>javax.mail</groupId>
+			</exclusion>
+		    </exclusions>
+		</dependency>
+	    </dependencies>
+        </profile>
         <profile>
             <id>cassandra</id>
             <properties>



---------------------------------------------------------------------
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