Commit Graph

243 Commits

Author SHA1 Message Date
PJ Fanning 44be0c0f5a revert
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901681 13f79535-47bb-0310-9956-ffa450edef68
2022-06-05 15:03:12 +00:00
PJ Fanning 1d37e708b1 gradle refresh
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901679 13f79535-47bb-0310-9956-ffa450edef68
2022-06-05 14:42:42 +00:00
PJ Fanning 44b3bf86b3 jdk 18 build support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901613 13f79535-47bb-0310-9956-ffa450edef68
2022-06-04 10:23:27 +00:00
Dominik Stadler 09e464bb5f poi-ooxml-lite: Check in list of classes and xsb-files to avoid the jar-to-test dependency
Avoid running all tests whenever building jars as tests take a long time now
and also cause large memory allocations.

It is nice if the target "jar" is as fast as possible and the list of included
items for ooxml-lite only changes rarely anyway.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899160 13f79535-47bb-0310-9956-ffa450edef68
2022-03-24 04:42:27 +00:00
Andreas Beeker 3d66868974 quote typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898289 13f79535-47bb-0310-9956-ffa450edef68
2022-02-21 23:10:45 +00:00
Andreas Beeker b59dbbd076 Use gradle toolchain to specify the jdk version and vendor, e.g.
> gradle -no-build-cache -PjdkVersion=16 -PjdkVendor=oracle clean check

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898288 13f79535-47bb-0310-9956-ffa450edef68
2022-02-21 22:57:03 +00:00
PJ Fanning 850e4fa903 use gradle in most xmlbeans CI builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897899 13f79535-47bb-0310-9956-ffa450edef68
2022-02-09 11:30:20 +00:00
Andreas Beeker 1533af4f1d activate xmlbeans sonarqube
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896837 13f79535-47bb-0310-9956-ffa450edef68
2022-01-08 18:22:12 +00:00
Andreas Beeker 53ae30b7e0 update xmlbeans gradle calls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896622 13f79535-47bb-0310-9956-ffa450edef68
2022-01-02 13:09:46 +00:00
Andreas Beeker 3e66ca24b2 update xmlbeans gradle calls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896562 13f79535-47bb-0310-9956-ffa450edef68
2021-12-31 00:17:57 +00:00
PJ Fanning 12f0d4f265 revert: spotbugs only seems to report txt now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896159 13f79535-47bb-0310-9956-ffa450edef68
2021-12-19 14:40:19 +00:00
PJ Fanning 6bad5f22bf spotbugs only seems to report txt now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896145 13f79535-47bb-0310-9956-ffa450edef68
2021-12-19 02:06:18 +00:00
PJ Fanning 27d837067f jdk 1.18 build just once a week
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895489 13f79535-47bb-0310-9956-ffa450edef68
2021-12-02 13:45:50 +00:00
Dominik Stadler 5f75bf0f81 Jenkins DSL: Increase timeout to 300 seconds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895416 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 06:19:56 +00:00
Dominik Stadler ac3e5deb87 Add JDK 18, do not run CI for JDK 12 - 16 any more
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895415 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 06:19:53 +00:00
PJ Fanning a3f0121147 saxon test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895319 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 10:05:00 +00:00
Dominik Stadler c531f2192f Jenkins DSL: Adjust batchFile() in Test-Environment-Job as it only expects a String
Also fix incorrect nesting of "condition", "runner", "steps" elements inside "conditionalSteps"

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894815 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 15:00:07 +00:00
Dominik Stadler 53217e2b1e Use parallel build to speed up building and running tests
Enable parallel building and parallel test-execution
Provide a configuration to still build/test serially on CI
via CI_BUILD=TRUE gradle --no-parallel --max-workers=1 clean build
Adjust Jenkins DSL to set CI_BUILD to avoid problems in CI
Adjust TestAllFiles to not fail when parallel builds are enabled
Reduce memory settings to reduce requirements on build-environments
Add gradle plugin to list task-dependencies

Thanks to Andreas Reichel for the PR

