mirror of https://github.com/apache/poi.git
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:
parent
439d67d6d9
commit
fee2c2a11e
|
@ -150,7 +150,7 @@ subprojects {
|
||||||
commonsIoVersion = '2.11.0'
|
commonsIoVersion = '2.11.0'
|
||||||
commonsMathVersion = '3.6.1'
|
commonsMathVersion = '3.6.1'
|
||||||
junitVersion = '5.9.0'
|
junitVersion = '5.9.0'
|
||||||
log4jVersion = '2.18.0'
|
log4jVersion = '2.19.0'
|
||||||
mockitoVersion = '4.8.0'
|
mockitoVersion = '4.8.0'
|
||||||
hamcrestVersion = '2.2'
|
hamcrestVersion = '2.2'
|
||||||
xmlbeansVersion = '5.1.1'
|
xmlbeansVersion = '5.1.1'
|
||||||
|
@ -178,7 +178,7 @@ subprojects {
|
||||||
all {
|
all {
|
||||||
resolutionStrategy {
|
resolutionStrategy {
|
||||||
force "commons-io:commons-io:${commonsIoVersion}"
|
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'
|
force 'com.fasterxml.woodstox:woodstox-core:6.3.1'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -193,7 +193,7 @@ subprojects {
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
//maven { url 'https://repository.apache.org/content/repositories/staging' }
|
maven { url 'https://repository.apache.org/content/repositories/staging' }
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
@ -231,7 +231,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.logging.log4j</groupId>
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
<artifactId>log4j-core</artifactId>
|
<artifactId>log4j-core</artifactId>
|
||||||
<version>2.18.0</version>
|
<version>2.19.0</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
|
@ -46,8 +46,8 @@ dependencies {
|
||||||
exclude group: 'org.apache.poi', module: 'poi-scratchpad'
|
exclude group: 'org.apache.poi', module: 'poi-scratchpad'
|
||||||
}
|
}
|
||||||
testImplementation 'com.google.guava:guava:31.1-jre'
|
testImplementation 'com.google.guava:guava:31.1-jre'
|
||||||
testImplementation "org.apache.logging.log4j:log4j-slf4j18-impl:${log4jVersion}"
|
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
|
||||||
testImplementation 'org.slf4j:slf4j-simple:1.7.36'
|
testImplementation 'org.slf4j:slf4j-simple:2.0.0'
|
||||||
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
|
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
|
||||||
|
|
||||||
if (SAXON_TEST) {
|
if (SAXON_TEST) {
|
||||||
|
|
|
@ -77,8 +77,8 @@ dependencies {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
testImplementation project(path: ':poi-ooxml-lite-agent', configuration: 'archives')
|
testImplementation project(path: ':poi-ooxml-lite-agent', configuration: 'archives')
|
||||||
testImplementation "org.apache.logging.log4j:log4j-slf4j18-impl:${log4jVersion}"
|
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
|
||||||
testImplementation 'org.slf4j:slf4j-simple:1.7.36'
|
testImplementation 'org.slf4j:slf4j-simple:2.0.0'
|
||||||
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
|
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
|
||||||
|
|
||||||
if (SAXON_TEST) {
|
if (SAXON_TEST) {
|
||||||
|
|
|
@ -144,8 +144,8 @@ dependencies {
|
||||||
|
|
||||||
// prevent slf4j warnings coming from xmlsec -> slf4j-api 1.7.x dependency
|
// prevent slf4j warnings coming from xmlsec -> slf4j-api 1.7.x dependency
|
||||||
// see https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/
|
// see https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/
|
||||||
testImplementation "org.apache.logging.log4j:log4j-slf4j18-impl:${log4jVersion}"
|
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
|
||||||
testImplementation 'org.slf4j:slf4j-simple:1.7.36'
|
testImplementation 'org.slf4j:slf4j-simple:2.0.0'
|
||||||
|
|
||||||
if (SAXON_TEST) {
|
if (SAXON_TEST) {
|
||||||
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"
|
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"
|
||||||
|
|
Loading…
Reference in New Issue