Commit Graph

212 Commits

Author SHA1 Message Date
PJ Fanning 423c02304d spotbugs upgrade
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895053 13f79535-47bb-0310-9956-ffa450edef68
2021-11-15 12:56:22 +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
PJ Fanning 087236a412 snapshot version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894666 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 08:47:22 +00:00
PJ Fanning 7e17a57848 prep 5.10 (RC2)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894541 13f79535-47bb-0310-9956-ffa450edef68
2021-10-24 23:10:05 +00:00
Dominik Stadler 60dd0e5464 Adjust version-pattern used in task 'replaceVersion'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894481 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 14:32:03 +00:00
PJ Fanning 63e7f91d1b upgrade spotbugs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894437 13f79535-47bb-0310-9956-ffa450edef68
2021-10-21 09:15:37 +00:00
PJ Fanning f09e50305e ant 1.10.12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894425 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 22:48:54 +00:00
PJ Fanning 4b97b12712 xmlbeans 5.0.2 (temporarily from a pre-release location)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894211 13f79535-47bb-0310-9956-ffa450edef68
2021-10-13 21:27:32 +00:00
PJ Fanning b8ae188593 junit 5.8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894043 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 21:13:53 +00:00
PJ Fanning 1e4c425e66 mockito 4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894015 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 07:53:00 +00:00
Andreas Beeker 9f7085a281 #65612 - XSLF CustomGeometry - replace XmlStreamReader access with XmlBeans delegate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893859 13f79535-47bb-0310-9956-ffa450edef68
2021-10-03 21:05:19 +00:00
Marius Volkhart c68eabd258 Upgrade to JaCoCo 0.8.7
This version has "experimental" support for Java 17. See https://github.com/jacoco/jacoco/issues/1148

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893782 13f79535-47bb-0310-9956-ffa450edef68
2021-10-01 12:35:51 +00:00
PJ Fanning 8dc976cf31 downgrade junit version - due to build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893579 13f79535-47bb-0310-9956-ffa450edef68
2021-09-23 19:49:13 +00:00
PJ Fanning 954bb70cc1 slf4j version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893578 13f79535-47bb-0310-9956-ffa450edef68
2021-09-23 19:39:09 +00:00
PJ Fanning 595372f5a5 upgrade some build dependencies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893577 13f79535-47bb-0310-9956-ffa450edef68
2021-09-23 19:08:46 +00:00
PJ Fanning 4fbadb0cfd tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893576 13f79535-47bb-0310-9956-ffa450edef68
2021-09-23 19:03:06 +00:00
Andreas Beeker 914614f7a8 #65573 - POI bin tgz on CI build is missing poi-ooxml-lite jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893381 13f79535-47bb-0310-9956-ffa450edef68
2021-09-16 17:47:54 +00:00
Andreas Beeker 221b496f04 ignore all svn conflicts of module-info.class/java in rat-check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893346 13f79535-47bb-0310-9956-ffa450edef68
2021-09-15 00:23:39 +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
PJ Fanning f425f307dc gradle 7.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892929 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 10:52:47 +00:00
Andreas Beeker fc932c8ae4 update to 5.1.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892889 13f79535-47bb-0310-9956-ffa450edef68
2021-09-03 21:43:17 +00:00
Andreas Beeker f63f3ff09d update to release 5.1.0
fix ooxml-lite build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892887 13f79535-47bb-0310-9956-ffa450edef68
2021-09-03 21:13:36 +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 f71cebcce5 sonar fixes
close resources in tests
fix gradle warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892683 13f79535-47bb-0310-9956-ffa450edef68
2021-08-28 23:48:48 +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 8283430c8c rat check - ignore svn conflict artifacts for module-info.class files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892553 13f79535-47bb-0310-9956-ffa450edef68
2021-08-23 20:48:30 +00:00
Andreas Beeker 20bb767469 Increase general max heap size to cover also integration tests demands
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892551 13f79535-47bb-0310-9956-ffa450edef68
2021-08-23 19:50:51 +00:00
Andreas Beeker d9238f2490 try to fix concurrent issues in excelant
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892478 13f79535-47bb-0310-9956-ffa450edef68
2021-08-20 17:07:36 +00:00
Andreas Beeker 8f24aaab2b fix Windows gradle build - task allJavaDoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892390 13f79535-47bb-0310-9956-ffa450edef68
2021-08-16 22:49:01 +00:00
Andreas Beeker 80b73d65b1 compile module info only in Java 9+ builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892248 13f79535-47bb-0310-9956-ffa450edef68
2021-08-11 21:23:13 +00:00
Andreas Beeker 700334b0f1 move dist files from gradles default dist directory to pois dist dir
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892142 13f79535-47bb-0310-9956-ffa450edef68
2021-08-09 22:32:33 +00:00
Andreas Beeker a18e04b369 provide dist files via gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891666 13f79535-47bb-0310-9956-ffa450edef68
2021-07-19 21:59:38 +00:00
PJ Fanning 567b574742 compress-compress 1.21
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891550 13f79535-47bb-0310-9956-ffa450edef68
2021-07-14 18:57:24 +00:00
PJ Fanning c8a8b1e252 commons-io 2.11.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891521 13f79535-47bb-0310-9956-ffa450edef68
2021-07-14 07:15:15 +00:00
PJ Fanning 4c6a87158b use xmlbeans 5.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891472 13f79535-47bb-0310-9956-ffa450edef68
2021-07-12 08:11:30 +00:00
Dominik Stadler 6fabb98ea8 Remove invalid "include" for tests which in fact disables almost all tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891348 13f79535-47bb-0310-9956-ffa450edef68
2021-07-07 10:04:26 +00:00
Dominik Stadler a815e51d0f Adjust includes/excludes for license check via Apache Rat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891346 13f79535-47bb-0310-9956-ffa450edef68
2021-07-07 10:04:18 +00:00
Andreas Beeker d11e5ce48f try to fix new custom Junit Annotation module dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891337 13f79535-47bb-0310-9956-ffa450edef68
2021-07-07 06:26:31 +00:00
PJ Fanning 6c1bd28168 add explicit commons-io dependency to poi-ooxml. This closes #237
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891320 13f79535-47bb-0310-9956-ffa450edef68
2021-07-06 16:47:59 +00:00
PJ Fanning 17ff1ae0db upgrade bouncycastle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891116 13f79535-47bb-0310-9956-ffa450edef68
2021-06-28 19:52:52 +00:00
PJ Fanning 132dbf936d downgrade bouncycastle due to missing package org.bouncycastle.asn1.cmp
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891114 13f79535-47bb-0310-9956-ffa450edef68
2021-06-28 19:32:26 +00:00
PJ Fanning 7722c7be5e upgrade bouncycastle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891108 13f79535-47bb-0310-9956-ffa450edef68
2021-06-28 16:41:05 +00:00
PJ Fanning b7aa11852e gradle 7.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890784 13f79535-47bb-0310-9956-ffa450edef68
2021-06-14 21:35:28 +00:00
PJ Fanning 83624dd7f0 commons-io 2.10.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890768 13f79535-47bb-0310-9956-ffa450edef68
2021-06-14 10:46:37 +00:00
Andreas Beeker f21019db12 add forbidden-apis plugin to gradle builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890090 13f79535-47bb-0310-9956-ffa450edef68
2021-05-21 22:32:09 +00:00
Andreas Beeker 7eaca60a1a activate javadoc lint and fix errors
add signing and checksum generation
add slf4j-bridge for tests
add dependencies to ooxml-lite
fix complex enum classes
add override annotations
move gradle logic to root build
generate javadoc in its own dist directory, because JPMS complains about duplicate modules otherwise

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890089 13f79535-47bb-0310-9956-ffa450edef68
2021-05-21 21:22:40 +00:00
Andreas Beeker 0614835c55 #65304 - Add commons-io as a dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889871 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 00:37:50 +00:00
Dominik Stadler 41ff8bb20c Start moving some bits to the main Gradle file
Use a common definition of some constants
Gradle plugins are in the main file already anyway

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889839 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:35 +00:00
PJ Fanning 33bfe37c0b gradle 7
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889815 13f79535-47bb-0310-9956-ffa450edef68
2021-05-12 23:39:41 +00:00
Dominik Stadler 285fd61fb8 Update to SonarQube plugin 3.1.1 and try to set version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889206 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:35 +00:00