alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Hibernate example source code file (hibernate-infinispan.gradle)

This example Hibernate source code file (hibernate-infinispan.gradle) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Hibernate tags/keywords

The Hibernate hibernate-infinispan.gradle source code

apply plugin: 'java'

configurations {
    all*.exclude group: 'org.jboss.logging', module: 'jboss-logging-spi'
}

dependencies {
   infinispanVersion = '5.0.0.CR4'
   jnpVersion = '5.0.3.GA'

   compile(project(':hibernate-core'))
   compile([group: 'org.infinispan', name: 'infinispan-core', version: infinispanVersion]) {
      artifact {
         name = "infinispan-core"
         type = 'jar'
      }
   }
   // http://jira.codehaus.org/browse/GRADLE-739
   testCompile([group: 'org.infinispan', name: 'infinispan-core', version: infinispanVersion]) {
      artifact {
         name = "infinispan-core"
         type = 'jar'
      }
      artifact {
         name = "infinispan-core"
         classifier = 'tests'
         type = 'jar'
      }
   }
   testCompile( project(':hibernate-testing') )
   testCompile([group: 'org.jboss', name: 'jboss-common-core', version: '2.2.14.GA'])
   testCompile([group: 'org.jboss.naming', name: 'jnp-client', version: jnpVersion])
   testCompile([group: 'org.jboss.naming', name: 'jnpserver', version: jnpVersion])
   testCompile([group: 'com.experlog', name: 'xapool', version: '1.5.0'])
   testCompile([group: 'jboss.jbossts', name: 'jbossjta', version: '4.9.0.GA'])
   testCompile(libraries.jta)
   testCompile(libraries.h2)
   // testCompile( [group: 'hsqldb', name: 'hsqldb', version: '1.8.0.2'] )
   testCompile([group: 'org.rhq.helpers', name: 'rhq-pluginAnnotations', version: '1.4.0.B01'])
   testCompile([group: 'log4j', name: 'log4j', version: '1.2.16'])
   testRuntime(libraries.javassist)
}

test {
   systemProperties['java.net.preferIPv4Stack'] = true
   systemProperties['jgroups.ping.timeout'] = 500
   systemProperties['jgroups.ping.num_initial_members'] = 1
   systemProperties['jgroups.udp.enable_bundling'] = false
   systemProperties['jgroups.bind_addr'] = 'localhost'
   //   systemProperties['log4j.configuration'] = 'file:/log4j/log4j-infinispan.xml'
   enabled = true
}

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate hibernate-infinispan.gradle source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.