Commit Graph

416 Commits

Author SHA1 Message Date
PJ Fanning f661e7c5a0 spotbugs upgrade
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895300 13f79535-47bb-0310-9956-ffa450edef68
2021-11-24 16:39:47 +00:00
PJ Fanning 23864119ba upgrade mockito
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895258 13f79535-47bb-0310-9956-ffa450edef68
2021-11-22 13:41:58 +00:00
PJ Fanning 53800f9dbb upgrade woodstox
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895257 13f79535-47bb-0310-9956-ffa450edef68
2021-11-22 13:39:03 +00:00
PJ Fanning 8c0d90c60c 5.2.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895156 13f79535-47bb-0310-9956-ffa450edef68
2021-11-18 16:29:11 +00:00
PJ Fanning 423c02304d spotbugs upgrade
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895053 13f79535-47bb-0310-9956-ffa450edef68
2021-11-15 12:56:22 +00:00
Dominik Stadler 53217e2b1e Use parallel build to speed up building and running tests
Enable parallel building and parallel test-execution
Provide a configuration to still build/test serially on CI
via CI_BUILD=TRUE gradle --no-parallel --max-workers=1 clean build
Adjust Jenkins DSL to set CI_BUILD to avoid problems in CI
Adjust TestAllFiles to not fail when parallel builds are enabled
Reduce memory settings to reduce requirements on build-environments
Add gradle plugin to list task-dependencies

Thanks to Andreas Reichel for the PR

