From 7b83320f9e26157dfd8cdef2b628dce7ba42aa55 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Fri, 25 Sep 2020 19:39:49 +0000 Subject: [PATCH] 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 --- build.gradle | 10 +++++----- build.xml | 33 +++++++++++++++++++++++++++++---- sonar/excelant/pom.xml | 22 +++++++++++----------- sonar/integration-test/pom.xml | 6 +++--- sonar/ooxml/pom.xml | 14 +++++++------- sonar/pom.xml | 8 ++++---- 6 files changed, 59 insertions(+), 34 deletions(-) diff --git a/build.gradle b/build.gradle index 2c973dc748..83277719fb 100644 --- a/build.gradle +++ b/build.gradle @@ -45,8 +45,8 @@ configurations { dependencies { antLibs("junit:junit:4.13") - antLibs("org.apache.ant:ant-junit:1.10.4") - antLibs("org.apache.ant:ant-junit4:1.10.4") + antLibs("org.apache.ant:ant-junit:1.10.8") + antLibs("org.apache.ant:ant-junit4:1.10.8") } ant.taskdef(name: "junit", @@ -152,7 +152,7 @@ subprojects { } jacoco { - toolVersion = '0.8.5' + toolVersion = '0.8.6' } // ensure the build-dir exists @@ -301,7 +301,7 @@ project('excelant') { sourceSets.test.java.srcDirs = ['../../src/excelant/testcases'] dependencies { - compile 'org.apache.ant:ant:1.10.4' + compile 'org.apache.ant:ant:1.10.8' compile project(':main') compile project(':ooxml') @@ -323,7 +323,7 @@ project('integrationtest') { sourceSets.test.java.srcDirs = ['../../src/integrationtest'] dependencies { - compile 'org.apache.ant:ant:1.10.4' + compile 'org.apache.ant:ant:1.10.8' compile project(':main') compile project(':ooxml') diff --git a/build.xml b/build.xml index b53686e1b9..46308cc2b5 100644 --- a/build.xml +++ b/build.xml @@ -311,7 +311,7 @@ under the License. - + @@ -592,9 +592,34 @@ under the License. - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sonar/excelant/pom.xml b/sonar/excelant/pom.xml index 692876ac7a..0bea755b41 100644 --- a/sonar/excelant/pom.xml +++ b/sonar/excelant/pom.xml @@ -29,12 +29,12 @@ ${basedir}/src/main/java - + ../../src/excelant/java - - + + copy-resources @@ -45,12 +45,12 @@ ${basedir}/src/main/resources - + ../../src/excelant/resources - - + + copy-tests @@ -61,12 +61,12 @@ ${basedir}/src/test/java - + ../../src/excelant/testcases - - + + @@ -82,7 +82,7 @@ - + @@ -108,7 +108,7 @@ org.apache.ant ant - 1.10.1 + 1.10.8 diff --git a/sonar/integration-test/pom.xml b/sonar/integration-test/pom.xml index 38a817eeec..668c6469b3 100644 --- a/sonar/integration-test/pom.xml +++ b/sonar/integration-test/pom.xml @@ -96,20 +96,20 @@ org.reflections reflections - 0.9.11 + 0.9.12 test org.openjdk.jmh jmh-core - 1.19 + 1.25 test org.apache.ant ant - 1.10.7 + 1.10.8 test diff --git a/sonar/ooxml/pom.xml b/sonar/ooxml/pom.xml index 505e5f1dc6..17c383eb1e 100644 --- a/sonar/ooxml/pom.xml +++ b/sonar/ooxml/pom.xml @@ -137,17 +137,17 @@ org.bouncycastle bcpkix-jdk15on - 1.65 + 1.66 org.bouncycastle bcprov-jdk15on - 1.65 + 1.66 org.apache.santuario xmlsec - 2.1.5 + 2.2.0 org.apache.commons @@ -169,20 +169,20 @@ org.reflections reflections - 0.9.11 + 0.9.12 test org.openjdk.jmh jmh-core - 1.19 + 1.25 test org.openjdk.jmh jmh-generator-annprocess - 1.19 + 1.25 test @@ -190,7 +190,7 @@ org.apache.xmlgraphics batik-all - 1.11 + 1.13 diff --git a/sonar/pom.xml b/sonar/pom.xml index 02b314ce3d..ab8a8faa89 100644 --- a/sonar/pom.xml +++ b/sonar/pom.xml @@ -81,10 +81,10 @@ target/site/jacoco/jacoco.xml - 3.1.0 + 4.0.0 4.13 - 2.6.3 - 2.13.0 + 2.7.0 + 3.5.0 3.1.0 3.2.0 3.1.0 @@ -145,7 +145,7 @@ org.jacoco jacoco-maven-plugin - 0.8.5 + 0.8.6 -- 2.39.5