[exo-jcr-commits] exo-jcr SVN: r4833 - jcr/trunk/exo.jcr.component.core.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Sep 2 06:32:38 EDT 2011


Author: tolusha
Date: 2011-09-02 06:32:38 -0400 (Fri, 02 Sep 2011)
New Revision: 4833

Modified:
   jcr/trunk/exo.jcr.component.core/pom.xml
Log:
move dependency for all DBS to related profiles

Modified: jcr/trunk/exo.jcr.component.core/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/pom.xml	2011-09-02 10:32:08 UTC (rev 4832)
+++ jcr/trunk/exo.jcr.component.core/pom.xml	2011-09-02 10:32:38 UTC (rev 4833)
@@ -244,33 +244,6 @@
          <artifactId>hsqldb</artifactId>
          <scope>test</scope>
       </dependency>
-      <!-- For MySQL support -->
-      <dependency>
-         <groupId>mysql</groupId>
-         <artifactId>mysql-connector-java</artifactId>
-         <version>5.1.14</version>
-         <scope>test</scope>
-      </dependency>
-      <!-- For PostgresSQL support -->
-      <dependency>
-         <groupId>postgresql</groupId>
-         <artifactId>postgresql</artifactId>
-         <version>8.3-606.jdbc3</version>
-         <scope>test</scope>
-      </dependency>
-      <!-- For Oracle 10g support (local-jcr repository) -->
-      <dependency>
-         <groupId>ojdbc</groupId>
-         <artifactId>ojdbc</artifactId>
-         <version>14</version>
-         <scope>test</scope>
-      </dependency>
-      <dependency>
-         <groupId>ojdbc</groupId>
-         <artifactId>orai18n</artifactId>
-         <version>14</version>
-         <scope>test</scope>
-      </dependency>
       <!-- For MS SQL 7/2000/2005 and Sybase ASE/Anywhere support (jTDS driver) -->
       <!-- dependency>
          <groupId>net.sourceforge.jtds</groupId>
@@ -822,18 +795,48 @@
          <properties>
             <jcr.test.configuration.file>/conf/standalone/test-configuration-oracle-sjdbc-jbc.xml</jcr.test.configuration.file>
          </properties>
+         <dependencies>
+            <dependency>
+               <groupId>ojdbc</groupId>
+               <artifactId>ojdbc</artifactId>
+               <version>14</version>
+               <scope>test</scope>
+            </dependency>
+            <dependency>
+               <groupId>ojdbc</groupId>
+               <artifactId>orai18n</artifactId>
+               <version>14</version>
+               <scope>test</scope>
+            </dependency>
+         </dependencies>
       </profile>
       <profile>
          <id>mysql</id>
          <properties>
             <jcr.test.configuration.file>/conf/standalone/test-configuration-mysql-jbc.xml</jcr.test.configuration.file>
          </properties>
+         <dependencies>
+            <dependency>
+               <groupId>mysql</groupId>
+               <artifactId>mysql-connector-java</artifactId>
+               <version>5.1.14</version>
+               <scope>test</scope>
+            </dependency>
+         </dependencies>
       </profile>
       <profile>
          <id>mysql-sjdbc</id>
          <properties>
             <jcr.test.configuration.file>/conf/standalone/test-configuration-mysql-sjdbc-jbc.xml</jcr.test.configuration.file>
          </properties>
+         <dependencies>
+            <dependency>
+               <groupId>mysql</groupId>
+               <artifactId>mysql-connector-java</artifactId>
+               <version>5.1.14</version>
+               <scope>test</scope>
+            </dependency>
+         </dependencies>
       </profile>
       <profile>
          <id>db2</id>
@@ -860,12 +863,34 @@
          <properties>
             <jcr.test.configuration.file>/conf/standalone/test-configuration-db2-sjdbc-jbc.xml</jcr.test.configuration.file>
          </properties>
+         <dependencies>
+            <dependency>
+               <groupId>com.ibm.db2</groupId>
+               <artifactId>db2jcc</artifactId>
+               <version>9.7</version>
+               <scope>test</scope>
+            </dependency>
+            <dependency>
+               <groupId>com.ibm.db2</groupId>
+               <artifactId>db2jcc_license_cu</artifactId>
+               <version>9.7</version>
+               <scope>test</scope>
+            </dependency>            
+         </dependencies>
       </profile>
       <profile>
          <id>pgsql</id>
          <properties>
             <jcr.test.configuration.file>/conf/standalone/test-configuration-pgsql-jbc.xml</jcr.test.configuration.file>
          </properties>
+         <dependencies>
+            <dependency>
+               <groupId>postgresql</groupId>
+               <artifactId>postgresql</artifactId>
+               <version>8.3-606.jdbc3</version>
+               <scope>test</scope>
+            </dependency>
+         </dependencies>
       </profile>
       <profile>
          <id>pgsql-sjdbc</id>



More information about the exo-jcr-commits mailing list