Modified infinispan module's build to exclude older version of jboss-logging library
This commit is contained in:
parent
ece77365dc
commit
19bc3ba7fc
|
@ -31,11 +31,13 @@ import junit.framework.AssertionFailedError;
|
|||
import junit.framework.Test;
|
||||
import junit.framework.TestCase;
|
||||
import junit.framework.TestSuite;
|
||||
import org.hibernate.TestLogger;
|
||||
import org.hibernate.cfg.Environment;
|
||||
import org.hibernate.engine.jdbc.spi.JdbcServices;
|
||||
import org.hibernate.service.jdbc.connections.spi.ConnectionProvider;
|
||||
import org.hibernate.service.spi.ServicesRegistry;
|
||||
import org.hibernate.test.common.ServiceRegistryHolder;
|
||||
import org.jboss.logging.Logger;
|
||||
|
||||
/**
|
||||
* A basic JUnit {@link junit.framework.TestCase} subclass for
|
||||
|
@ -61,7 +63,7 @@ public abstract class UnitTestCase extends junit.framework.TestCase {
|
|||
public void runBare() throws Throwable {
|
||||
final boolean doValidate = getName().endsWith( "FailureExpected" ) && Boolean.getBoolean( "hibernate.test.validatefailureexpected" );
|
||||
try {
|
||||
LOG.info("Starting test [" + fullTestName() + "]");
|
||||
Logger.getMessageLogger(TestLogger.class, TestLogger.class.getName()).info("Starting test [" + fullTestName() + "]");
|
||||
super.runBare();
|
||||
if ( doValidate ) {
|
||||
throw new FailureExpectedTestPassedException();
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
apply plugin: 'java'
|
||||
|
||||
configurations {
|
||||
all*.exclude group: 'org.jboss.logging', module: 'jboss-logging-spi'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
infinispanVersion = '4.2.0.CR4'
|
||||
jnpVersion = '5.0.3.GA'
|
||||
|
|
Loading…
Reference in New Issue