Commit Graph

46 Commits

Author SHA1 Message Date
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
Andreas Beeker f2f4ea44b6 #65668 - upgrade to xmlsec 2.3.0 - make secure validation configurable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894701 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 00:00:21 +00:00
Dominik Stadler bf22ea449e Switch to Gradle build for recomplication-test in poi-integration
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894677 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:18:07 +00:00
Dominik Stadler c7e4307ac4 Make file-handlers for integration-test public to be able to use them in poi-mass-testing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894478 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 14:31:52 +00:00
Dominik Stadler 684f35d3cb Give better names to parameterized tests
Otherwise they cannot be distinguished in the JUnit HTML report

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894449 13f79535-47bb-0310-9956-ffa450edef68
2021-10-21 14:17:25 +00:00
PJ Fanning 9fe3944e8e get proper xmlbeans 5.0.2 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894428 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 23:54:34 +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
Andreas Beeker 611f5273fd sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894360 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 17:40:47 +00:00
PJ Fanning 5dbd081179 setDisallowDocTypeDeclaration
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894222 13f79535-47bb-0310-9956-ffa450edef68
2021-10-14 09:04:53 +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 01697724ec build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894047 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 22:02:11 +00:00
PJ Fanning fd548a7a33 deprecation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893935 13f79535-47bb-0310-9956-ffa450edef68
2021-10-06 14:16:51 +00:00
PJ Fanning f44c15575d build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893729 13f79535-47bb-0310-9956-ffa450edef68
2021-09-29 17:35:05 +00:00
PJ Fanning bd1ea63abe [github-254] Implement XSSFWorkbook linkExternalWorkbook. Thanks to @aspojo. This closes #254
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893728 13f79535-47bb-0310-9956-ffa450edef68
2021-09-29 16:16:32 +00:00
PJ Fanning c202e5d38b upgrade guava
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893709 13f79535-47bb-0310-9956-ffa450edef68
2021-09-28 14:41:05 +00:00
PJ Fanning 8334fb6cbd use https
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893673 13f79535-47bb-0310-9956-ffa450edef68
2021-09-27 11:34:18 +00:00
PJ Fanning 16d6fbe144 logging in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893605 13f79535-47bb-0310-9956-ffa450edef68
2021-09-24 16:44:37 +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
PJ Fanning 44e9f4ec24 try to get all ooxml-lite classes loaded for xslf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893361 13f79535-47bb-0310-9956-ffa450edef68
2021-09-15 14:21:53 +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
Dominik Stadler 3e7672d856 Adjust imports and apply some IDE suggestions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893211 13f79535-47bb-0310-9956-ffa450edef68
2021-09-10 06:15:13 +00:00
PJ Fanning 76b270ca64 try not to have poi-integration in pom
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892931 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 11:39:41 +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 1eace7a0c4 update module-info.classes for next release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892829 13f79535-47bb-0310-9956-ffa450edef68
2021-09-02 20:47:20 +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 519c6ef77f exclude HeapDump class for ibm build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892707 13f79535-47bb-0310-9956-ffa450edef68
2021-08-29 20:14:19 +00:00
Andreas Beeker 1ef368ab02 exclude HeapDump class for ibm build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892706 13f79535-47bb-0310-9956-ffa450edef68
2021-08-29 19:44:37 +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 bb202a7b37 try to fix path issues in Windows build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892479 13f79535-47bb-0310-9956-ffa450edef68
2021-08-20 19:46:26 +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
PJ Fanning c0c39ed779 exclude file from integration test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891686 13f79535-47bb-0310-9956-ffa450edef68
2021-07-20 13:19:30 +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 3c4643af9e try to fix integration tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891579 13f79535-47bb-0310-9956-ffa450edef68
2021-07-16 08:28:44 +00:00
PJ Fanning 18e10a1cdd try to fix failing tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891565 13f79535-47bb-0310-9956-ffa450edef68
2021-07-15 08:06:45 +00:00
PJ Fanning 1ba4966c6e try to fix failing tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891556 13f79535-47bb-0310-9956-ffa450edef68
2021-07-14 23:20:45 +00:00
PJ Fanning 480d13b118 try to fix failing tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891555 13f79535-47bb-0310-9956-ffa450edef68
2021-07-14 22:46:39 +00:00
PJ Fanning c104890f33 add extra debug logging to failing tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891554 13f79535-47bb-0310-9956-ffa450edef68
2021-07-14 21:53:22 +00:00
PJ Fanning 0eb475ee3a convert tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890125 13f79535-47bb-0310-9956-ffa450edef68
2021-05-22 22:08:50 +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 f71833e1d9 Do not return null for POITextExtractor.getMetadataTextExtractor() for old Excel files
To adhere to the JavaDoc of the POITextExtractor interface which does not document a
possible null return.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889205 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:32 +00:00
Andreas Beeker 48d3c68270 TIKA-3164 - add more .xsb and classes needed for TIKAs extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888985 13f79535-47bb-0310-9956-ffa450edef68
2021-04-19 22:48:09 +00:00
Dominik Stadler 930e576659 Gradle: Synchronize the code in the different build-scripts across the projects
No actual change in behavior expected
Mostly moved parts to make it easier to compare the build files with each other

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888791 13f79535-47bb-0310-9956-ffa450edef68
2021-04-15 14:25:38 +00:00
Andreas Beeker 861ff65508 fix paths for integration build, docs, add site task to main build.gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888580 13f79535-47bb-0310-9956-ffa450edef68
2021-04-10 11:44:30 +00:00
PJ Fanning ab0e7481aa try to fix build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888577 13f79535-47bb-0310-9956-ffa450edef68
2021-04-10 10:01:50 +00:00
Andreas Beeker b6aee1ef6d 65206 - Migrate ant / maven to gradle build
compile / jar / test of mrJars
don't include ants build.xml anymore
rename directories to match project and maven artifact names
refactor artifacts - so each project has one artifact
replace static references in hssf/dev tests with junit5 constructs, which had problems in parallel tests
increase gradle heap to 4gb because of OOM - maybe less would also work

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888488 13f79535-47bb-0310-9956-ffa450edef68
2021-04-07 21:40:33 +00:00