2007-06-29 15:23:45 -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">
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2007-07-16 23:31:57 -04:00
|
|
|
|
2007-06-29 15:23:45 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>org.hibernate</groupId>
|
2007-07-16 23:31:57 -04:00
|
|
|
<artifactId>hibernate-core-parent</artifactId>
|
|
|
|
<version>1</version>
|
2007-06-29 15:23:45 -04:00
|
|
|
</parent>
|
2007-07-16 23:31:57 -04:00
|
|
|
|
2007-06-29 15:23:45 -04:00
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-testsuite</artifactId>
|
2007-07-16 23:31:57 -04:00
|
|
|
<version>3.3.0-SNAPSHOT</version>
|
|
|
|
<packaging>jar</packaging>
|
2007-06-29 15:23:45 -04:00
|
|
|
|
|
|
|
<name>Hibernate Testsuite</name>
|
|
|
|
<description>The testsuite of Hibernate functionality</description>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${groupId}</groupId>
|
2007-07-16 23:31:57 -04:00
|
|
|
<artifactId>hibernate-core</artifactId>
|
|
|
|
<version>${version}</version>
|
2007-06-29 15:23:45 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${groupId}</groupId>
|
2007-07-16 23:31:57 -04:00
|
|
|
<artifactId>hibernate-testing</artifactId>
|
|
|
|
<version>${version}</version>
|
2007-06-29 15:23:45 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${groupId}</groupId>
|
2007-07-16 23:31:57 -04:00
|
|
|
<artifactId>hibernate-ehcache</artifactId>
|
|
|
|
<version>${version}</version>
|
2007-06-29 15:23:45 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${groupId}</groupId>
|
2007-07-16 23:31:57 -04:00
|
|
|
<artifactId>hibernate-jbosscache</artifactId>
|
|
|
|
<version>${version}</version>
|
2007-06-29 15:23:45 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${groupId}</groupId>
|
2007-07-16 23:31:57 -04:00
|
|
|
<artifactId>hibernate-oscache</artifactId>
|
|
|
|
<version>${version}</version>
|
2007-06-29 15:23:45 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2007-07-16 23:31:57 -04:00
|
|
|
<groupId>${groupId}</groupId>
|
|
|
|
<artifactId>hibernate-swarmcache</artifactId>
|
|
|
|
<version>${version}</version>
|
2007-06-29 15:23:45 -04:00
|
|
|
</dependency>
|
|
|
|
<!-- these are optional on core... :( -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
|
|
|
<version>3.4.GA</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>cglib</groupId>
|
|
|
|
<artifactId>cglib</artifactId>
|
|
|
|
<version>2.1_3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>asm</groupId>
|
|
|
|
<artifactId>asm-attrs</artifactId>
|
|
|
|
<version>1.5.3</version>
|
2007-07-16 23:31:57 -04:00
|
|
|
</dependency>
|
2007-06-29 15:23:45 -04:00
|
|
|
<!-- optional dom4j dependency; needed here for dom4j (de)serialization -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>jaxen</groupId>
|
|
|
|
<artifactId>jaxen</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
</dependency>
|
2007-08-03 00:09:17 -04:00
|
|
|
<!-- logging setup for the test suite -->
|
2007-08-13 16:04:19 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
2007-08-31 15:57:06 -04:00
|
|
|
<artifactId>commons-logging</artifactId>
|
2007-08-13 16:04:19 -04:00
|
|
|
<version>99.0-does-not-exist</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
2007-08-31 15:57:06 -04:00
|
|
|
<artifactId>commons-logging-api</artifactId>
|
2007-08-13 16:04:19 -04:00
|
|
|
<version>99.0-does-not-exist</version>
|
2007-08-31 15:57:06 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl104-over-slf4j</artifactId>
|
|
|
|
<version>1.4.2</version>
|
2007-08-13 16:04:19 -04:00
|
|
|
</dependency>
|
2007-08-03 00:09:17 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<version>1.4.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>1.2.14</version>
|
2007-08-31 15:57:06 -04:00
|
|
|
</dependency>
|
2007-06-29 15:23:45 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
<directory>src/test/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
2007-08-03 00:09:17 -04:00
|
|
|
<filtering>true</filtering>
|
2007-06-29 15:23:45 -04:00
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
2007-07-16 23:31:57 -04:00
|
|
|
|
2007-06-29 15:23:45 -04:00
|
|
|
<plugins>
|
2007-08-13 16:04:19 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>1.5</source>
|
|
|
|
<target>1.5</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2007-07-16 23:31:57 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.jboss.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-test-ext-plugin</artifactId>
|
2007-07-26 16:51:32 -04:00
|
|
|
<version>1.1.0</version>
|
2007-07-16 23:31:57 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>extend</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2007-06-29 15:23:45 -04:00
|
|
|
<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>
|
|
|
|
|
2007-07-26 16:51:32 -04:00
|
|
|
<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>
|
2007-08-03 00:09:17 -04:00
|
|
|
<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>
|
2007-07-26 16:51:32 -04:00
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- The H2 test envionment -->
|
|
|
|
<profile>
|
|
|
|
<id>h2</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.h2database</groupId>
|
|
|
|
<artifactId>h2database</artifactId>
|
|
|
|
<version>1.0.20061217</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2007-08-03 00:09:17 -04:00
|
|
|
<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>
|
2007-07-26 16:51:32 -04:00
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!--
|
2007-08-03 00:09:17 -04:00
|
|
|
###################################################################
|
2007-07-26 16:51:32 -04:00
|
|
|
Profiles naming db instances in the Red Hat QA/QE lab
|
2007-08-03 00:09:17 -04:00
|
|
|
|
|
|
|
First, those with OSS drivers
|
|
|
|
###################################################################
|
2007-07-26 16:51:32 -04:00
|
|
|
-->
|
|
|
|
|
|
|
|
<!-- 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>
|
2007-08-03 00:09:17 -04:00
|
|
|
<properties>
|
|
|
|
<db.dialect>org.hibernate.dialect.MySQL5InnoDBDialect</db.dialect>
|
|
|
|
<jdbc.driver>com.mysql.jdbc.Driver</jdbc.driver>
|
|
|
|
<jdbc.url>jdbc:mysql://dev02.qa.atl.jboss.com/cruisecontrol</jdbc.url>
|
|
|
|
<jdbc.user>cruisecontrol</jdbc.user>
|
|
|
|
<jdbc.pass>cruisecontrol</jdbc.pass>
|
|
|
|
<jdbc.isolation/>
|
|
|
|
</properties>
|
2007-07-26 16:51:32 -04:00
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- The PostgreSQL test envionment -->
|
|
|
|
<profile>
|
|
|
|
<id>pgsql8</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>8.2-504</version>
|
|
|
|
<classifier>jdbc3</classifier>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2007-08-03 00:09:17 -04:00
|
|
|
<properties>
|
|
|
|
<db.dialect>org.hibernate.dialect.PostgreSQLDialect</db.dialect>
|
|
|
|
<jdbc.driver>org.postgresql.Driver</jdbc.driver>
|
|
|
|
<jdbc.url>jdbc:postgresql://dev01.qa.atl.jboss.com:5432:cruisecontrol</jdbc.url>
|
|
|
|
<jdbc.user>cruisecontrol</jdbc.user>
|
|
|
|
<jdbc.pass>cruisecontrol</jdbc.pass>
|
|
|
|
<jdbc.isolation/>
|
|
|
|
</properties>
|
2007-07-26 16:51:32 -04:00
|
|
|
</profile>
|
|
|
|
|
2007-08-03 00:09:17 -04:00
|
|
|
<!--
|
|
|
|
###################################################################
|
|
|
|
Then, those with commercial drivers
|
|
|
|
###################################################################
|
|
|
|
-->
|
|
|
|
|
2007-07-26 16:51:32 -04:00
|
|
|
<!-- The Oracle9i test envionment -->
|
|
|
|
<profile>
|
|
|
|
<id>oracle9i</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.oracle</groupId>
|
|
|
|
<artifactId>ojdbc14</artifactId>
|
|
|
|
<!-- use the 10g drivers which are surprisingly largely bug free -->
|
|
|
|
<version>10.0.2.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2007-08-03 00:09:17 -04:00
|
|
|
<properties>
|
|
|
|
<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>
|
|
|
|
<jdbc.user>cruisecontrol</jdbc.user>
|
|
|
|
<jdbc.pass>cruisecontrol</jdbc.pass>
|
|
|
|
<jdbc.isolation/>
|
|
|
|
</properties>
|
2007-07-26 16:51:32 -04:00
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- The Oracle10g test envionment -->
|
|
|
|
<profile>
|
|
|
|
<id>oracle10g</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.oracle</groupId>
|
|
|
|
<artifactId>ojdbc14</artifactId>
|
|
|
|
<!-- use the 10g drivers which are surprisingly largely bug free -->
|
|
|
|
<version>10.0.2.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2007-08-03 00:09:17 -04:00
|
|
|
<properties>
|
|
|
|
<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>
|
|
|
|
<jdbc.user>cruisecontrol</jdbc.user>
|
|
|
|
<jdbc.pass>cruisecontrol</jdbc.pass>
|
|
|
|
<jdbc.isolation/>
|
|
|
|
</properties>
|
2007-07-26 16:51:32 -04:00
|
|
|
</profile>
|
|
|
|
|
2007-08-03 00:09:17 -04:00
|
|
|
<!-- The DB2 8.x test envionment (using 9x drivers)-->
|
2007-07-26 16:51:32 -04:00
|
|
|
<profile>
|
|
|
|
<id>db2-8</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.ibm</groupId>
|
2007-08-03 00:09:17 -04:00
|
|
|
<artifactId>db2jcc</artifactId>
|
|
|
|
<version>3.1.57</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.ibm</groupId>
|
|
|
|
<artifactId>db2jcc_license_cu</artifactId>
|
|
|
|
<version>3.1.57</version>
|
2007-07-26 16:51:32 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2007-08-03 00:09:17 -04:00
|
|
|
<properties>
|
|
|
|
<db.dialect>org.hibernate.dialect.DB2Dialect</db.dialect>
|
|
|
|
<jdbc.driver>com.ibm.db2.jcc.DB2Driver</jdbc.driver>
|
|
|
|
<jdbc.url>jdbc:db2://dev32.qa.atl.jboss.com:50000/jbossqa</jdbc.url>
|
|
|
|
<jdbc.user>hiber</jdbc.user>
|
|
|
|
<jdbc.pass>hiber</jdbc.pass>
|
|
|
|
<jdbc.isolation/>
|
|
|
|
</properties>
|
2007-07-26 16:51:32 -04:00
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- The Sybase 12 test envionment -->
|
|
|
|
<profile>
|
|
|
|
<id>sybase12</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sybase</groupId>
|
|
|
|
<artifactId>jconnect</artifactId>
|
|
|
|
<version>6.0.5</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2007-08-03 00:09:17 -04:00
|
|
|
<properties>
|
|
|
|
<db.dialect>org.hibernate.dialect.SybaseDialect</db.dialect>
|
|
|
|
<jdbc.driver>com.sybase.jdbc3.jdbc.SybDriver</jdbc.driver>
|
|
|
|
<jdbc.url>jdbc:sybase:Tds:dev01.qa.atl.jboss.com:4100/cruisecontrol</jdbc.url>
|
|
|
|
<jdbc.user>cruisecontrol</jdbc.user>
|
|
|
|
<jdbc.pass>cruisecontrol</jdbc.pass>
|
|
|
|
<jdbc.isolation/>
|
|
|
|
</properties>
|
2007-07-26 16:51:32 -04:00
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- The SQLServer2005 (jTDS) test envionment -->
|
|
|
|
<profile>
|
|
|
|
<id>sqlserver-jtds</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.jtds</groupId>
|
|
|
|
<artifactId>jtds</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2007-08-03 00:09:17 -04:00
|
|
|
<properties>
|
|
|
|
<db.dialect>org.hibernate.dialect.SQLServerDialect</db.dialect>
|
|
|
|
<jdbc.driver>net.sourceforge.jtds.jdbc.Driver</jdbc.driver>
|
|
|
|
<jdbc.url>jdbc:jtds:sqlserver://dev30.qa.atl.jboss.com:3918/cruisecontrol</jdbc.url>
|
|
|
|
<jdbc.user>cruisecontrol</jdbc.user>
|
|
|
|
<jdbc.pass>cruisecontrol</jdbc.pass>
|
|
|
|
<jdbc.isolation/>
|
|
|
|
</properties>
|
2007-07-26 16:51:32 -04:00
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- The SQLServer2005 (MS JDBC) test envionment -->
|
|
|
|
<profile>
|
|
|
|
<id>sqlserver-msjdbc</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
|
|
<artifactId>msjdbc</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2007-08-03 00:09:17 -04:00
|
|
|
<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>
|
|
|
|
<jdbc.user>cruisecontrol</jdbc.user>
|
|
|
|
<jdbc.pass>cruisecontrol</jdbc.pass>
|
|
|
|
<jdbc.isolation>4096</jdbc.isolation>
|
|
|
|
</properties>
|
2007-07-26 16:51:32 -04:00
|
|
|
</profile>
|
|
|
|
|
|
|
|
</profiles>
|
2007-06-29 15:23:45 -04:00
|
|
|
|
2007-07-16 23:31:57 -04:00
|
|
|
</project>
|