Commit Graph

304 Commits

Author SHA1 Message Date
PJ Fanning b8ae188593 junit 5.8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894043 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 21:13:53 +00:00
PJ Fanning 1e4c425e66 mockito 4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894015 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 07:53:00 +00:00
Andreas Beeker 9f7085a281 #65612 - XSLF CustomGeometry - replace XmlStreamReader access with XmlBeans delegate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893859 13f79535-47bb-0310-9956-ffa450edef68
2021-10-03 21:05:19 +00:00
Marius Volkhart c68eabd258 Upgrade to JaCoCo 0.8.7
This version has "experimental" support for Java 17. See https://github.com/jacoco/jacoco/issues/1148

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893782 13f79535-47bb-0310-9956-ffa450edef68
2021-10-01 12:35:51 +00:00
PJ Fanning 8dc976cf31 downgrade junit version - due to build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893579 13f79535-47bb-0310-9956-ffa450edef68
2021-09-23 19:49:13 +00:00
PJ Fanning 954bb70cc1 slf4j version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893578 13f79535-47bb-0310-9956-ffa450edef68
2021-09-23 19:39:09 +00:00
PJ Fanning 595372f5a5 upgrade some build dependencies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893577 13f79535-47bb-0310-9956-ffa450edef68
2021-09-23 19:08:46 +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 914614f7a8 #65573 - POI bin tgz on CI build is missing poi-ooxml-lite jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893381 13f79535-47bb-0310-9956-ffa450edef68
2021-09-16 17:47:54 +00:00
Andreas Beeker 221b496f04 ignore all svn conflicts of module-info.class/java in rat-check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893346 13f79535-47bb-0310-9956-ffa450edef68
2021-09-15 00:23:39 +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 f425f307dc gradle 7.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892929 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 10:52:47 +00:00
Andreas Beeker fc932c8ae4 update to 5.1.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892889 13f79535-47bb-0310-9956-ffa450edef68
2021-09-03 21:43:17 +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 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 c6e44a1400 add spotbugs to gradle build
update dist path for jenkins archives

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892607 13f79535-47bb-0310-9956-ffa450edef68
2021-08-25 23:07:06 +00:00
Andreas Beeker 8283430c8c rat check - ignore svn conflict artifacts for module-info.class files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892553 13f79535-47bb-0310-9956-ffa450edef68
2021-08-23 20:48:30 +00:00
Andreas Beeker 20bb767469 Increase general max heap size to cover also integration tests demands
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892551 13f79535-47bb-0310-9956-ffa450edef68
2021-08-23 19:50:51 +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
Andreas Beeker 8f24aaab2b fix Windows gradle build - task allJavaDoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892390 13f79535-47bb-0310-9956-ffa450edef68
2021-08-16 22:49:01 +00:00
Andreas Beeker 80b73d65b1 compile module info only in Java 9+ builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892248 13f79535-47bb-0310-9956-ffa450edef68
2021-08-11 21:23:13 +00:00
Andreas Beeker 700334b0f1 move dist files from gradles default dist directory to pois dist dir
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892142 13f79535-47bb-0310-9956-ffa450edef68
2021-08-09 22:32:33 +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 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 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
Dominik Stadler 6fabb98ea8 Remove invalid "include" for tests which in fact disables almost all tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891348 13f79535-47bb-0310-9956-ffa450edef68
2021-07-07 10:04:26 +00:00
Dominik Stadler a815e51d0f Adjust includes/excludes for license check via Apache Rat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891346 13f79535-47bb-0310-9956-ffa450edef68
2021-07-07 10:04:18 +00:00
Andreas Beeker d11e5ce48f try to fix new custom Junit Annotation module dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891337 13f79535-47bb-0310-9956-ffa450edef68
2021-07-07 06:26:31 +00:00
PJ Fanning 6c1bd28168 add explicit commons-io dependency to poi-ooxml. This closes #237
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891320 13f79535-47bb-0310-9956-ffa450edef68
2021-07-06 16:47:59 +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 b7aa11852e gradle 7.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890784 13f79535-47bb-0310-9956-ffa450edef68
2021-06-14 21:35:28 +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
Andreas Beeker f21019db12 add forbidden-apis plugin to gradle builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890090 13f79535-47bb-0310-9956-ffa450edef68
2021-05-21 22:32:09 +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
PJ Fanning 33bfe37c0b gradle 7
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889815 13f79535-47bb-0310-9956-ffa450edef68
2021-05-12 23:39:41 +00:00
Dominik Stadler 285fd61fb8 Update to SonarQube plugin 3.1.1 and try to set version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889206 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:35 +00:00
Dominik Stadler e52be55f45 Jeknins DSL: Disable Maven based Sonar-run to see if the Gradle-based one works fine now
We can get rid of the Maven-based build if the Gradle-based job works fine now!

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889200 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:12 +00:00
Andreas Beeker 27e0842bcc fix gradle builds to better comply with IntelliJ
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888936 13f79535-47bb-0310-9956-ffa450edef68
2021-04-18 22:11:26 +00:00
Dominik Stadler 3b1c82f6cb Increase memory for task allJavaDoc to avoid OOM during building
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888793 13f79535-47bb-0310-9956-ffa450edef68
2021-04-15 14:25:47 +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
Andreas Beeker 22c893bc69 move jdk check into doFirst
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888582 13f79535-47bb-0310-9956-ffa450edef68
2021-04-10 12:01:15 +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
Dominik Stadler 30d8d17735 Adjust for the new source-directories in some more places
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888536 13f79535-47bb-0310-9956-ffa450edef68
2021-04-08 20:10:53 +00:00
Andreas Beeker b9521e877c fix paths to new gradle directories
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888529 13f79535-47bb-0310-9956-ffa450edef68
2021-04-08 17:54:42 +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 e87e3ca194 Add a Gradle target "allJavaDoc" for an initial combined JavaDoc run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888421 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 06:11:13 +00:00
Dominik Stadler 72ce9751b1 Adjust JavaDoc target to act similar as the one in the build.xml
Set memory and set "lint:non" on Java 8 to not be stricter than the Ant-build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888420 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 06:11:10 +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 22b39898c3 Gradle: Add support for rat-check and initial target "jenkins"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888139 13f79535-47bb-0310-9956-ffa450edef68
2021-03-28 19:54:57 +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 2bb3839bfe remove temp gradle workaround for xmlbeans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888079 13f79535-47bb-0310-9956-ffa450edef68
2021-03-26 08:22:00 +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
Marius Volkhart 08a88d6a68 Run the TestAllFiles tests as part of Gradle
I accidentally excluded these in r1887643. They should not be excluded.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887681 13f79535-47bb-0310-9956-ffa450edef68
2021-03-15 17:52:40 +00:00
Marius Volkhart 120566991b Change Gradle to use java-library plugin
This plugin is specifically built for libraries. The major difference to the regular java plugin is that is allows defining dependencies as part of the api or implementation. Both are used by the project at compile/runtime, but only api dependencies are made available to dependent projects.

