From 71ec0721c82a62ecc8d8755a92ed1d5d92270e3d Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Fri, 14 Feb 2020 23:00:49 +0000 Subject: [PATCH] commons-compress 1.20 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874036 13f79535-47bb-0310-9956-ffa450edef68 --- .classpath | 2 +- build.gradle | 21 ++++++++++++--------- build.xml | 8 +++----- maven/poi-ooxml.pom | 2 +- sonar/ooxml/pom.xml | 2 +- 5 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.classpath b/.classpath index 7657c421d8..09782c9055 100644 --- a/.classpath +++ b/.classpath @@ -40,7 +40,7 @@ - + diff --git a/build.gradle b/build.gradle index 0e397e724f..b71bf66cf2 100644 --- a/build.gradle +++ b/build.gradle @@ -92,9 +92,12 @@ subprojects { version = '4.1.3-SNAPSHOT' ext { - commonsCompressVersion = '1.19' + commonsCodecVersion = '1.13' + commonsCompressVersion = '1.20' + commonsMathVersion = '3.6.1' japicmpversion = '4.1.2' junitVersion = '4.13' + mockitoVersion = '3.2.4' xmlbeansVersion = '3.1.0' } @@ -180,10 +183,10 @@ project('main') { sourceSets.test.java.srcDirs = ['../../src/testcases'] dependencies { - implementation 'commons-codec:commons-codec:1.13' + implementation "commons-codec:commons-codec:${commonsCodecVersion}" implementation 'commons-logging:commons-logging:1.2' implementation 'org.apache.commons:commons-collections4:4.4' - implementation 'org.apache.commons:commons-math3:3.6.1' + implementation "org.apache.commons:commons-math3:${commonsMathVersion}" implementation 'javax.xml.bind:jaxb-api:2.3.1' implementation 'com.sun.xml.bind:jaxb-impl:2.3.2' implementation 'com.sun.xml.bind:jaxb-core:2.3.0.1' @@ -191,7 +194,7 @@ project('main') { implementation 'com.zaxxer:SparseBitSet:1.2' testImplementation "junit:junit:${junitVersion}" - testImplementation 'org.mockito:mockito-core:3.2.4' + testImplementation "org.mockito:mockito-core:${mockitoVersion}" testImplementation 'org.reflections:reflections:0.9.11' } @@ -235,7 +238,7 @@ project('ooxml') { dependencies { implementation "org.apache.xmlbeans:xmlbeans:${xmlbeansVersion}" implementation 'org.apache.commons:commons-collections4:4.4' - implementation 'org.apache.commons:commons-math3:3.6.1' + implementation "org.apache.commons:commons-math3:${commonsMathVersion}" implementation "org.apache.commons:commons-compress:${commonsCompressVersion}" implementation 'org.apache.santuario:xmlsec:2.1.2' implementation 'org.bouncycastle:bcpkix-jdk15on:1.62' @@ -256,7 +259,7 @@ project('ooxml') { implementation files('../../ooxml-lib/ooxml-security-1.1.jar') testImplementation "junit:junit:${junitVersion}" - testImplementation 'org.mockito:mockito-core:3.2.4' + testImplementation "org.mockito:mockito-core:${mockitoVersion}" testImplementation 'org.xmlunit:xmlunit-core:2.5.1' testImplementation 'org.reflections:reflections:0.9.11' testImplementation project(path: ':main', configuration: 'tests') @@ -358,13 +361,13 @@ project('scratchpad') { dependencies { implementation project(':main') - implementation 'commons-codec:commons-codec:1.13' - implementation 'org.apache.commons:commons-math3:3.6.1' + implementation "commons-codec:commons-codec:${commonsCodecVersion}" + implementation "org.apache.commons:commons-math3:${commonsMathVersion}" // cyclic-dependency here: implementation project(':ooxml') testImplementation "junit:junit:${junitVersion}" - testImplementation 'org.mockito:mockito-core:3.2.4' + testImplementation "org.mockito:mockito-core:${mockitoVersion}" testImplementation project(path: ':main', configuration: 'tests') } diff --git a/build.xml b/build.xml index b86e4ae1b4..bf3b349329 100644 --- a/build.xml +++ b/build.xml @@ -247,9 +247,9 @@ under the License. - + + value="${repository.m2}/maven2/org/apache/commons/commons-compress/1.20/commons-compress-1.20.jar"/> @@ -655,9 +655,7 @@ under the License. - - - + diff --git a/maven/poi-ooxml.pom b/maven/poi-ooxml.pom index e4b40365dc..7c35710975 100644 --- a/maven/poi-ooxml.pom +++ b/maven/poi-ooxml.pom @@ -72,7 +72,7 @@ org.apache.commons commons-compress - 1.19 + 1.20 com.github.virtuald diff --git a/sonar/ooxml/pom.xml b/sonar/ooxml/pom.xml index 5fe89b2a2e..9a48891b08 100644 --- a/sonar/ooxml/pom.xml +++ b/sonar/ooxml/pom.xml @@ -152,7 +152,7 @@ org.apache.commons commons-compress - 1.19 + 1.20 com.github.virtuald