HHH-112001 - upgrade Byteman version and disable findbugs for JDK 9

This commit is contained in:
Andrea Boriero 2017-09-21 20:59:05 +01:00 committed by Sanne Grinovero
parent 132767b4fb
commit 81f4ab8f06
2 changed files with 31 additions and 24 deletions

View File

@ -400,6 +400,13 @@ subprojects { subProject ->
configFile = rootProject.file( 'shared/config/checkstyle/checkstyle-non-fatal.xml' )
}
if ( JavaVersion.current().isJava9Compatible() ) {
logger.warn( '[WARN] Disabling findbugs, it does not support JDK 9' )
findbugs {
sourceSets = []
}
}
else {
findbugs {
sourceSets = [subProject.sourceSets.main, subProject.sourceSets.test]
ignoreFailures = true
@ -424,7 +431,7 @@ subprojects { subProject ->
!it.path.contains( '_\$logger' )
}
}
}
// because cfg package is a mess mainly from annotation stuff
checkstyleMain.exclude '**/org/hibernate/cfg/**'
checkstyleMain.exclude '**/org/hibernate/cfg/*'

View File

@ -12,7 +12,7 @@ ext {
junitVersion = '4.12'
// h2Version = '1.2.145'
h2Version = '1.3.176'
bytemanVersion = '3.0.10'
bytemanVersion = '4.0.0-BETA5'
infinispanVersion = '8.2.5.Final'
jnpVersion = '5.0.6.CR1'
elVersion = '2.2.4'