Commit Graph

790 Commits

Author SHA1 Message Date
Dominik Stadler da4bc855e8 Switch the Ant-build to separate folders under "build/classes"
This avoids colliding in strange ways with the default Gradle location "build/classes/main/java"

This caused very strange error messages about invalid package names when compiling with Gradle and Ant in one source checkout

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888422 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 06:11:16 +00:00
Dominik Stadler 06707dca89 Update JUnit to 5.7.1 and junit-platform to 1.7.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888416 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 06:10:33 +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 37791e4bdf 65206 - Migrate ant / maven to gradle build
update gradle files and project structure along https://github.com/centic9/poi/tree/gradle_build
remove eclipse IDE project files
remove obsolete record generator files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888111 13f79535-47bb-0310-9956-ffa450edef68
2021-03-27 14:03:16 +00:00
PJ Fanning 226ae72458 [github-233] Updated de.rototor.pdfbox:graphics2d to 0.31. Thanks to Tobias Stadler. This closes #233
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888058 13f79535-47bb-0310-9956-ffa450edef68
2021-03-25 09:21:04 +00:00
PJ Fanning aaf0e2f7f9 xmlbeans 5.0.0 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887648 13f79535-47bb-0310-9956-ffa450edef68
2021-03-14 19:47:22 +00:00
Marius Volkhart deb410b568 Exclude batik-script dependency from OOXML artifact
We do not make use of the batik-script dependency. While this is likely to be true of a variety of the Batik dependencies, batik-script causes problems for our users who are using JPMS. See [bug-65103].

