From e6ee45c6ce4c6ee1ce8fb0c6b271b499eaba1e69 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Thu, 30 Oct 2008 16:45:35 +0000 Subject: [PATCH] HHH-3351 : import envers as core module git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15453 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- envers/pom.xml | 20 ++++++++---- .../src/test/resources/hibernate.test.cfg.xml | 16 ++-------- envers/src/test/resources/log4j.properties | 32 +++++++++++++++++++ 3 files changed, 48 insertions(+), 20 deletions(-) create mode 100644 envers/src/test/resources/log4j.properties diff --git a/envers/pom.xml b/envers/pom.xml index eb3f277ef6..c6f5dab429 100644 --- a/envers/pom.xml +++ b/envers/pom.xml @@ -1,6 +1,7 @@ + 4.0.0 @@ -93,6 +94,10 @@ javassist javassist + + jboss + javassist + org.hibernate @@ -129,18 +134,20 @@ org.testng testng 5.8 - test jdk15 - - - mysql - mysql-connector-java - 5.1.6 + test com.h2database h2 1.0.79 + test + + + javassist + javassist + 3.4.GA + test @@ -189,4 +196,5 @@ true + diff --git a/envers/src/test/resources/hibernate.test.cfg.xml b/envers/src/test/resources/hibernate.test.cfg.xml index c12b0b32ac..b807eb3cd0 100644 --- a/envers/src/test/resources/hibernate.test.cfg.xml +++ b/envers/src/test/resources/hibernate.test.cfg.xml @@ -8,11 +8,8 @@ create-drop - + false + true org.hibernate.dialect.H2Dialect jdbc:h2:mem:envers @@ -20,15 +17,6 @@ sa - - - false - true - diff --git a/envers/src/test/resources/log4j.properties b/envers/src/test/resources/log4j.properties new file mode 100644 index 0000000000..a144df5fc3 --- /dev/null +++ b/envers/src/test/resources/log4j.properties @@ -0,0 +1,32 @@ +# +# Hibernate, Relational Persistence for Idiomatic Java +# +# Copyright (c) 2008, 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 +log4j.logger.org.hibernate.tool.hbm2ddl=debug \ No newline at end of file