jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1577422 - /jackrabbit/trunk/jackrabbit-data/pom.xml
Date Fri, 14 Mar 2014 04:32:47 GMT
Author: chetanm
Date: Fri Mar 14 04:32:47 2014
New Revision: 1577422

URL: http://svn.apache.org/r1577422
Log:
JCR-3742 - Have DB related dependencies as optional in jackrabbit-data

Applying modified patch from Amit Jain
-- Made derby and commons-dbcp as optional
-- Removed dependency on commons-collection as it is not required

Modified:
    jackrabbit/trunk/jackrabbit-data/pom.xml

Modified: jackrabbit/trunk/jackrabbit-data/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-data/pom.xml?rev=1577422&r1=1577421&r2=1577422&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-data/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-data/pom.xml Fri Mar 14 04:32:47 2014
@@ -78,10 +78,6 @@
 			<version>${project.version}</version>
 		</dependency>
 		<dependency>
-			<groupId>commons-collections</groupId>
-			<artifactId>commons-collections</artifactId>
-		</dependency>
-		<dependency>
 			<groupId>commons-io</groupId>
 			<artifactId>commons-io</artifactId>
 		</dependency>
@@ -89,26 +85,29 @@
 			<groupId>commons-dbcp</groupId>
 			<artifactId>commons-dbcp</artifactId>
 			<version>1.3</version>
+      <optional>true</optional>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.derby</groupId>
 			<artifactId>derby</artifactId>
+      <optional>true</optional>
 		</dependency>
 		<dependency>
 			<groupId>org.slf4j</groupId>
 			<artifactId>jcl-over-slf4j</artifactId>
 		</dependency>
-        <!-- Test dependencies -->
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
-            <version>1.7.5</version>
-            <scope>test</scope>
-        </dependency>
+
+    <!-- Test dependencies -->
+    <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <scope>test</scope>
+    </dependency>
+    <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-log4j12</artifactId>
+        <version>1.7.5</version>
+        <scope>test</scope>
+    </dependency>
 	</dependencies>
 </project>
\ No newline at end of file



Mime
View raw message