test with log4j 2.19.0 rc1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904044 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-09-13 10:48:55 +00:00
parent 439d67d6d9
commit fee2c2a11e
5 changed files with 10 additions and 10 deletions

View File

@ -150,7 +150,7 @@ subprojects {
commonsIoVersion = '2.11.0'
commonsMathVersion = '3.6.1'
junitVersion = '5.9.0'
log4jVersion = '2.18.0'
log4jVersion = '2.19.0'
mockitoVersion = '4.8.0'
hamcrestVersion = '2.2'
xmlbeansVersion = '5.1.1'
@ -178,7 +178,7 @@ subprojects {
all {
resolutionStrategy {
force "commons-io:commons-io:${commonsIoVersion}"
force 'org.slf4j:slf4j-api:1.7.36'
force 'org.slf4j:slf4j-api:2.0.0'
force 'com.fasterxml.woodstox:woodstox-core:6.3.1'
}
}
@ -193,7 +193,7 @@ subprojects {
repositories {
mavenCentral()
//maven { url 'https://repository.apache.org/content/repositories/staging' }
maven { url 'https://repository.apache.org/content/repositories/staging' }
}
dependencies {

View File

@ -231,7 +231,7 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.18.0</version>
<version>2.19.0</version>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -46,8 +46,8 @@ dependencies {
exclude group: 'org.apache.poi', module: 'poi-scratchpad'
}
testImplementation 'com.google.guava:guava:31.1-jre'
testImplementation "org.apache.logging.log4j:log4j-slf4j18-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:1.7.36'
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:2.0.0'
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
if (SAXON_TEST) {

View File

@ -77,8 +77,8 @@ dependencies {
}
}
testImplementation project(path: ':poi-ooxml-lite-agent', configuration: 'archives')
testImplementation "org.apache.logging.log4j:log4j-slf4j18-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:1.7.36'
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:2.0.0'
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
if (SAXON_TEST) {

View File

@ -144,8 +144,8 @@ dependencies {
// prevent slf4j warnings coming from xmlsec -> slf4j-api 1.7.x dependency
// see https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/
testImplementation "org.apache.logging.log4j:log4j-slf4j18-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:1.7.36'
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:2.0.0'
if (SAXON_TEST) {
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"