2008-04-28 11:57:47 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2008-03-18 10:23:51 -04:00
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2008-04-21 20:55:03 -04:00
|
|
|
|
2008-03-18 10:23:51 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>org.hibernate</groupId>
|
2008-04-21 20:55:03 -04:00
|
|
|
<artifactId>hibernate-parent</artifactId>
|
2009-02-27 23:45:24 -05:00
|
|
|
<version>3.5.0-SNAPSHOT</version>
|
2008-04-21 20:55:03 -04:00
|
|
|
<relativePath>../parent/pom.xml</relativePath>
|
2008-03-18 10:23:51 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-testsuite</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>Hibernate Testsuite</name>
|
|
|
|
<description>The testsuite of Hibernate functionality</description>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${groupId}</groupId>
|
|
|
|
<artifactId>hibernate-core</artifactId>
|
|
|
|
<version>${version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${groupId}</groupId>
|
|
|
|
<artifactId>hibernate-testing</artifactId>
|
|
|
|
<version>${version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- these are optional on core... :( -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2009-04-02 12:29:06 -04:00
|
|
|
<groupId>cglib</groupId>
|
|
|
|
<artifactId>cglib</artifactId>
|
2008-03-18 10:23:51 -04:00
|
|
|
</dependency>
|
|
|
|
<!-- optional dom4j dependency; needed here for dom4j (de)serialization -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>jaxen</groupId>
|
|
|
|
<artifactId>jaxen</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
<directory>src/test/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>1.5</source>
|
|
|
|
<target>1.5</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jboss.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-test-ext-plugin</artifactId>
|
|
|
|
<version>1.1.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>extend</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>hibernate.test.validatefailureexpected</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<!-- HSQLDB is the default (eventually move to H2) -->
|
|
|
|
<profile>
|
|
|
|
<id>hsqldb</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>hsqldb</groupId>
|
|
|
|
<artifactId>hsqldb</artifactId>
|
|
|
|
<version>1.8.0.2</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<properties>
|
|
|
|
<db.dialect>org.hibernate.dialect.HSQLDialect</db.dialect>
|
|
|
|
<jdbc.driver>org.hsqldb.jdbcDriver</jdbc.driver>
|
|
|
|
<jdbc.url>jdbc:hsqldb:target/test/db/hsqldb/hibernate</jdbc.url>
|
|
|
|
<jdbc.user>sa</jdbc.user>
|
|
|
|
<jdbc.pass />
|
|
|
|
<jdbc.isolation />
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- The H2 test envionment -->
|
|
|
|
<profile>
|
|
|
|
<id>h2</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2009-03-31 06:15:56 -04:00
|
|
|
<groupId>org.h2database</groupId>
|
|
|
|
<artifactId>h2database</artifactId>
|
|
|
|
<version>1.0.20061217</version>
|
2008-03-18 10:23:51 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<properties>
|
|
|
|
<db.dialect>org.hibernate.dialect.H2Dialect</db.dialect>
|
|
|
|
<jdbc.driver>org.h2.Driver</jdbc.driver>
|
|
|
|
<jdbc.url>jdbc:h2:mem:target/test/db/h2/hibernate</jdbc.url>
|
|
|
|
<jdbc.user>sa</jdbc.user>
|
|
|
|
<jdbc.pass />
|
|
|
|
<jdbc.isolation />
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
###################################################################
|
|
|
|
Profiles naming db instances in the Red Hat QA/QE lab
|
|
|
|
|
|
|
|
First, those with OSS drivers
|
|
|
|
###################################################################
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!-- The MySQL5 test envionment -->
|
|
|
|
<profile>
|
|
|
|
<id>mysql5</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>5.0.5</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<properties>
|
|
|
|
<db.dialect>org.hibernate.dialect.MySQL5InnoDBDialect</db.dialect>
|
|
|
|
<jdbc.driver>com.mysql.jdbc.Driver</jdbc.driver>
|
2009-06-30 05:05:28 -04:00
|
|
|
<jdbc.url>jdbc:mysql://vmg08.mw.lab.eng.bos.redhat.com/hibbrtru</jdbc.url>
|
2009-04-29 04:18:36 -04:00
|
|
|
<jdbc.user>hibbrtru</jdbc.user>
|
|
|
|
<jdbc.pass>hibbrtru</jdbc.pass>
|
2008-03-18 10:23:51 -04:00
|
|
|
<jdbc.isolation />
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- The PostgreSQL test envionment -->
|
|
|
|
<profile>
|
2009-03-31 06:15:56 -04:00
|
|
|
<id>postgresql823</id>
|
2008-03-18 10:23:51 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>8.2-504</version>
|
|
|
|
<classifier>jdbc3</classifier>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<properties>
|
|
|
|
<db.dialect>org.hibernate.dialect.PostgreSQLDialect</db.dialect>
|
|
|
|
<jdbc.driver>org.postgresql.Driver</jdbc.driver>
|
2009-04-29 04:18:36 -04:00
|
|
|
<jdbc.url>jdbc:postgresql://dev01.qa.atl.jboss.com:5432:hibbrtru</jdbc.url>
|
|
|
|
<jdbc.user>hibbrtru</jdbc.user>
|
|
|
|
<jdbc.pass>hibbrtru</jdbc.pass>
|
2008-03-18 10:23:51 -04:00
|
|
|
<jdbc.isolation />
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
###################################################################
|
|
|
|
Then, those with commercial drivers
|
|
|
|
###################################################################
|
|
|
|
-->
|
|
|
|
|
2009-03-31 06:15:56 -04:00
|
|
|
<!-- The DB2 8.x test envionment (using 9x drivers)-->
|
2008-03-18 10:23:51 -04:00
|
|
|
<profile>
|
2009-03-31 06:15:56 -04:00
|
|
|
<id>db2v82</id>
|
2008-03-18 10:23:51 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2009-03-31 06:15:56 -04:00
|
|
|
<groupId>com.ibm</groupId>
|
|
|
|
<artifactId>db2jcc</artifactId>
|
|
|
|
<version>3.1.57</version>
|
2008-03-18 10:23:51 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2009-03-31 06:15:56 -04:00
|
|
|
<groupId>com.ibm</groupId>
|
|
|
|
<artifactId>db2jcc_license_cu</artifactId>
|
|
|
|
<version>3.1.57</version>
|
2008-03-18 10:23:51 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<properties>
|
2009-03-31 06:15:56 -04:00
|
|
|
<db.dialect>org.hibernate.dialect.DB2Dialect</db.dialect>
|
|
|
|
<jdbc.driver>com.ibm.db2.jcc.DB2Driver</jdbc.driver>
|
2009-05-01 07:18:01 -04:00
|
|
|
<jdbc.url>jdbc:db2://dev32.qa.atl.jboss.com:50000/jbossqa</jdbc.url>
|
2009-04-29 04:18:36 -04:00
|
|
|
<jdbc.user>hibbrtru</jdbc.user>
|
|
|
|
<jdbc.pass>hibbrtru</jdbc.pass>
|
2008-03-18 10:23:51 -04:00
|
|
|
<jdbc.isolation />
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
2009-03-31 06:15:56 -04:00
|
|
|
<!-- The DB2 9.x test envionment (using 9x drivers)-->
|
2008-03-18 10:23:51 -04:00
|
|
|
<profile>
|
2009-03-31 06:15:56 -04:00
|
|
|
<id>db2v91</id>
|
2008-03-18 10:23:51 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.ibm</groupId>
|
|
|
|
<artifactId>db2jcc</artifactId>
|
|
|
|
<version>3.1.57</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.ibm</groupId>
|
|
|
|
<artifactId>db2jcc_license_cu</artifactId>
|
|
|
|
<version>3.1.57</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<properties>
|
|
|
|
<db.dialect>org.hibernate.dialect.DB2Dialect</db.dialect>
|
|
|
|
<jdbc.driver>com.ibm.db2.jcc.DB2Driver</jdbc.driver>
|
2009-05-01 07:18:01 -04:00
|
|
|
<jdbc.url>jdbc:db2://dev67.qa.atl.jboss.com:50000/jbossqa</jdbc.url>
|
2009-04-29 04:18:36 -04:00
|
|
|
<jdbc.user>hibbrtru</jdbc.user>
|
|
|
|
<jdbc.pass>hibbrtru</jdbc.pass>
|
2008-03-18 10:23:51 -04:00
|
|
|
<jdbc.isolation />
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
2009-03-31 06:15:56 -04:00
|
|
|
<!-- The Oracle9i test envionment -->
|
2008-03-18 10:23:51 -04:00
|
|
|
<profile>
|
2009-03-31 06:15:56 -04:00
|
|
|
<id>oracle9i</id>
|
2008-03-18 10:23:51 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2009-03-31 06:15:56 -04:00
|
|
|
<groupId>com.oracle</groupId>
|
|
|
|
<artifactId>ojdbc14</artifactId>
|
|
|
|
<!-- use the 10g drivers which are surprisingly largely bug free -->
|
|
|
|
<version>10.0.2.0</version>
|
2008-03-18 10:23:51 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<properties>
|
2009-03-31 06:15:56 -04:00
|
|
|
<db.dialect>org.hibernate.dialect.Oracle9iDialect</db.dialect>
|
|
|
|
<jdbc.driver>oracle.jdbc.driver.OracleDriver</jdbc.driver>
|
|
|
|
<jdbc.url>jdbc:oracle:thin:@dev20.qa.atl.jboss.com:1521:qa</jdbc.url>
|
2009-04-29 04:18:36 -04:00
|
|
|
<jdbc.user>hibbrtru</jdbc.user>
|
|
|
|
<jdbc.pass>hibbrtru</jdbc.pass>
|
2008-03-18 10:23:51 -04:00
|
|
|
<jdbc.isolation />
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
2009-03-31 06:15:56 -04:00
|
|
|
<!-- The Oracle10g test envionment -->
|
2009-02-11 00:34:52 -05:00
|
|
|
<profile>
|
2009-03-31 06:15:56 -04:00
|
|
|
<id>oracle10g</id>
|
2009-02-11 00:34:52 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2009-03-31 06:15:56 -04:00
|
|
|
<groupId>com.oracle</groupId>
|
|
|
|
<artifactId>ojdbc14</artifactId>
|
|
|
|
<!-- use the 10g drivers which are surprisingly largely bug free -->
|
|
|
|
<version>10.0.2.0</version>
|
2009-02-11 00:34:52 -05:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<properties>
|
2009-03-31 06:15:56 -04:00
|
|
|
<db.dialect>org.hibernate.dialect.Oracle10gDialect</db.dialect>
|
|
|
|
<jdbc.driver>oracle.jdbc.driver.OracleDriver</jdbc.driver>
|
|
|
|
<jdbc.url>jdbc:oracle:thin:@dev01.qa.atl.jboss.com:1521:qadb01</jdbc.url>
|
2009-04-29 04:18:36 -04:00
|
|
|
<jdbc.user>hibbrtru</jdbc.user>
|
|
|
|
<jdbc.pass>hibbrtru</jdbc.pass>
|
2009-02-11 00:34:52 -05:00
|
|
|
<jdbc.isolation />
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
2009-03-31 06:15:56 -04:00
|
|
|
<!-- The Sybase 15 test envionment -->
|
2008-03-18 10:23:51 -04:00
|
|
|
<profile>
|
2009-03-31 06:15:56 -04:00
|
|
|
<id>sybase15</id>
|
2008-03-18 10:23:51 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2009-03-31 06:15:56 -04:00
|
|
|
<groupId>com.sybase</groupId>
|
|
|
|
<artifactId>jconnect</artifactId>
|
|
|
|
<version>6.0.5</version>
|
2008-03-18 10:23:51 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<properties>
|
2009-03-31 06:15:56 -04:00
|
|
|
<db.dialect>org.hibernate.dialect.SybaseASE15Dialect</db.dialect>
|
|
|
|
<jdbc.driver>com.sybase.jdbc3.jdbc.SybDriver</jdbc.driver>
|
2009-04-29 04:18:36 -04:00
|
|
|
<jdbc.url>jdbc:sybase:Tds:dev77.qa.atl2.redhat.com:5000/hibbrtru</jdbc.url>
|
|
|
|
<jdbc.user>hibbrtru</jdbc.user>
|
|
|
|
<jdbc.pass>hibbrtru</jdbc.pass>
|
2008-03-18 10:23:51 -04:00
|
|
|
<jdbc.isolation />
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- The SQLServer2005 (MS JDBC) test envionment -->
|
|
|
|
<profile>
|
2009-03-31 06:15:56 -04:00
|
|
|
<id>mssql2005</id>
|
2008-03-18 10:23:51 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
|
|
<artifactId>msjdbc</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<properties>
|
|
|
|
<db.dialect>org.hibernate.dialect.SQLServerDialect</db.dialect>
|
|
|
|
<jdbc.driver>com.microsoft.sqlserver.jdbc.SQLServerDriver</jdbc.driver>
|
|
|
|
<jdbc.url>jdbc:sqlserver://dev30.qa.atl.jboss.com:3918</jdbc.url>
|
2009-04-29 04:18:36 -04:00
|
|
|
<jdbc.user>hibbrtru</jdbc.user>
|
|
|
|
<jdbc.pass>hibbrtru</jdbc.pass>
|
2008-03-18 10:23:51 -04:00
|
|
|
<jdbc.isolation>4096</jdbc.isolation>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
</profiles>
|
2009-02-11 00:34:52 -05:00
|
|
|
</project>
|