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-jbosscache2</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
2009-03-06 13:23:24 -05:00
|
|
|
<name>Hibernate JBossCache3.x Integration</name>
|
|
|
|
<description>Integration of Hibernate with JBossCache 3 (based on JBossCache2.x+ APIs)</description>
|
2008-03-18 10:23:51 -04:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${groupId}</groupId>
|
|
|
|
<artifactId>hibernate-core</artifactId>
|
|
|
|
<version>${version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.cache</groupId>
|
|
|
|
<artifactId>jbosscache-core</artifactId>
|
2009-03-06 13:23:24 -05:00
|
|
|
<version>3.0.3.GA</version>
|
2008-03-18 10:23:51 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- test dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>${groupId}</groupId>
|
|
|
|
<artifactId>hibernate-testing</artifactId>
|
|
|
|
<version>${version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>hsqldb</groupId>
|
|
|
|
<artifactId>hsqldb</artifactId>
|
|
|
|
<version>1.8.0.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2008-05-21 16:35:44 -04:00
|
|
|
<!-- this is optional on core :( and needed for testing -->
|
2009-04-02 12:29:06 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>cglib</groupId>
|
|
|
|
<artifactId>cglib</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2008-03-18 10:23:51 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
|
|
|
<version>3.4.GA</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2008-10-02 04:05:49 -04:00
|
|
|
|
|
|
|
<dependency>
|
2009-05-07 17:34:21 -04:00
|
|
|
<groupId>org.hibernate.java-persistence</groupId>
|
|
|
|
<artifactId>jpa-api</artifactId>
|
|
|
|
<version>2.0.Beta1</version>
|
2008-10-02 04:05:49 -04:00
|
|
|
</dependency>
|
2008-03-18 10:23:51 -04:00
|
|
|
</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.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<!-- Skip a long-running test of a prototype class -->
|
|
|
|
<exclude>**/ClusteredConcurrentTimestampRegionTestCase.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>hibernate.test.validatefailureexpected</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>jgroups.bind_addr</name>
|
|
|
|
<value>${jgroups.bind_addr}</value>
|
|
|
|
</property>
|
|
|
|
<!-- There are problems with multicast and IPv6 on some
|
|
|
|
OS/JDK combos, so we tell Java to use IPv4. If you
|
|
|
|
have problems with multicast when running the tests
|
|
|
|
you can try setting this to 'false', although typically
|
|
|
|
that won't be helpful.
|
|
|
|
-->
|
|
|
|
<property>
|
|
|
|
<name>java.net.preferIPv4Stack</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
<!-- Tell JGroups to only wait a short time for PING
|
|
|
|
responses before determining coordinator. Speeds cluster
|
|
|
|
formation during integration tests. (This is too
|
|
|
|
low a value for a real system; only use for tests.)
|
|
|
|
-->
|
|
|
|
<property>
|
|
|
|
<name>jgroups.ping.timeout</name>
|
|
|
|
<value>500</value>
|
|
|
|
</property>
|
|
|
|
<!-- Tell JGroups to only require one PING response
|
|
|
|
before determining coordinator. Speeds cluster
|
|
|
|
formation during integration tests. (This is too
|
|
|
|
low a value for a real system; only use for tests.)
|
|
|
|
-->
|
|
|
|
<property>
|
|
|
|
<name>jgroups.ping.num_initial_members</name>
|
|
|
|
<value>1</value>
|
|
|
|
</property>
|
|
|
|
<!-- Disable the JGroups message bundling feature
|
|
|
|
to speed tests and avoid FLUSH issue -->
|
|
|
|
<property>
|
|
|
|
<name>jgroups.udp.enable_bundling</name>
|
|
|
|
<value>false</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
<skipExec>${skipUnitTests}</skipExec>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<skipUnitTests>true</skipUnitTests>
|
|
|
|
<!--
|
|
|
|
Following is the default jgroups mcast address. If you find the testsuite runs very slowly, there
|
|
|
|
may be problems with multicast on the interface JGroups uses by default on your machine. You can
|
|
|
|
try to resolve setting 'jgroups.bind_addr' as a system-property to the jvm launching maven and
|
|
|
|
setting the value to an interface where you know multicast works
|
|
|
|
-->
|
|
|
|
<jgroups.bind_addr>127.0.0.1</jgroups.bind_addr>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>test</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<skipUnitTests>false</skipUnitTests>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2008-05-06 11:47:22 -04:00
|
|
|
</project>
|