135 lines
4.8 KiB
XML
135 lines
4.8 KiB
XML
<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>
|
|
|
|
<parent>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-core-parent</artifactId>
|
|
<version>1</version>
|
|
</parent>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-jbosscache2</artifactId>
|
|
<version>3.3.0-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Hibernate JBossCache2.x Integration</name>
|
|
<description>Integration of Hibernate with JBossCache (based on JBossCache2.x APIs)</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>
|
|
<dependency>
|
|
<groupId>org.jboss.cache</groupId>
|
|
<artifactId>jbosscache-core</artifactId>
|
|
<!-- I'd prefer this, at least until we get a GA...
|
|
<version>[2.0.0.BETA2,)</version>
|
|
-->
|
|
<version>2.1.0.BETA1</version>
|
|
</dependency>
|
|
<!-- test dependencies -->
|
|
</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>
|
|
<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>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib</artifactId>
|
|
<version>2.1_3</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>
|
|
</profiles>
|
|
|
|
</project>
|