This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git
The following commit(s) were added to refs/heads/trunk by this push:
new f6cf96ee71 upgrade build dependencies (#1159)
f6cf96ee71 is described below
commit f6cf96ee711870b4cd87043c6c9b4d02a3806ab7
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Jun 29 18:14:42 2026 +0100
upgrade build dependencies (#1159)
* upgrade build dependencies
* jspecify
* Update build.xml
---
build.gradle | 5 +++--
build.xml | 18 ++++++++++++------
poi-excelant/build.gradle | 1 +
poi-integration/build.gradle | 1 +
poi-ooxml/build.gradle | 1 +
poi-scratchpad/build.gradle | 1 +
poi/build.gradle | 1 +
7 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/build.gradle b/build.gradle
index 2f691f0698..9b35f60be6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -72,7 +72,7 @@ configurations {
}
dependencies {
- antLibs("org.junit.jupiter:junit-jupiter:6.1.0")
+ antLibs("org.junit.jupiter:junit-jupiter:6.1.1")
antLibs("org.apache.ant:ant-junitlauncher:1.10.17")
}
@@ -154,7 +154,7 @@ subprojects {
commonsCompressVersion = '1.28.0'
commonsIoVersion = '2.22.0'
commonsMathVersion = '3.6.1'
- junitVersion = '5.13.4'
+ junitVersion = '6.1.1'
log4jVersion = '2.26.0'
mockitoVersion = '5.23.0'
hamcrestVersion = '3.0'
@@ -163,6 +163,7 @@ subprojects {
graphics2dVersion = '3.0.5'
pdfboxVersion = '3.0.6'
saxonVersion = '12.9'
+ jspecifyVersion = '1.0.0'
xmlSecVersion = '3.0.6'
apiGuardianVersion = '1.1.2'
diff --git a/build.xml b/build.xml
index bfd51d5306..ebfda9b534 100644
--- a/build.xml
+++ b/build.xml
@@ -256,14 +256,15 @@ under the License.
<dependency prefix="main.com.zaxxer"
artifact="com.zaxxer:SparseBitSet:1.3" usage="main"/>
<dependency prefix="main.log4j-api"
artifact="org.apache.logging.log4j:log4j-api:2.26.0" usage="main"/>
- <dependency prefix="main.junit-api"
artifact="org.junit.jupiter:junit-jupiter-api:5.13.4" usage="main-tests"/>
- <dependency prefix="main.junit-jengine"
artifact="org.junit.jupiter:junit-jupiter-engine:5.13.4" usage="main-tests"/>
- <dependency prefix="main.junit-params"
artifact="org.junit.jupiter:junit-jupiter-params:5.13.4" usage="main-tests"/>
+ <dependency prefix="main.junit-api"
artifact="org.junit.jupiter:junit-jupiter-api:6.1.1" usage="main-tests"/>
+ <dependency prefix="main.junit-jengine"
artifact="org.junit.jupiter:junit-jupiter-engine:6.1.1" usage="main-tests"/>
+ <dependency prefix="main.junit-params"
artifact="org.junit.jupiter:junit-jupiter-params:6.1.1" usage="main-tests"/>
<dependency prefix="main.junit-opentest4j"
artifact="org.opentest4j:opentest4j:1.2.0" usage="main-tests"/>
<dependency prefix="main.junit-apiguardian"
artifact="org.apiguardian:apiguardian-api:1.1.2" usage="main-tests"/>
- <dependency prefix="main.junit-pcommons"
artifact="org.junit.platform:junit-platform-commons:1.13.4" usage="main-tests"/>
- <dependency prefix="main.junit-pengine"
artifact="org.junit.platform:junit-platform-engine:1.13.4" usage="main-tests"/>
- <dependency prefix="main.junit-plauncher"
artifact="org.junit.platform:junit-platform-launcher:1.13.4"
usage="main-tests"/>
+ <dependency prefix="main.junit-jspecify"
artifact="org.jspecify:jspecify:1.0.0" usage="main-tests"/>
+ <dependency prefix="main.junit-pcommons"
artifact="org.junit.platform:junit-platform-commons:6.1.1" usage="main-tests"/>
+ <dependency prefix="main.junit-pengine"
artifact="org.junit.platform:junit-platform-engine:6.1.1" usage="main-tests"/>
+ <dependency prefix="main.junit-plauncher"
artifact="org.junit.platform:junit-platform-launcher:6.1.1" usage="main-tests"/>
<dependency prefix="main.jmh" artifact="org.openjdk.jmh:jmh-core:1.35"
usage="main-tests"/>
@@ -419,6 +420,7 @@ under the License.
<pathelement location="${main.junit-pcommons.jar}"/>
<pathelement location="${main.junit-opentest4j.jar}"/>
<pathelement location="${main.junit-apiguardian.jar}"/>
+ <pathelement location="${main.junit-jspecify.jar}"/>
<pathelement location="${main.jmh.jar}"/>
<pathelement location="${main.jmhAnnotation.jar}"/>
<pathelement location="${main.hamcrest.jar}"/>
@@ -727,6 +729,7 @@ under the License.
<available file="${main.junit-pcommons.jar}"/>
<available file="${main.junit-opentest4j.jar}"/>
<available file="${main.junit-apiguardian.jar}"/>
+ <available file="${main.junit-jspecify.jar}"/>
<available file="${main.jmh.jar}"/>
<available file="${main.jmhAnnotation.jar}"/>
<available file="${main.hamcrest.jar}"/>
@@ -775,6 +778,7 @@ under the License.
<downloadfile src="${main.junit-pcommons.url}"
dest="${main.junit-pcommons.jar}"/>
<downloadfile src="${main.junit-opentest4j.url}"
dest="${main.junit-opentest4j.jar}"/>
<downloadfile src="${main.junit-apiguardian.url}"
dest="${main.junit-apiguardian.jar}"/>
+ <downloadfile src="${main.junit-jspecify.url}"
dest="${main.junit-jspecify.jar}"/>
<downloadfile src="${main.jmh.url}" dest="${main.jmh.jar}"/>
<downloadfile src="${main.jmhAnnotation.url}"
dest="${main.jmhAnnotation.jar}"/>
<downloadfile src="${main.hamcrest.url}" dest="${main.hamcrest.jar}"/>
@@ -1325,6 +1329,7 @@ under the License.
<pathelement location="${main.junit-params.jar}"/>
<pathelement location="${main.junit-opentest4j.jar}"/>
<pathelement location="${main.junit-apiguardian.jar}"/>
+ <pathelement location="${main.junit-jspecify.jar}"/>
<pathelement location="${main.junit-pcommons.jar}"/>
<pathelement location="${main.junit-pengine.jar}"/>
<pathelement location="${main.junit-plauncher.jar}"/>
@@ -2663,6 +2668,7 @@ under the License.
<auxClasspath path="${main.junit-pcommons.jar}" />
<auxClasspath path="${main.junit-opentest4j.jar}" />
<auxClasspath path="${main.junit-apiguardian.jar}" />
+ <auxClasspath path="${main.junit-jspecify.jar}" />
<auxClasspath path="${main.jmh.jar}"/>
<auxClasspath path="${main.jmhAnnotation.jar}"/>
<auxClasspath path="${main.ant.jar}" />
diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle
index ad74db9fab..e200cb4a5d 100644
--- a/poi-excelant/build.gradle
+++ b/poi-excelant/build.gradle
@@ -45,6 +45,7 @@ dependencies {
testImplementation
"org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:2.0.17'
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
+ testRuntimeOnly "org.jspecify:jspecify:${jspecifyVersion}"
}
final String MODULE_NAME = 'org.apache.poi.excelant'
diff --git a/poi-integration/build.gradle b/poi-integration/build.gradle
index 5592642219..52c686ff2e 100644
--- a/poi-integration/build.gradle
+++ b/poi-integration/build.gradle
@@ -79,6 +79,7 @@ dependencies {
testImplementation
"org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:2.0.17'
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
+ testRuntimeOnly "org.jspecify:jspecify:${jspecifyVersion}"
}
final String MODULE_NAME = 'org.apache.poi.stress'
diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle
index 78c4ea891a..c9a3eaaf4b 100644
--- a/poi-ooxml/build.gradle
+++ b/poi-ooxml/build.gradle
@@ -125,6 +125,7 @@ dependencies {
testImplementation project(path:':poi', configuration:'tests')
testImplementation project(path:':poi-ooxml-lite-agent', configuration:
'archives')
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
+ testRuntimeOnly "org.jspecify:jspecify:${jspecifyVersion}"
testImplementation 'org.xmlunit:xmlunit-core:2.11.0'
testImplementation 'org.reflections:reflections:0.10.2'
testImplementation 'org.openjdk.jmh:jmh-core:1.37'
diff --git a/poi-scratchpad/build.gradle b/poi-scratchpad/build.gradle
index f6268784ff..b7a067addb 100644
--- a/poi-scratchpad/build.gradle
+++ b/poi-scratchpad/build.gradle
@@ -41,6 +41,7 @@ dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
+ testRuntimeOnly "org.jspecify:jspecify:${jspecifyVersion}"
javadocs project(':poi')
javadocs project(':poi-ooxml')
diff --git a/poi/build.gradle b/poi/build.gradle
index a974866944..ed2f2929a8 100644
--- a/poi/build.gradle
+++ b/poi/build.gradle
@@ -48,6 +48,7 @@ dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
+ testRuntimeOnly "org.jspecify:jspecify:${jspecifyVersion}"
// needed for locating the external references
javadocs project(':poi-ooxml')
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]