Commit Graph

95 Commits

Author SHA1 Message Date
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
PJ Fanning 21aafe2dbb upgrade guava
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898512 13f79535-47bb-0310-9956-ffa450edef68
2022-03-01 21:43:08 +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 b6983af7a5 slf4j 1.7.36
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897875 13f79535-47bb-0310-9956-ffa450edef68
2022-02-08 14:48:30 +00:00
PJ Fanning 9fce5fb9fc slf4j 1.7.35
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897451 13f79535-47bb-0310-9956-ffa450edef68
2022-01-25 11:28:56 +00:00
PJ Fanning 1980124358 slf4j 1.7.34
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897444 13f79535-47bb-0310-9956-ffa450edef68
2022-01-25 10:24:57 +00:00
PJ Fanning e71e602762 revert test module changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897355 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 21:34:35 +00:00
PJ Fanning 1ee199b1ea try to fix build for Java 9+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897344 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 14:35:20 +00:00
PJ Fanning e0b84ef6ef slf4j 1.7.33
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897337 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 13:28:00 +00:00
Dominik Stadler bba249d522 Don't add main classes to *-test.jar files
Better to only provide them once to avoid very strange
errors if they differ for some reason

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897330 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 08:57:38 +00:00
Dominik Stadler 53599d84a7 Add test-dependency on slf4j-simple to include all logs in captured test-output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897317 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:34 +00:00
PJ Fanning 66e16a8957 [bug-65792] change way multiply and divide are calculated due to rounding issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897066 13f79535-47bb-0310-9956-ffa450edef68
2022-01-15 00:35:18 +00:00
PJ Fanning a83fe7d91f fix excel-ant tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896548 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:40:34 +00:00
PJ Fanning c8fc960d2d use isEmpty()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896547 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:35:45 +00:00
PJ Fanning 9345c84194 excelant evaluator if seems useless
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896546 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:18:26 +00:00
PJ Fanning 5022f30c4b tidy up gradle scripts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895321 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 10:31:50 +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
PJ Fanning 8365ee1611 [github-278] Resolve all SpotBugs P1 issues in Main and Test. Thanks to Andreas Reichel. This closes #278
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895016 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 10:18:40 +00:00
PJ Fanning 90b8a0c36d try to add LICENSE and NOTICE to sources jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894565 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 22:50:03 +00:00
PJ Fanning e66486bc8a try to add LICENSE and NOTICE to javadoc jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894564 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 22:29:10 +00:00
PJ Fanning 977a870899 configurable max record len
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894526 13f79535-47bb-0310-9956-ffa450edef68
2021-10-24 09:37:50 +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 3c3154ea8c sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894365 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 22:35:17 +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
Andreas Beeker 79a476bcaa try to fix Java 11 build error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894050 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 23:15:49 +00:00
PJ Fanning 91f423e33c build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894048 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 22:37:52 +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 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 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 89d37d2936 still hacking the build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892945 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 15:34:23 +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 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
PJ Fanning 21dc03f9a7 use xmlbeans 5.0.0 in ant build due to build issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891475 13f79535-47bb-0310-9956-ffa450edef68
2021-07-12 09:02:00 +00:00
Andreas Beeker dd50cb1c67 try to fix the truncated junit xml log files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891370 13f79535-47bb-0310-9956-ffa450edef68
2021-07-07 22:16:12 +00:00
PJ Fanning a019fbf46b convert tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890128 13f79535-47bb-0310-9956-ffa450edef68
2021-05-23 01:17:07 +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
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 bb5d321b79 fix javadocs - remove @author tags (http://apache-poi.1045710.n5.nabble.com/Javadocs-clean-up-remove-author-tags-tp5737663.html)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888780 13f79535-47bb-0310-9956-ffa450edef68
2021-04-14 22:53:33 +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