Closes #275

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894812 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 14:59:48 +00:00
Dominik Stadler c2936346f8 Add JUnit and JaCoCo publisher to Sonar-Gradle Job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894811 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 14:59:43 +00:00
PJ Fanning 6b1a477997 hs-err file location
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894411 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 13:08:53 +00:00
Dominik Stadler f406fe798f Remove some remnants of sonar-directory which cause CI failures
Remove handling of "sonar" in build.xml
Remove unused gitignores
Add some more output to build.xml
Adjust Jenkins DSL to not try to cleanup non-existing directory

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894277 13f79535-47bb-0310-9956-ffa450edef68
2021-10-15 07:58:20 +00:00
PJ Fanning 76c0aaa338 keep zip dists after builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894274 13f79535-47bb-0310-9956-ffa450edef68
2021-10-15 07:33:09 +00:00
PJ Fanning bdd6f09275 xmlbeans - archive tgz files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894234 13f79535-47bb-0310-9956-ffa450edef68
2021-10-14 11:19:00 +00:00
PJ Fanning 5965854661 xmlbeans - archive tgz files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894233 13f79535-47bb-0310-9956-ffa450edef68
2021-10-14 11:12:59 +00:00
PJ Fanning bdbbe9138c xmlbeans - archive tgz files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894232 13f79535-47bb-0310-9956-ffa450edef68
2021-10-14 10:51:31 +00:00
PJ Fanning 3391f0ab22 windows jdk 1.17 build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894231 13f79535-47bb-0310-9956-ffa450edef68
2021-10-14 10:46:53 +00:00
Marius Volkhart b1d9519da5 Build XMLBeans on Java 17
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893784 13f79535-47bb-0310-9956-ffa450edef68
2021-10-01 13:28:10 +00:00
Marius Volkhart 5730841488 Map JDK 17 to the name used by Apache Jenkins
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893772 13f79535-47bb-0310-9956-ffa450edef68
2021-10-01 10:45:15 +00:00
PJ Fanning ac63a736f3 jdk 1.17
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893569 13f79535-47bb-0310-9956-ffa450edef68
2021-09-23 17:03:27 +00:00
Andreas Beeker ed21c8071f clean-up old build results before sonarqube build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893344 13f79535-47bb-0310-9956-ffa450edef68
2021-09-14 21:33:56 +00:00
Andreas Beeker 869944fc68 comment out obsolete builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893290 13f79535-47bb-0310-9956-ffa450edef68
2021-09-12 21:15:25 +00:00
Andreas Beeker 596db31170 XmlSec/BouncyCastle and Batik are now optional
disable SonarQube build based on ant
remove sonar and maven directory, because POMs are now created via Gradle
remove maven section from seed-build

fix duplicated maven dependencies on POM export

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893289 13f79535-47bb-0310-9956-ffa450edef68
2021-09-12 20:31:43 +00:00
Andreas Beeker 5c6493a5fc try to fix no-scratchpad build
remove or set-to-static scratchpad dependency from modules

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892795 13f79535-47bb-0310-9956-ffa450edef68
2021-09-01 22:32:48 +00:00
Andreas Beeker e8be7eb081 use gradle for IBM-JDK build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892705 13f79535-47bb-0310-9956-ffa450edef68
2021-08-29 19:11:57 +00:00
Andreas Beeker 08d6e1019a try to fix spotbugs publisher entry
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892608 13f79535-47bb-0310-9956-ffa450edef68
2021-08-25 23:13:27 +00:00
Andreas Beeker c6e44a1400 add spotbugs to gradle build
update dist path for jenkins archives

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892607 13f79535-47bb-0310-9956-ffa450edef68
2021-08-25 23:07:06 +00:00
Andreas Beeker 41f2ab056f use gradle for windows builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892481 13f79535-47bb-0310-9956-ffa450edef68
2021-08-20 20:53:13 +00:00
Andreas Beeker 15688289fe use gradle for windows builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892480 13f79535-47bb-0310-9956-ffa450edef68
2021-08-20 20:35:13 +00:00
Andreas Beeker 9f48ce8ba6 also invoke Java 11 build on gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892391 13f79535-47bb-0310-9956-ffa450edef68
2021-08-16 23:09:54 +00:00
Andreas Beeker 83488d2320 try to get openjdk working again ... also with gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892389 13f79535-47bb-0310-9956-ffa450edef68
2021-08-16 22:17:05 +00:00
Andreas Beeker 85fb57626e use "gradle clean jenkins" instead of only "gradle jenkins" otherwise the build/dist dir is filling up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892148 13f79535-47bb-0310-9956-ffa450edef68
2021-08-10 00:20:25 +00:00
Andreas Beeker 1de0a56321 disable "ant init" in gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892145 13f79535-47bb-0310-9956-ffa450edef68
2021-08-09 23:30:04 +00:00
Andreas Beeker 0b89ad3f77 use gradle as default build tool
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892143 13f79535-47bb-0310-9956-ffa450edef68
2021-08-09 22:34:23 +00:00
Dominik Stadler 2d16d671d6 Jenkins DSL: Also revert module-info.java files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890140 13f79535-47bb-0310-9956-ffa450edef68
2021-05-23 19:15:29 +00:00
Dominik Stadler 299fe38719 Jenkins DSL: Add Windows-1.15 and Windows-1.16 and disabled Windows-1.14
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890139 13f79535-47bb-0310-9956-ffa450edef68
2021-05-23 19:15:26 +00:00
Dominik Stadler a6c3e6a4fd Jenkins DSL: Make sure to revert module-info.class files
Otherwise CI-builds fail when they were modified by a previous build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889910 13f79535-47bb-0310-9956-ffa450edef68
2021-05-15 07:20:46 +00:00
Dominik Stadler 2842abf977 Jenkins DSL: Disable general Maven job as well and add trigger for Gradle-SonarQube-Job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889892 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 11:38:27 +00:00
Dominik Stadler a4b22fa4d3 Jenkins DSL: Remove some outdated directories/files
Otherwise we run into strange CI failures if some duplicated classes
are found in some of the steps

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889201 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:15 +00:00
Dominik Stadler e52be55f45 Jeknins DSL: Disable Maven based Sonar-run to see if the Gradle-based one works fine now
We can get rid of the Maven-based build if the Gradle-based job works fine now!

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889200 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:12 +00:00
Dominik Stadler 30d8d17735 Adjust for the new source-directories in some more places
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888536 13f79535-47bb-0310-9956-ffa450edef68
2021-04-08 20:10:53 +00:00