Author: reschke
Date: Wed Mar 26 13:44:26 2014
New Revision: 1581834
URL: http://svn.apache.org/r1581834
Log:
OAK-1544 - add mvn profile for testing with DB2
Modified:
jackrabbit/oak/trunk/oak-parent/pom.xml
Modified: jackrabbit/oak/trunk/oak-parent/pom.xml
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-parent/pom.xml?rev=1581834&r1=1581833&r2=1581834&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-parent/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-parent/pom.xml Wed Mar 26 13:44:26 2014
@@ -454,6 +454,27 @@
</dependencies>
</profile>
<profile>
+ <!-- requires local copy of DB2 JDBC drivers -->
+ <!-- run with -Ddb2.jdbc=foldername where foldername contains the 2
JARs-->
+ <id>rdb-db2</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.example</groupId>
+ <artifactId>db2</artifactId>
+ <version>1.0</version>
+ <scope>system</scope>
+ <systemPath>${db2.jdbc}/db2jcc4.jar</systemPath>
+ </dependency>
+ <dependency>
+ <groupId>org.example</groupId>
+ <artifactId>db2-license</artifactId>
+ <version>1.0</version>
+ <scope>system</scope>
+ <systemPath>${db2.jdbc}/db2jcc_license_cu.jar</systemPath>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
<id>java8</id>
<activation>
<jdk>[1.8,)</jdk>