In our current setup, this doesn't matter much. We deploy to maven central using pre-built POMs. It's more of a future-proofing, and it makes it a little bit clearer which gradle projects actually require which dependencies.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887650 13f79535-47bb-0310-9956-ffa450edef68
2021-03-14 20:43:43 +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
Marius Volkhart 21ba7dc108 Specify more granular Batik dependencies
Batik-all is a strange artifact. It's POM declares dependencies on all the sub-JARs, but its JAR has all of the sub-jars repackaged. This results in multiple JARs with the same packages being added to consuming applications. This leads to problems for JPMS users. See [bug-65183].

The Ant build does not use batik-all, so the Maven and Gradle builds should not either.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887642 13f79535-47bb-0310-9956-ffa450edef68
2021-03-14 18:51:12 +00:00
Marius Volkhart bce76497fe Disable parallel tests on Gradle again
Something is causing parallel tests to fail on CI. I haven't been able to track down what it is. The symptoms look similar to others where the cause was a test modifying the test-data directory.

The integration tests also sometimes run into OutOfMemoryErrors when I run them in parallel.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887631 13f79535-47bb-0310-9956-ffa450edef68
2021-03-14 11:31:18 +00:00
Marius Volkhart 5d77d4e798 Get Gradle GitHub Action past downloading the XMLBeans JAR
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887614 13f79535-47bb-0310-9956-ffa450edef68
2021-03-14 01:46:05 +00:00
Andreas Beeker afbef57d35 raise XmlBeans to 5.0.0 (nightly) also in the gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887345 13f79535-47bb-0310-9956-ffa450edef68
2021-03-08 22:36:08 +00:00
PJ Fanning 39ac99440e 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@1887012 13f79535-47bb-0310-9956-ffa450edef68
2021-02-28 19:48:22 +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
Marius Volkhart 451684aa91 Enable running more integration tests from Gradle.
This is particularly relevant for developers who import the Gradle project into their IDE and run tests using the Gradle test runner. Those developers were previously unable to debug integration tests.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886962 13f79535-47bb-0310-9956-ffa450edef68
2021-02-26 22:14:17 +00:00
Marius Volkhart 0fbf8f2e58 Remove the integrationTest task from the Gradle integrationtest project
This task adds no additional configuration over the regular test task.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886961 13f79535-47bb-0310-9956-ffa450edef68
2021-02-26 22:07:14 +00:00
Marius Volkhart a49347e8d0 Remove the test exclusion for RecordStresser and RecordsStresser from Gradle integration tests
These classes don't exist.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886960 13f79535-47bb-0310-9956-ffa450edef68
2021-02-26 22:05:16 +00:00
Marius Volkhart 6fe733c92a Enable parallel tests from Gradle
Parallel tests are already enabled from Ant. This does the same for Gradle users.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886959 13f79535-47bb-0310-9956-ffa450edef68
2021-02-26 21:15:12 +00:00
PJ Fanning 7a10b863f6 xmlsec version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886893 13f79535-47bb-0310-9956-ffa450edef68
2021-02-24 21:42:01 +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
PJ Fanning 4fcd98573f remove accidental commit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886144 13f79535-47bb-0310-9956-ffa450edef68
2021-02-02 21:14:16 +00:00
PJ Fanning d7eb8e949a [bug-65120] PartAlreadyExistsException when creating cell comments (after some comments removed). Thanks to Raúl Wegmann
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886143 13f79535-47bb-0310-9956-ffa450edef68
2021-02-02 21:13:32 +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
Andreas Beeker a77baf31dc migrate to sonarcloud.io
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869712 13f79535-47bb-0310-9956-ffa450edef68
2019-11-12 22:50:30 +00:00
Dominik Stadler b574f44920 Update to latest Gradle 5.6 to allow to build with newer Java versions
Adjust build.gradle slightly to work with new version of Gradle

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868983 13f79535-47bb-0310-9956-ffa450edef68
2019-10-26 05:26:56 +00:00
Dominik Stadler 04e85aa22d Sync version in more places and use -SNAPSHOT everywhere during development
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868981 13f79535-47bb-0310-9956-ffa450edef68
2019-10-26 05:26:47 +00:00
PJ Fanning d51ca537ed [bug-63725] commons-compress 1.19
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866402 13f79535-47bb-0310-9956-ffa450edef68
2019-09-04 16:55:00 +00:00
PJ Fanning 59edd12377 upgrade to commons-collections4 4.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866212 13f79535-47bb-0310-9956-ffa450edef68
2019-08-31 13:49:52 +00:00
PJ Fanning df64598b12 upgrade bouncycastle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866108 13f79535-47bb-0310-9956-ffa450edef68
2019-08-29 23:22:47 +00:00
PJ Fanning 3efd3f7adf upgrade commons-codec and mockito
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866106 13f79535-47bb-0310-9956-ffa450edef68
2019-08-29 23:07:33 +00:00
Dominik Stadler 66d522873f Update JAXB to the latest version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858023 13f79535-47bb-0310-9956-ffa450edef68
2019-04-23 20:28:00 +00:00
Greg Woolsey 362a99a60b Update site source for 4.1.0, prep build for 4.1.1 (via ant task)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857217 13f79535-47bb-0310-9956-ffa450edef68
2019-04-09 15:57:25 +00:00
Dominik Stadler 836b9abdc6 Set version to 4.1.1-SNAPSHOT everywhere to not mix intermediate packages with the future final ones, add a helper target to set the version from the build.xml everywhere
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857070 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 07:17:58 +00:00
Dominik Stadler 56c0209780 Various enhancements to build.xml
* Use https for pentaho repository location
* Add some more targets to "jenkins" target
* Add download of maven-ant-task to make target "maven-install"
  work without manual installation into the ant-home directory
