Commit Graph

236 Commits

Author SHA1 Message Date
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
Andreas Beeker b9521e877c fix paths to new gradle directories
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888529 13f79535-47bb-0310-9956-ffa450edef68
2021-04-08 17:54:42 +00:00
Dominik Stadler 6458acb931 Adjust path for archiving JUnit files to capture both locations that are in use
Somehow JUnit stores test-results either under test-result or under test-result/test,
so let's look at both directories for now

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888458 13f79535-47bb-0310-9956-ffa450edef68
2021-04-07 05:33:18 +00:00
Dominik Stadler fc96f1e4af Jenkins DSL: Add a workaround to run "ant init" before building with Gradle
Otherwise the Ant-helpers are not compiled properly currently

We should remove this as soon as Gradle build is working standalone

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888450 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 20:42:32 +00:00
Dominik Stadler 572c1d9285 Enable Gradle Wrapper to avoid running with an unsupported local version
This may cause the strange "PrecompiledProjectScript" failures that we see currently

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888449 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 20:23:44 +00:00
Dominik Stadler 6dd39585d5 Remove support for japicmp from Gradle build
I now spent a few hours trying to make it work and the Gradle support is
simply not production-ready and also not maintained, it triggers various
strange errors and does not supporting the usual Gradle conventions.

So I do not want to spend more time on it, feel free to revive it if you know how
to make this work properly.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888138 13f79535-47bb-0310-9956-ffa450edef68
2021-03-28 19:54:54 +00:00
Andreas Beeker d2958cca7f 65206 - Migrate ant / maven to gradle build
fix distsourcebuild

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888121 13f79535-47bb-0310-9956-ffa450edef68
2021-03-28 01:12:58 +00:00
Andreas Beeker 153d28593d 65206 - Migrate ant / maven to gradle build
try to fix Java 16 build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888119 13f79535-47bb-0310-9956-ffa450edef68
2021-03-27 23:16:45 +00:00