HHH-5616 - Switch to Gradle for builds .. ehcache
This commit is contained in:
parent
328b911192
commit
429d0fd8f9
|
@ -100,6 +100,7 @@ subprojects { subProject ->
|
|||
testRuntime( libraries.jcl_slf4j )
|
||||
testRuntime( libraries.jcl_api )
|
||||
testRuntime( libraries.jcl )
|
||||
testRuntime( libraries.javassist )
|
||||
testRuntime( libraries.h2 )
|
||||
}
|
||||
|
||||
|
|
|
@ -1,54 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<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-parent</artifactId>
|
||||
<version>3.6.0-SNAPSHOT</version>
|
||||
<relativePath>../parent/pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-ehcache</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Hibernate Ehcache Integration</name>
|
||||
<description>Integration of Hibernate with Ehcache</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${groupId}</groupId>
|
||||
<artifactId>hibernate-core</artifactId>
|
||||
<version>${version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.sf.ehcache</groupId>
|
||||
<artifactId>ehcache</artifactId>
|
||||
<version>1.5.0</version>
|
||||
</dependency>
|
||||
<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>
|
||||
<dependency>
|
||||
<groupId>cglib</groupId>
|
||||
<artifactId>cglib</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javassist</groupId>
|
||||
<artifactId>javassist</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -1,32 +0,0 @@
|
|||
################################################################################
|
||||
# Hibernate, Relational Persistence for Idiomatic Java #
|
||||
# #
|
||||
# Copyright (c) 2007, Red Hat Middleware LLC or third-party contributors as #
|
||||
# indicated by the @author tags or express copyright attribution #
|
||||
# statements applied by the authors. All third-party contributions are #
|
||||
# distributed under license by Red Hat Middleware LLC. #
|
||||
# #
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,#
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU #
|
||||
# Lesser General Public License, as published by the Free Software Foundation. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
||||
# for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU Lesser General Public License #
|
||||
# along with this distribution; if not, write to: #
|
||||
# Free Software Foundation, Inc. #
|
||||
# 51 Franklin Street, Fifth Floor #
|
||||
# Boston, MA 02110-1301 USA #
|
||||
################################################################################
|
||||
hibernate.dialect org.hibernate.dialect.HSQLDialect
|
||||
hibernate.connection.driver_class org.hsqldb.jdbcDriver
|
||||
hibernate.connection.url jdbc:hsqldb:mem:/test
|
||||
hibernate.connection.username sa
|
||||
hibernate.connection.password
|
||||
|
||||
hibernate.connection.pool_size 5
|
||||
|
||||
hibernate.cache.region_prefix hibernate.test
|
|
@ -1,32 +0,0 @@
|
|||
################################################################################
|
||||
# Hibernate, Relational Persistence for Idiomatic Java #
|
||||
# #
|
||||
# Copyright (c) 2007, Red Hat Middleware LLC or third-party contributors as #
|
||||
# indicated by the @author tags or express copyright attribution #
|
||||
# statements applied by the authors. All third-party contributions are #
|
||||
# distributed under license by Red Hat Middleware LLC. #
|
||||
# #
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,#
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU #
|
||||
# Lesser General Public License, as published by the Free Software Foundation. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
||||
# for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU Lesser General Public License #
|
||||
# along with this distribution; if not, write to: #
|
||||
# Free Software Foundation, Inc. #
|
||||
# 51 Franklin Street, Fifth Floor #
|
||||
# Boston, MA 02110-1301 USA #
|
||||
################################################################################
|
||||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||
log4j.appender.stdout.Target=System.out
|
||||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
|
||||
|
||||
|
||||
log4j.rootLogger=info, stdout
|
||||
|
||||
log4j.logger.org.hibernate.test=info
|
|
@ -0,0 +1,7 @@
|
|||
apply plugin: 'java'
|
||||
|
||||
dependencies {
|
||||
compile( project( ':hibernate-core' ) )
|
||||
compile( [group: 'net.sf.ehcache', name: 'ehcache', version: '1.5.0'] )
|
||||
testCompile( project(':hibernate-core').sourceSets.test.classes )
|
||||
}
|
|
@ -5,6 +5,8 @@ include 'hibernate-envers'
|
|||
include 'hibernate-c3p0'
|
||||
include 'hibernate-proxool'
|
||||
|
||||
include 'hibernate-ehcache'
|
||||
|
||||
|
||||
rootProject.children.each { project ->
|
||||
project.buildFileName = "${project.name}.gradle"
|
||||
|
|
Loading…
Reference in New Issue