* Update JaCoCo to 0.8.3 and asm to 7.0
  This should now also work with JDK 13 pre-builds, so enable
  coverage in the JDK 13 CI builds again

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857069 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 07:17:52 +00:00
PJ Fanning 89d34e6c64 use released version of xmlbeans 3.1.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856354 13f79535-47bb-0310-9956-ffa450edef68
2019-03-26 23:41:53 +00:00
PJ Fanning e2111d9d26 xmlbeans 3.1.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856093 13f79535-47bb-0310-9956-ffa450edef68
2019-03-22 23:24:35 +00:00
PJ Fanning 259d5a234f upgrade xmlsec, slf4j, batik
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855990 13f79535-47bb-0310-9956-ffa450edef68
2019-03-21 13:43:19 +00:00
PJ Fanning d66873a765 upgrade bouncycastle and curvesapi
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855978 13f79535-47bb-0310-9956-ffa450edef68
2019-03-21 10:23:05 +00:00
PJ Fanning 3aea8e7f85 commons-codec - 1.12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855975 13f79535-47bb-0310-9956-ffa450edef68
2019-03-21 10:00:33 +00:00
PJ Fanning 4dc28798bf commons-collections4 - 4.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855973 13f79535-47bb-0310-9956-ffa450edef68
2019-03-21 09:49:54 +00:00
PJ Fanning fabbab41f0 try to fix gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855972 13f79535-47bb-0310-9956-ffa450edef68
2019-03-21 09:38:21 +00:00
PJ Fanning dfcf588b79 try to fix gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855971 13f79535-47bb-0310-9956-ffa450edef68
2019-03-21 09:34:04 +00:00
PJ Fanning f9a46c7fbf try to fix gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855970 13f79535-47bb-0310-9956-ffa450edef68
2019-03-21 09:26:03 +00:00
PJ Fanning cb9d33d53d use xmlbeans-3.0.3 rc version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855952 13f79535-47bb-0310-9956-ffa450edef68
2019-03-20 23:16:13 +00:00
Vladislav Galas f3eb4dd393 updated mockito to 2.23.4 to fix java 11 build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850590 13f79535-47bb-0310-9956-ffa450edef68
2019-01-06 18:56:29 +00:00
Vladislav Galas e501d4015d Bug 62828: CellReference(Cell) now initializes sheet name.
Changed CellReference to CellAddress in XSSFHyperlink because it is what it should return.
Updated all relevant tests, added a test for CellReference(Cell).

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850210 13f79535-47bb-0310-9956-ffa450edef68
2019-01-02 22:08:38 +00:00