<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/maven-v4_0_0.xsd">
  <parent>
    <groupId>org.jboss.cluster</groupId>
    <artifactId>jboss-cluster</artifactId>
    <version>3.0.0.Final</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.jboss.cluster</groupId>
  <artifactId>hibernate-jbc-cacheprovider</artifactId>
  <packaging>jar</packaging>
  <version>1.0.2.GA</version>
  <name />
  <url>http://www.jboss.org</url>
  <description />
  <licenses>
   <license>
      <name>lgpl</name>
      <url>http://repository.jboss.com/licenses/lgpl.txt</url>
   </license>
  </licenses>
  <organization>
    <name>JBoss, a division of Red Hat, Inc.</name>
    <url>http://www.jboss.org</url>
  </organization>
  
  <scm>
    <connection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/cluster/hibernate-jbc-cacheprovider/tags/1.0.2.GA</connection>
    <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/cluster/hibernate-jbc-cacheprovider/tags/1.0.2.GA</developerConnection>
    <url>http://fisheye.jboss.org/browse/JBossAS/projects/cluster/hibernate-jbc-cacheprovider/tags/1.0.2.GA</url>
  </scm>
  
  <properties>
    <version.hibernate>3.2.4.sp1</version.hibernate>  
    <version.jboss.cache>1.4.1.SP9</version.jboss.cache>
    <version.jboss.common>4.2.2.GA</version.jboss.common>
    <version.jboss.jmx>4.2.2.GA</version.jboss.jmx>
    <version.jboss.system>4.2.2.GA</version.jboss.system>
    <version.jboss.j2ee>4.2.2.GA</version.jboss.j2ee>
    <version.jboss.transaction>4.2.2.GA</version.jboss.transaction>
    <!-- test versions -->
    <version.junit>3.8.1</version.junit>
    <version.commons.logging>1.1</version.commons.logging>
    <version.dom4j>1.6.1</version.dom4j>
    <version.commons.collections>3.1</version.commons.collections>
    <version.hsqldb>1.8.0.2</version.hsqldb>
    <version.jgroups>2.4.1</version.jgroups>
    <version.concurrent>1.3.4</version.concurrent>
    <version.jboss.jboss>4.2.2.GA</version.jboss.jboss>
    <version.javassist>3.8.1.GA</version.javassist>
    <version.jboss.javaee.persistence.api>3.0.0.CR1</version.jboss.javaee.persistence.api>
    <version.jboss.serialization>1.0.3.GA</version.jboss.serialization>
    <version.trove>1.0.2</version.trove>    
    <version.antlr>2.7.6</version.antlr>    
    <!-- 
         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>
  
  <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>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.4</source>
          <target>1.4</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-release-plugin</artifactId>
        <configuration>
          <!-- The tagBase property is needed during the release process so that
            the maven release plugin will create the release tag in the 
            appropriate location. -->
          <tagBase>https://svn.jboss.org/repos/jbossas/projects/cluster/hibernate-jbc-cacheprovider/tags</tagBase>
        </configuration>
      </plugin>   
      <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <configuration>
              <systemProperties>
                  <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>
          </configuration>
      </plugin>  
    </plugins>
  </build>  
  
  <dependencies>
    <dependency>
       <groupId>org.hibernate</groupId>
       <artifactId>hibernate</artifactId>
       <version>${version.hibernate}</version>
    </dependency>  
    <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-cache</artifactId>
       <version>${version.jboss.cache}</version>
    </dependency>
    <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-common</artifactId>
       <version>${version.jboss.common}</version>
    </dependency>
    <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-jmx</artifactId>
       <version>${version.jboss.jmx}</version>
    </dependency>
    <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-system</artifactId>
       <version>${version.jboss.system}</version>
    </dependency>
    <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-j2ee</artifactId>
       <version>${version.jboss.j2ee}</version>
    </dependency>
    <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-transaction</artifactId>
       <version>${version.jboss.transaction}</version>
    </dependency>

    <!-- test dependencies -->
    <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <version>${version.junit}</version>
       <scope>test</scope>
    </dependency>
    <dependency>
       <groupId>commons-logging</groupId>
       <artifactId>commons-logging</artifactId>
       <version>${version.commons.logging}</version>
       <scope>test</scope>
    </dependency>
    <dependency>
       <groupId>commons-logging</groupId>
       <artifactId>commons-logging-api</artifactId>
       <version>${version.commons.logging}</version>
       <scope>test</scope>
    </dependency>
    <dependency>
       <groupId>dom4j</groupId>
       <artifactId>dom4j</artifactId>
       <version>${version.dom4j}</version>
       <scope>test</scope>
    </dependency>
    <dependency>
       <groupId>commons-collections</groupId>
       <artifactId>commons-collections</artifactId>
       <version>${version.commons.collections}</version>
       <scope>test</scope>
    </dependency>    
    <dependency>
       <groupId>hsqldb</groupId>
       <artifactId>hsqldb</artifactId>
       <version>${version.hsqldb}</version>
       <scope>test</scope>
    </dependency>
    <dependency>
       <groupId>jgroups</groupId>
       <artifactId>jgroups</artifactId>
       <version>${version.jgroups}</version>
       <scope>test</scope>
    </dependency>    
    <dependency>
       <groupId>concurrent</groupId>
       <artifactId>concurrent</artifactId>
       <version>${version.concurrent}</version>
       <scope>test</scope>
    </dependency>
    <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss</artifactId>
       <version>${version.jboss.jboss}</version>
       <scope>test</scope>
    </dependency>        
    <dependency>
       <groupId>javassist</groupId>
       <artifactId>javassist</artifactId>
       <version>${version.javassist}</version>
       <scope>test</scope>
    </dependency>        
    <dependency>
       <groupId>org.jboss.javaee</groupId>
       <artifactId>jboss-persistence-api</artifactId>
       <version>${version.jboss.javaee.persistence.api}</version>
       <scope>test</scope>
    </dependency>
    <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-serialization</artifactId>
       <version>${version.jboss.serialization}</version>
       <scope>test</scope>
    </dependency>        
    <dependency>
       <groupId>trove</groupId>
       <artifactId>trove</artifactId>
       <version>${version.trove}</version>
       <scope>test</scope>
    </dependency>
    <dependency>
       <groupId>antlr</groupId>
       <artifactId>antlr</artifactId>
       <version>${version.antlr}</version>
       <scope>test</scope>
    </dependency>
  </dependencies> 

</project>
