127 Commits

Author SHA1 Message Date
Marius Volkhart
089aa72647 Use Log4j 2 for logging
This removes the POILogger and POILogFactory mechanism for logging. This mechanism was created at a time when the Java landscape looked very different than it does today.

Log4j 2 is an Apache Foundation project that is well maintained and is widely regarded as having good performance and capabilities. We use only the Log4j API artifact. This lets application developers choose how they want to capture logging events if at all. Integrations with Log4j 2 Core and Logback are available from the Log4j project.

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/log4j@1886103 13f79535-47bb-0310-9956-ffa450edef68
2021-02-01 14:59:43 +00:00
PJ Fanning
c67b26c138 gradle 6.8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885668 13f79535-47bb-0310-9956-ffa450edef68
2021-01-18 17:58:03 +00:00
Andreas Beeker
fd29c485ef Bump versions to 5.0.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885616 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 18:24:31 +00:00
Dominik Stadler
43e1d6eba6 Try to make Gradle build work
Add a dependency that is reported as missing locally with JDK 11
Combine common test-dependencies
Avoid running base-class BaseTestMissingWorkbook, only the derived class is actually a unit-test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885074 13f79535-47bb-0310-9956-ffa450edef68
2021-01-03 18:19:55 +00:00
Dominik Stadler
a0b0e3a4a7 Enable XML result files for Gradle build to make them available for Jenkins CI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885071 13f79535-47bb-0310-9956-ffa450edef68
2021-01-03 17:02:24 +00:00
Andreas Beeker
be1afe5ff5 try to fix gradle sonarqube job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884804 13f79535-47bb-0310-9956-ffa450edef68
2020-12-25 19:58:32 +00:00
Andreas Beeker
793e8b6f6a try to fix gradle sonarqube job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884803 13f79535-47bb-0310-9956-ffa450edef68
2020-12-25 19:19:32 +00:00
Andreas Beeker
a2d728cbe6 upgrade pdfbox and pdfbox-graphics2d
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884786 13f79535-47bb-0310-9956-ffa450edef68
2020-12-25 01:59:24 +00:00
PJ Fanning
e1b0bc6e1d [github-207] add SLF4JLogger
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884568 13f79535-47bb-0310-9956-ffa450edef68
2020-12-17 19:59:01 +00:00
Andreas Beeker
55f29ac344 replace single with double quotes to enable variable substitution
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884388 13f79535-47bb-0310-9956-ffa450edef68
2020-12-13 18:46:14 +00:00
Andreas Beeker
c8940e7d1e #64979 - Change artifact names of poi-/ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884381 13f79535-47bb-0310-9956-ffa450edef68
2020-12-13 15:32:43 +00:00
Andreas Beeker
20c883b201 upgrade to pdfbox-graphics2d 0.29
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883907 13f79535-47bb-0310-9956-ffa450edef68
2020-11-28 18:00:00 +00:00
Andreas Beeker
ff0d031f10 update dependencies - make optional dependencies mandatory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883325 13f79535-47bb-0310-9956-ffa450edef68
2020-11-11 21:53:05 +00:00
Andreas Beeker
134b4ba762 #64867 - Provide PDF rendering with PPTX2PNG
remove pdfbox-graphics2d workaround and update its version

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883236 13f79535-47bb-0310-9956-ffa450edef68
2020-11-09 20:11:11 +00:00
Andreas Beeker
150fb90cc2 #64867 - Provide PDF rendering with PPTX2PNG
add dependencies to gradle and maven builds

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883075 13f79535-47bb-0310-9956-ffa450edef68
2020-11-03 00:22:10 +00:00
Dominik Stadler
1bd3ddaa75 Add comments for Sonar properties in the Gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883036 13f79535-47bb-0310-9956-ffa450edef68
2020-11-01 09:21:29 +00:00
Dominik Stadler
a080d2b098 Adjust the location of the resulting JaCoCo XML report files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882851 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 19:30:28 +00:00
Dominik Stadler
8374537d5a Gradle: Try to define project result output directories for the sonarqube plugin
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882846 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 17:40:48 +00:00
Dominik Stadler
781fa38157 Enable XML reporting for JaCoCo for the Sonar Gradle plugin
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882843 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 16:07:44 +00:00
Dominik Stadler
02355346db Use sonar-plugin 3.0 for Gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882841 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 16:07:12 +00:00
PJ Fanning
a2dcb10f67 update commons-codec
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882771 13f79535-47bb-0310-9956-ffa450edef68
2020-10-22 22:51:31 +00:00
PJ Fanning
ccad1fc86e xmlbeans jar location
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882705 13f79535-47bb-0310-9956-ffa450edef68
2020-10-20 16:04:23 +00:00
PJ Fanning
a3194a9b5b use xmlbeans official 4.0.0 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882586 13f79535-47bb-0310-9956-ffa450edef68
2020-10-16 16:57:11 +00:00
Dominik Stadler
1e5b193391 More changes to make the Gradle build work again
We have to compile the custom Ant-tasks before invoking Ant from Gradle

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882037 13f79535-47bb-0310-9956-ffa450edef68
2020-09-26 05:22:17 +00:00
Dominik Stadler
389eab2fbd Try to fix the Gradle build
Third party lib updates
Also use the temporary XMLBeans 4.0.0 jar
Add missing dependencies

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882036 13f79535-47bb-0310-9956-ffa450edef68
2020-09-26 05:22:14 +00:00
Dominik Stadler
7b83320f9e Update third party libraries in pom.xml and build.gradle, update JaCoCo to 0.8.6
Maven build should work onw, but Gradle is still broken by the poi-ant-contrib library
Also remove outdated third party libraries

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882026 13f79535-47bb-0310-9956-ffa450edef68
2020-09-25 19:39:49 +00:00
PJ Fanning
f488a2f270 remove accidental commit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881583 13f79535-47bb-0310-9956-ffa450edef68
2020-09-09 07:05:56 +00:00
PJ Fanning
6c7bf59087 [bug-64721] NullPointerException occurs when calling getDataSize() of an object created with ExtRst.copy(). Thanks to Kwon Ohyoung
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881582 13f79535-47bb-0310-9956-ffa450edef68
2020-09-09 07:05:09 +00:00
PJ Fanning
8637eb7cb2 remove accidental commit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879552 13f79535-47bb-0310-9956-ffa450edef68
2020-07-06 13:37:43 +00:00
PJ Fanning
77ddd87605 SXSSFSheet: beware of null _writer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879551 13f79535-47bb-0310-9956-ffa450edef68
2020-07-06 13:37:10 +00:00
PJ Fanning
f235d3357c upgrade and mockito
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878542 13f79535-47bb-0310-9956-ffa450edef68
2020-06-06 10:02:21 +00:00
PJ Fanning
682a17bf57 [github-183] Fix gradle build. Thanks to Eugene Kortov. This close #183
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878202 13f79535-47bb-0310-9956-ffa450edef68
2020-05-27 20:27:38 +00:00
PJ Fanning
00185c2857 next version will be 5.0.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877872 13f79535-47bb-0310-9956-ffa450edef68
2020-05-17 17:29:37 +00:00
PJ Fanning
84ba670e27 bouncycastle 1.64
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876280 13f79535-47bb-0310-9956-ffa450edef68
2020-04-08 08:29:15 +00:00
Dominik Stadler
af890fba13 Ignore OOM test for now, somehow catching Exceptions does not work when run on Gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876143 13f79535-47bb-0310-9956-ffa450edef68
2020-04-05 05:52:12 +00:00
Andreas Beeker
88f9cf3ddb #63712 - upgrading xmlsec causes junit tests to fail
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875392 13f79535-47bb-0310-9956-ffa450edef68
2020-03-18 21:06:09 +00:00
Andreas Beeker
221f840adb Update Batik dependency to 1.12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874149 13f79535-47bb-0310-9956-ffa450edef68
2020-02-17 22:28:08 +00:00
PJ Fanning
dacc3004e2 fix classpaths for japicmp
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874049 13f79535-47bb-0310-9956-ffa450edef68
2020-02-15 08:07:01 +00:00
PJ Fanning
0f522cec66 bouncycastle 1.64
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874039 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 23:18:44 +00:00
PJ Fanning
e287107607 commons-codec 1.14
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874038 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 23:06:06 +00:00
PJ Fanning
71ec0721c8 commons-compress 1.20
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874036 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 23:00:49 +00:00
PJ Fanning
33fdbda1b4 try to gradle tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874022 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 14:04:17 +00:00
PJ Fanning
03b7935147 try to gradle tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874020 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 13:31:55 +00:00
PJ Fanning
b7d0f9fafe update junit to 4.13 and mockito to 3.2.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874019 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 13:19:10 +00:00
PJ Fanning
d2f1e7ee6f gradle 6.1.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874018 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 13:11:28 +00:00
Andreas Beeker
e9c5c2b90e update references to 4.1.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873995 13f79535-47bb-0310-9956-ffa450edef68
2020-02-13 23:26:54 +00:00
Tim Allison
e875bd8143 BUG 64015 -- swap out java.util.BitSet for zaxxer's SparseBitSet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872445 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 15:45:07 +00:00
Andreas Beeker
2a4ae3a145 Update Jacoco version and activate it again in the Sonar run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870671 13f79535-47bb-0310-9956-ffa450edef68
2019-12-01 11:42:09 +00:00
PJ Fanning
ede9369bbc gradle 6.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870270 13f79535-47bb-0310-9956-ffa450edef68
2019-11-24 08:50:49 +00:00
Dominik Stadler
e75284c823 Keep using older version of japicmp plugin for now as newer versions fail with strange error messages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869935 13f79535-47bb-0310-9956-ffa450edef68
2019-11-17 11:26:30 +00:00