Fixes #230

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887643 13f79535-47bb-0310-9956-ffa450edef68
2021-03-14 18:56:30 +00:00
Andreas Beeker 943b18f8d1 remove old batik jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887344 13f79535-47bb-0310-9956-ffa450edef68
2021-03-08 22:29:26 +00:00
Andreas Beeker e4e7f3842a Use XmlBeans 5 nightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887309 13f79535-47bb-0310-9956-ffa450edef68
2021-03-08 00:35:10 +00:00
PJ Fanning b02866c2a7 change gradle build to get unreleased xmlbeans jar from ci-builds (like ant build does)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887010 13f79535-47bb-0310-9956-ffa450edef68
2021-02-28 19:28:39 +00:00
Andreas Beeker 72ad5857f4 include batik in poi-bin artifact
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886863 13f79535-47bb-0310-9956-ffa450edef68
2021-02-23 22:29:51 +00:00
Andreas Beeker 6470765bbe add batik to forbidden-apis-check classpath
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886862 13f79535-47bb-0310-9956-ffa450edef68
2021-02-23 21:59:56 +00:00
Marius Volkhart 3c9f29a8c2 [bug-63046] Fix Java 16 build
org.apache.santuario:xmlsec:2.2.0 has a dependency on SLF4J. We use this in SignatureInfo.java.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886811 13f79535-47bb-0310-9956-ffa450edef68
2021-02-22 18:27:14 +00:00
Andreas Beeker eb30f2e1c8 Use upcoming XmlBeans 5.0.0 (working version 4.0.1)
Make batik optional as it doesn't work on the module-path
Use sub-components of batik as batik-all references them all again resulting in duplicated entries (maven poms haven't been migrated yet ...)
Remove SLF4j dependency

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886777 13f79535-47bb-0310-9956-ffa450edef68
2021-02-22 00:18:37 +00:00
Marius Volkhart 259c9967ef [bug-63046] 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.

Closes #224

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886770 13f79535-47bb-0310-9956-ffa450edef68
2021-02-21 20:57:25 +00:00
PJ Fanning 79a9cf3692 batik 1.14
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886491 13f79535-47bb-0310-9956-ffa450edef68
2021-02-13 14:49:40 +00:00
Andreas Beeker 904c77e242 Junit5 - fix logging to console
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885858 13f79535-47bb-0310-9956-ffa450edef68
2021-01-23 23:04:31 +00:00
Andreas Beeker 4a632f9389 limit junit concurrent threads to 3 (fixed amount)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885701 13f79535-47bb-0310-9956-ffa450edef68
2021-01-19 21:35:40 +00:00
Andreas Beeker f5f5fc462c Update docs to 5.0.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885620 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 20:32:16 +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
Andreas Beeker 8a388f61e8 include externals on release build checkout
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885539 13f79535-47bb-0310-9956-ffa450edef68
2021-01-16 00:19:04 +00:00
Andreas Beeker 309e657b0d #65046 - Simplify integration tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885538 13f79535-47bb-0310-9956-ffa450edef68
2021-01-15 23:50:42 +00:00
Andreas Beeker 4fec14dbc6 prepare for 5.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885419 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 22:40:59 +00:00
Andreas Beeker ff2ae68ffc add lz4-java for svn/release operations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885417 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 22:39:07 +00:00
Andreas Beeker 750f17ad5a release prepare for 5.0.0 - updating build.xml and changes.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885416 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 22:33:18 +00:00
Andreas Beeker cc7cd1caf3 ignore inner classes in junitlauncher run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885334 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 13:34:04 +00:00
Andreas Beeker f7c50cfbe3 add failing regression test files
fix ooxml-lite packaging
fix PP97 dual storage file handling in extractor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884962 13f79535-47bb-0310-9956-ffa450edef68
2020-12-30 22:56:36 +00:00
Dominik Stadler 1303f44abf Add missing jar-file for JavaDoc generation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884919 13f79535-47bb-0310-9956-ffa450edef68
2020-12-29 19:29:29 +00:00
Andreas Beeker b7463df98c bump versions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884878 13f79535-47bb-0310-9956-ffa450edef68
2020-12-28 14:49:29 +00:00
Andreas Beeker 0ab727bbde github-207 - replace commons logging with slf4j - use jcl-over-slf4j
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884873 13f79535-47bb-0310-9956-ffa450edef68
2020-12-28 14:03:36 +00:00
Andreas Beeker 07ba96f023 gather necessary .xsb for ooxml-lite jar via intercepting the calls to SchemaTypeSystemImpl.XsbReader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884850 13f79535-47bb-0310-9956-ffa450edef68
2020-12-28 00:47:23 +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
Andreas Beeker 6b6e96e07d try to fix distsourcebuild error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884785 13f79535-47bb-0310-9956-ffa450edef68
2020-12-25 01:42:10 +00:00
Andreas Beeker a0fa9e19b1 #65026 - Migrate tests to Junit 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884783 13f79535-47bb-0310-9956-ffa450edef68
2020-12-24 18:42:29 +00:00
PJ Fanning 8ff37c2a8a revert accidental change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884624 13f79535-47bb-0310-9956-ffa450edef68
2020-12-19 09:49:23 +00:00
PJ Fanning b2bfc99cdc fix log text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884623 13f79535-47bb-0310-9956-ffa450edef68
2020-12-19 09:47:19 +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
PJ Fanning 2b154b8d8f add back log4j 1.x as a test-only dependency of ooxml-tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884520 13f79535-47bb-0310-9956-ffa450edef68
2020-12-16 19:44:54 +00:00
PJ Fanning 8a66685c2d try to remove seemingly unused log4j 1.x dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884519 13f79535-47bb-0310-9956-ffa450edef68
2020-12-16 19:09:00 +00:00
PJ Fanning 9c1eb6b18e use less contentious language in code comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884473 13f79535-47bb-0310-9956-ffa450edef68
2020-12-15 23:04: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 c5f6dfa68e Bug 56205 - Upgrade OOXML schema to 3rd edition (transitional)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884368 13f79535-47bb-0310-9956-ffa450edef68
2020-12-12 23:15:20 +00:00
Andreas Beeker 92e8e79822 fix missing xsbs in ooxml-lite run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884142 13f79535-47bb-0310-9956-ffa450edef68
2020-12-06 00:26:44 +00:00
Andreas Beeker e43a1d220f optimize size of poi-ooxml-schemas by 40% by only including necessary *.xsb files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884139 13f79535-47bb-0310-9956-ffa450edef68
2020-12-05 21:30:19 +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
Andreas Beeker b20318b58c #64867 - Provide PDF rendering with PPTX2PNG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883074 13f79535-47bb-0310-9956-ffa450edef68
2020-11-02 23:56:27 +00:00
PJ Fanning a8a4e40c5a try to upgrade spotbugs and asm
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882836 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 12:51:34 +00:00