diff options
author | Marius Volkhart <mariusvolkhart@apache.org> | 2021-10-01 13:28:10 +0000 |
---|---|---|
committer | Marius Volkhart <mariusvolkhart@apache.org> | 2021-10-01 13:28:10 +0000 |
commit | b1d9519da54e5e63c816c54153c239bf7a3bf334 (patch) | |
tree | c490f45c3e700d88c710f1c08fc824a0a9d8c17a /jenkins | |
parent | c68eabd258f8323b5e49a3c33210d7c03061fae6 (diff) | |
download | poi-b1d9519da54e5e63c816c54153c239bf7a3bf334.tar.gz poi-b1d9519da54e5e63c816c54153c239bf7a3bf334.zip |
Build XMLBeans on Java 17
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893784 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r-- | jenkins/create_jobs.groovy | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 14d6c695af..734ea02975 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -113,6 +113,8 @@ def xmlbeansjobs = [ disabled: true ], [ name: 'POI-XMLBeans-DSL-1.16', jdk: '1.16', trigger: triggerSundays, skipcigame: true, + ], + [ name: 'POI-XMLBeans-DSL-1.17', jdk: '1.17', trigger: triggerSundays, skipcigame: true, ] ] @@ -493,7 +495,7 @@ xmlbeansjobs.each { xjob -> // when using JDK 9/10 for running Ant, we need to provide more modules for the forbidden-api-checks task // on JDK 11 and newer there is no such module any more, so do not add it here env('ANT_OPTS', '--add-modules=java.xml.bind --add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED') - } else if (jdkKey == '1.11' || jdkKey == '1.12' || jdkKey == '1.13' || jdkKey == '1.14' || jdkKey == '1.15' || jdkKey == '1.16') { + } else if (jdkKey == '1.11' || jdkKey == '1.12' || jdkKey == '1.13' || jdkKey == '1.14' || jdkKey == '1.15' || jdkKey == '1.16' || jdkKey == '1.17') { env('ANT_OPTS', '--add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED') } // will be needed for forbidden-apis-check: env('ANT_HOME', xjob.windows ? 'f:\\jenkins\\tools\\ant\\latest' : '/usr/share/ant') |