Browse Source

test with log4j 2.19.0 rc1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904044 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_2_4
PJ Fanning 1 year ago
parent
commit
fee2c2a11e
5 changed files with 10 additions and 10 deletions
  1. 3
    3
      build.gradle
  2. 1
    1
      osgi/pom.xml
  3. 2
    2
      poi-excelant/build.gradle
  4. 2
    2
      poi-integration/build.gradle
  5. 2
    2
      poi-ooxml/build.gradle

+ 3
- 3
build.gradle 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 {

+ 1
- 1
osgi/pom.xml 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>

+ 2
- 2
poi-excelant/build.gradle 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) {

+ 2
- 2
poi-integration/build.gradle 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) {

+ 2
- 2
poi-ooxml/build.gradle 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}"

Loading…
Cancel
Save