This is an automated email from the ASF dual-hosted git repository.
fanningpj 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 16ecbc7d48 build issues
16ecbc7d48 is described below
commit 16ecbc7d48391e41142d7e110fe2acf2974b22f0
Author: PJ Fanning <[email protected]>
AuthorDate: Sat Nov 15 11:34:52 2025 +0100
build issues
---
build.gradle | 2 +-
poi-examples/build.gradle | 4 ++--
poi-excelant/build.gradle | 8 ++++----
poi-integration/build.gradle | 4 ++--
poi-ooxml-full/build.gradle | 4 ++--
poi-ooxml-lite-agent/build.gradle | 4 ++--
poi-ooxml-lite/build.gradle | 4 ++--
poi-ooxml/build.gradle | 10 +++++-----
poi-scratchpad/build.gradle | 8 ++++----
poi/build.gradle | 8 ++++----
10 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/build.gradle b/build.gradle
index f53115329a..f05ab54c98 100644
--- a/build.gradle
+++ b/build.gradle
@@ -737,7 +737,7 @@ task jenkinsLite(dependsOn: [
if (!f.exists()) {
println 'writing file ' + f.getAbsolutePath()
f.getParentFile().mkdirs()
- new
URL('https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.11/lastSuccessfulBuild/artifact/build/xmlbeans-5.0.0.jar').withInputStream{
i -> f.withOutputStream{ it << i }}
+ new
URL('https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/lastSuccessfulBuild/artifact/build/xmlbeans-5.0.0.jar').withInputStream{
i -> f.withOutputStream{ it << i }}
}
}*/
diff --git a/poi-examples/build.gradle b/poi-examples/build.gradle
index 8c494e67d6..86b5a4a235 100644
--- a/poi-examples/build.gradle
+++ b/poi-examples/build.gradle
@@ -53,8 +53,8 @@ tasks.register('compileJava9', JavaCompile) {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
}
- sourceCompatibility = 1.11
- targetCompatibility = 1.11
+ sourceCompatibility = 11
+ targetCompatibility = 11
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
source = file(JAVA9_SRC)
classpath = files()
diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle
index 3b849a107a..4e0e2acabd 100644
--- a/poi-excelant/build.gradle
+++ b/poi-excelant/build.gradle
@@ -63,8 +63,8 @@ tasks.register('compileJava9', JavaCompile) {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
}
- sourceCompatibility = 1.9
- targetCompatibility = 1.9
+ sourceCompatibility = 11
+ targetCompatibility = 11
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
source = file(JAVA9_SRC)
classpath = files()
@@ -80,8 +80,8 @@ tasks.register('compileTest9', JavaCompile) {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
}
- sourceCompatibility = 1.9
- targetCompatibility = 1.9
+ sourceCompatibility = 11
+ targetCompatibility = 11
destinationDirectory = file(TEST9_OUT + VERSIONS9)
source = file(TEST9_SRC)
options.compilerArgs = [
diff --git a/poi-integration/build.gradle b/poi-integration/build.gradle
index 09094a88ce..0834fa5b3b 100644
--- a/poi-integration/build.gradle
+++ b/poi-integration/build.gradle
@@ -96,8 +96,8 @@ tasks.register('compileTest9', JavaCompile) {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
}
- sourceCompatibility = 1.9
- targetCompatibility = 1.9
+ sourceCompatibility = 11
+ targetCompatibility = 11
destinationDirectory = file(TEST9_OUT + VERSIONS9)
source = file(TEST9_SRC)
options.compilerArgs = [
diff --git a/poi-ooxml-full/build.gradle b/poi-ooxml-full/build.gradle
index 61dc57c980..13da5ae202 100644
--- a/poi-ooxml-full/build.gradle
+++ b/poi-ooxml-full/build.gradle
@@ -60,8 +60,8 @@ tasks.register('compileJava9', JavaCompile) {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
}
- sourceCompatibility = 1.11
- targetCompatibility = 1.11
+ sourceCompatibility = 11
+ targetCompatibility = 11
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
source = file(JAVA9_SRC)
classpath = files()
diff --git a/poi-ooxml-lite-agent/build.gradle
b/poi-ooxml-lite-agent/build.gradle
index 4286a57abc..1c0c798769 100644
--- a/poi-ooxml-lite-agent/build.gradle
+++ b/poi-ooxml-lite-agent/build.gradle
@@ -42,8 +42,8 @@ tasks.register('compileJava9', JavaCompile) {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
}
- sourceCompatibility = 1.11
- targetCompatibility = 1.11
+ sourceCompatibility = 11
+ targetCompatibility = 11
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
source = file(JAVA9_SRC)
classpath = files()
diff --git a/poi-ooxml-lite/build.gradle b/poi-ooxml-lite/build.gradle
index 921f41ef50..71b58b0958 100644
--- a/poi-ooxml-lite/build.gradle
+++ b/poi-ooxml-lite/build.gradle
@@ -93,8 +93,8 @@ task compileJava9(type: JavaCompile, dependsOn:
'compileJava') {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
}
- sourceCompatibility = 1.11
- targetCompatibility = 1.11
+ sourceCompatibility = 11
+ targetCompatibility = 11
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
source = file(JAVA9_SRC)
classpath = files()
diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle
index d4217cbe41..7a72a54ae1 100644
--- a/poi-ooxml/build.gradle
+++ b/poi-ooxml/build.gradle
@@ -174,8 +174,8 @@ tasks.register('compileTest9', JavaCompile) {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
}
- sourceCompatibility = 1.11
- targetCompatibility = 1.11
+ sourceCompatibility = 11
+ targetCompatibility = 11
destinationDirectory = file(TEST9_OUT + VERSIONS9)
source = file(TEST9_SRC)
options.compilerArgs = [
@@ -259,9 +259,9 @@ test {
doFirst {
jvmArgs += [
- "-Xverify:all",
- "-XX:ErrorFile=../build/hs_err_pid%p.log",
-
"-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}"
+ '-Xverify:all',
+ '-XX:ErrorFile=../build/hs_err_pid%p.log',
+
"-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}",
'--add-modules', MODULE_NAME,
'--module-path', '../build/dist/maven/poi-ooxml-tests' +
File.pathSeparator + files(TEST_MODULE_PATH).asPath,
]
diff --git a/poi-scratchpad/build.gradle b/poi-scratchpad/build.gradle
index 544d0f64fa..fd37a9922f 100644
--- a/poi-scratchpad/build.gradle
+++ b/poi-scratchpad/build.gradle
@@ -58,8 +58,8 @@ tasks.register('compileJava9', JavaCompile) {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
}
- sourceCompatibility = 1.11
- targetCompatibility = 1.11
+ sourceCompatibility = 11
+ targetCompatibility = 11
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
source = file(JAVA9_SRC)
classpath = files()
@@ -75,8 +75,8 @@ tasks.register('compileTest9', JavaCompile) {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
}
- sourceCompatibility = 1.11
- targetCompatibility = 1.11
+ sourceCompatibility = 11
+ targetCompatibility = 11
destinationDirectory = file(TEST9_OUT + VERSIONS9)
source = file(TEST9_SRC)
options.compilerArgs = [
diff --git a/poi/build.gradle b/poi/build.gradle
index 5871af6296..7fd4b5f544 100644
--- a/poi/build.gradle
+++ b/poi/build.gradle
@@ -85,8 +85,8 @@ tasks.register('compileJava9', JavaCompile) {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
}
- sourceCompatibility = 1.9
- targetCompatibility = 1.9
+ sourceCompatibility = 11
+ targetCompatibility = 11
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
source = file(JAVA9_SRC)
classpath = files()
@@ -102,8 +102,8 @@ tasks.register('compileTest9', JavaCompile) {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
}
- sourceCompatibility = 1.9
- targetCompatibility = 1.9
+ sourceCompatibility = 11
+ targetCompatibility = 11
destinationDirectory = file(TEST9_OUT + VERSIONS9)
source = file(TEST9_SRC)
options.compilerArgs = [
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]