Commit Graph

821 Commits

Author SHA1 Message Date
Dominik Stadler 5f743b5c08 Update XmlBeans to 5.0.1 also in Ant build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893210 13f79535-47bb-0310-9956-ffa450edef68
2021-09-10 06:14:56 +00:00
Dominik Stadler 8d530579fb Add missing test-classpath
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893209 13f79535-47bb-0310-9956-ffa450edef68
2021-09-10 06:14:42 +00:00
PJ Fanning 82ef87f14b 5.1.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892911 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 00:42:26 +00:00
PJ Fanning 8af15235cd slf4j 1.7.32
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892907 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 00:29:57 +00:00
PJ Fanning 532a400f15 use xmlbeans 5.0.0 in ant build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892052 13f79535-47bb-0310-9956-ffa450edef68
2021-08-06 20:55:15 +00:00
PJ Fanning 342a964ae9 try to use xmlbeans 5.0.1 in ant build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892051 13f79535-47bb-0310-9956-ffa450edef68
2021-08-06 20:45:09 +00:00
PJ Fanning 69abcd6fd9 try to use xmlbeans 5.0.1 in ant build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892050 13f79535-47bb-0310-9956-ffa450edef68
2021-08-06 20:17:48 +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 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
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
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 212863741f upgrade pdfbox dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891107 13f79535-47bb-0310-9956-ffa450edef68
2021-06-28 16:28:21 +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
PJ Fanning a574e4463c tidy up gradlew excludes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890167 13f79535-47bb-0310-9956-ffa450edef68
2021-05-24 16:17:05 +00:00
PJ Fanning 5984e32310 exclude gradle wrapper from src release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890118 13f79535-47bb-0310-9956-ffa450edef68
2021-05-22 20:16:21 +00:00
Dominik Stadler 994f940fcf One more place where path.separator needs to be used instead of ':'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889894 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 12:14:13 +00:00
Dominik Stadler 39e61c4b90 Add missing dependency on batik-script
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889893 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 11:38:31 +00:00
PJ Fanning 65994b4578 delete old xmlsec jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889888 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 08:39:36 +00:00
Dominik Stadler d2cfa01471 Try to use the correct path-separator on Windows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889880 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 06:41:22 +00:00
Dominik Stadler 5d719b9016 Make isJava8 true or false, print out result in "init"
Some CI-builds with Java 11+ seem to still run as "JDK 8" builds...

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889879 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 06:41:20 +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 fe753d4737 Fix two more invalid paths for the Java 9+ compilation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889842 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:43 +00:00
Dominik Stadler 75438f1306 Print out state of isJava8 when building jars
It seems this is not set properly in some of the CI-builds

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889841 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:40 +00:00
Dominik Stadler f3e670c1eb Use proper module-name without "poi-" prefix when compiling module-java with Java 9+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889840 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:38 +00:00
PJ Fanning b3212152e6 xmlsec 2.2.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889816 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 00:00:41 +00:00
Dominik Stadler 41b9bb011f Adjust paths in build-files some more and copy svn-libs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888584 13f79535-47bb-0310-9956-ffa450edef68
2021-04-10 12:29:13 +00:00
Dominik Stadler fadeb68392 Store jars for svnant locally
Downloading them becomes nearly impossible now that bintray.dl closes down,
so let's rather persist the jars as part of the source distribution for now.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888572 13f79535-47bb-0310-9956-ffa450edef68
2021-04-10 07:16:57 +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
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