Closes #275

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894812 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 14:59:48 +00:00
PJ Fanning 087236a412 snapshot version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894666 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 08:47:22 +00:00
PJ Fanning 7e17a57848 prep 5.10 (RC2)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894541 13f79535-47bb-0310-9956-ffa450edef68
2021-10-24 23:10:05 +00:00
Dominik Stadler 60dd0e5464 Adjust version-pattern used in task 'replaceVersion'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894481 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 14:32:03 +00:00
PJ Fanning 63e7f91d1b upgrade spotbugs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894437 13f79535-47bb-0310-9956-ffa450edef68
2021-10-21 09:15:37 +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
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
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
Andreas Beeker e896d921a4 #60656 - EMF image support in slideshows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849040 13f79535-47bb-0310-9956-ffa450edef68
2018-12-16 18:17:21 +00:00
Andreas Beeker d45ec541cd #62365 - SVG image support in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849030 13f79535-47bb-0310-9956-ffa450edef68
2018-12-16 14:55:23 +00:00
PJ Fanning cc131eeab9 update xmlbeans to 3.0.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844955 13f79535-47bb-0310-9956-ffa450edef68
2018-10-27 11:52:26 +00:00
Dominik Stadler d2afc7ff27 Remove outdated comment for japicmp
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842274 13f79535-47bb-0310-9956-ffa450edef68
2018-09-28 17:43:02 +00:00
PJ Fanning b3f0d80eb6 fix gradle build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842217 13f79535-47bb-0310-9956-ffa450edef68
2018-09-28 07:42:47 +00:00
PJ Fanning 6072972fcc [bug-62747] bouncycastle 1.60
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841394 13f79535-47bb-0310-9956-ffa450edef68
2018-09-19 21:49:55 +00:00
PJ Fanning 81a250495f [bug-62730] include all inner list classes in poi-ooxml-schemas.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841270 13f79535-47bb-0310-9956-ffa450edef68
2018-09-18 22:09:15 +00:00
Andreas Beeker ea65344fd1 update 3.17 leftovers and provide a new build target to update those in the next release
remove final / beta tags, as we (try to) use semver now

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1840318 13f79535-47bb-0310-9956-ffa450edef68
2018-09-07 19:25:02 +00:00
PJ Fanning e284963051 remove ref to staging repo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839423 13f79535-47bb-0310-9956-ffa450edef68
2018-08-28 11:08:15 +00:00
Dominik Stadler 636d9495a5 Set locale provider to JRE,CLDR for tests to have compatible date formatting in JDK 9+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839199 13f79535-47bb-0310-9956-ffa450edef68
2018-08-26 11:41:31 +00:00
PJ Fanning cf455847d2 use released version of xmlbeans 3.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838918 13f79535-47bb-0310-9956-ffa450edef68
2018-08-24 17:57:06 +00:00
Dominik Stadler e785364c0c Exclude some test-suites in build.gradle to not execute tests multiple times
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838765 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 20:23:30 +00:00
Dominik Stadler 1ca97efb51 Update JaCoCo to 0.8.2 in build.gradle to make it work with JDK 10+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838764 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 20:23:25 +00:00
Dominik Stadler 3fea637ada Adjust for JDK 11 ea-26 build, need to add jaxb via normal jar dependency now as it was removed from the JDK
Also needed to remove a few uses of Mockito which fail now with certain abstract classes
Update to Mockito 2.21

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838763 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 20:23:20 +00:00
Dominik Stadler ad7a68330f Add staging repo in one more place in Gradle build to make compile succeed on a fresh machine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838729 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 13:22:34 +00:00
PJ Fanning b6d837c8ce uptake xmlbeans 3.0.1 (staging version, pre-release)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838366 13f79535-47bb-0310-9956-ffa450edef68
2018-08-19 09:08:00 +00:00
Tim Allison 7a59d0441b 62630 -- upgrad commons-compress
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838214 13f79535-47bb-0310-9956-ffa450edef68
2018-08-16 18:36:47 +00:00
PJ Fanning 1aa5124c7f upgrade commons-collections4 to 4.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1835913 13f79535-47bb-0310-9956-ffa450edef68
2018-07-14 15:49:49 +00:00
Dominik Stadler 6c71dd178d Gradle: Define japicmp settings only once, but still fails due to removed classes in 4.0.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1835185 13f79535-47bb-0310-9956-ffa450edef68
2018-07-05 19:55:12 +00:00
Dominik Stadler 09ad5a5f30 Java 9: Add Automatic-Module-Name in Jars built via Gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1835181 13f79535-47bb-0310-9956-ffa450edef68
2018-07-05 19:53:36 +00:00
Andreas Beeker 123f30bf42 Fix gradle add maven repo again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1834764 13f79535-47bb-0310-9956-ffa450edef68
2018-06-30 20:40:53 +00:00
Andreas Beeker 0de8e21298 Fix gradle ant-junit dependencies when not using the gradle wrapper / update ant version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1834762 13f79535-47bb-0310-9956-ffa450edef68
2018-06-30 20:36:47 +00:00
PJ Fanning 62e3986e49 update xmlbeans repo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1834639 13f79535-47bb-0310-9956-ffa450edef68
2018-06-28 20:06:24 +00:00
Andreas Beeker d193426a1d #59268 - Work on providing an updated version of XMLBeans
(imported from https://github.com/apache/poi/pull/113)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1834165 13f79535-47bb-0310-9956-ffa450edef68
2018-06-22 21:25:00 +00:00
Dominik Stadler 7e2b111f85 Update Gradle wrapper to 4.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833292 13f79535-47bb-0310-9956-ffa450edef68
2018-06-10 18:54:06 +00:00
PJ Fanning 1ba74b1da9 use spaces as indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833095 13f79535-47bb-0310-9956-ffa450edef68
2018-06-07 05:58:10 +00:00
Andreas Beeker 8cabdb476c #62187 - Compiling with Java 10 fails with ClassCastException / use commons-compress for zipbomb detection
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832789 13f79535-47bb-0310-9956-ffa450edef68
2018-06-03 22:09:11 +00:00
PJ Fanning 57eae58ee5 use xmlunit for xml diffs in unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825810 13f79535-47bb-0310-9956-ffa450edef68
2018-03-04 12:24:44 +00:00
Dominik Stadler 694e3c7826 Bug 62042: Adjust gradle build to properly set the locale
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1823596 13f79535-47bb-0310-9956-ffa450edef68
2018-02-08 19:34:22 +00:00
PJ Fanning 3575cee028 [bug-62038] add mockito based unit test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822517 13f79535-47bb-0310-9956-ffa450edef68
2018-01-29 15:21:59 +00:00
PJ Fanning ef952a3ca0 bouncycastle 1.59
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822285 13f79535-47bb-0310-9956-ffa450edef68
2018-01-26 12:38:49 +00:00
Andreas Beeker 7349dc47f6 #61939 - Provide schema for AlternateContent - provide new ooxml-schemas-1.4.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819704 13f79535-47bb-0310-9956-ffa450edef68
2017-12-31 00:01:04 +00:00
PJ Fanning 18f87a1c18 upgrade to commons-codec 1.11
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1815852 13f79535-47bb-0310-9956-ffa450edef68
2017-11-20 20:46:16 +00:00
Dominik Stadler bd00cb3e0d Change version to 4.0.0-SNAPSHOT as discussed on the mailing-list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808618 13f79535-47bb-0310-9956-ffa450edef68
2017-09-17 11:07:37 +00:00
Dominik Stadler bb507440ed Update third party libs to latest versions
Start updating build to Java 8
Set version to 4.0-beta1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808472 13f79535-47bb-0310-9956-ffa450edef68
2017-09-15 18:39:18 +00:00
PJ Fanning 23ecb9a172 Numeric Array Formula and Matrix Function [from Bob95132] This closes #69
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808297 13f79535-47bb-0310-9956-ffa450edef68
2017-09-13 23:54:36 +00:00
Dominik Stadler 7b75e2d61e Add note that japicmp cannot be upgrade until Gradle 4 is used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802631 13f79535-47bb-0310-9956-ffa450edef68
2017-07-21 18:19:17 +00:00
Dominik Stadler 585d77c9cf Add jmh to Sonar-Maven build as well, add comment why we need to stick to 1.15 for now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796035 13f79535-47bb-0310-9956-ffa450edef68
2017-05-24 10:07:32 +00:00
Javen O'Neal 980f319270 github-54: when adding a picture to an XSSFWorkbook, reduce memory consumption by 100x and increase speed by 10x based on OpenJDK JMH benchmarking. Thanks to Tim Helmstedt! This closes #54.
https://github.com/apache/poi/pull/54

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795252 13f79535-47bb-0310-9956-ffa450edef68
2017-05-15 23:27:21 +00:00
Dominik Stadler ef9b9e23a8 Revert "Add hamcrest-all to Gradle build as well"
This reverts commit e452090d41190820ec7f2591097fb9e63ad6c59c.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791587 13f79535-47bb-0310-9956-ffa450edef68
2017-04-16 09:46:54 +00:00
Dominik Stadler 995d65c40d Add hamcrest-all to Gradle build as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791586 13f79535-47bb-0310-9956-ffa450edef68
2017-04-16 09:45:23 +00:00
Dominik Stadler 808b63d33b Gradle Build: Try with setting baseDir for Sonar-runs, but likely still does not work
Update wrapper to 3.4.1, although we do not store it yet anyway

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1786681 13f79535-47bb-0310-9956-ffa450edef68
2017-03-13 13:20:51 +00:00
Dominik Stadler 781e596858 Allow to enable Sonar as part of the Gradle build and add Jenkins DSL job to test it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1786430 13f79535-47bb-0310-9956-ffa450edef68
2017-03-10 20:13:46 +00:00
Javen O'Neal 9ebbb3d727 target version 3.16-beta3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782118 13f79535-47bb-0310-9956-ffa450edef68
2017-02-08 08:24:35 +00:00
Dominik Stadler 70864c5a57 Coverage:
* Exclude "examples" from coverage in Jenkins, add some comments
* Fix warning in newer Gradle versions
* Adjust coverage-excludes in build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776715 13f79535-47bb-0310-9956-ffa450edef68
2016-12-31 09:43:13 +00:00
Dominik Stadler c331523fc5 Update JaCoCo to 0.7.8 to allow to run it when using JDK 9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776623 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 19:03:44 +00:00
Dominik Stadler d9596e3f80 Disable Sonar in Gradle build for now, it requires Java 8, but we should still be able to compile with Java 7
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776317 13f79535-47bb-0310-9956-ffa450edef68
2016-12-28 19:47:40 +00:00
Dominik Stadler df66760bfc Add sonar-plugin to Gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776072 13f79535-47bb-0310-9956-ffa450edef68
2016-12-26 20:47:29 +00:00
Dominik Stadler 36c7433e7f commons-collections4 is now also required for the main-jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772149 13f79535-47bb-0310-9956-ffa450edef68
2016-12-01 07:29:08 +00:00
Javen O'Neal 57302986f9 target version 3.16-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771073 13f79535-47bb-0310-9956-ffa450edef68
2016-11-24 04:16:15 +00:00
Dominik Stadler 5990f61dcd Update to japicmp-gradle-plugin:0.1.2 and enable newly added properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765020 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15 07:09:13 +00:00
Dominik Stadler 1bda7f6ef6 Bug 60134: Add initial tasks for running japicmp to the Gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764960 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 20:46:30 +00:00
Dominik Stadler 41e1e9ffb8 Add initial compile steps with a simple multi-project setup to build.gradle
Adjust some tests to make them run fine in the Gradle build as well

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763816 13f79535-47bb-0310-9956-ffa450edef68
2016-10-07 19:33:11 +00:00
Javen O'Neal b4c20232b0 add gradle build script for building POI with gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761871 13f79535-47bb-0310-9956-ffa450edef68
2016-09-22 09:21:56 +00:00