summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.classpath2
-rw-r--r--build.gradle21
-rw-r--r--build.xml8
-rw-r--r--maven/poi-ooxml.pom2
-rw-r--r--sonar/ooxml/pom.xml2
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 @@
<classpathentry kind="lib" path="lib/commons-math3-3.6.1.jar"/>
<classpathentry kind="lib" path="lib/xmlunit-core-2.5.1.jar"/>
<classpathentry kind="lib" path="lib/objenesis-2.6.jar"/>
- <classpathentry kind="lib" path="lib/commons-compress-1.19.jar"/>
+ <classpathentry kind="lib" path="lib/commons-compress-1.20.jar"/>
<classpathentry kind="lib" path="lib/mockito-core-3.2.4.jar"/>
<classpathentry kind="lib" path="lib/byte-buddy-1.10.1.jar"/>
<classpathentry kind="lib" path="lib/byte-buddy-agent-1.10.1.jar"/>
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.
<property name="ooxml.xmlbeans.jar" location="${ooxml.lib}/xmlbeans-3.1.0.jar"/>
<property name="ooxml.xmlbeans.url"
value="https://repository.apache.org/content/repositories/releases/org/apache/xmlbeans/xmlbeans/3.1.0/xmlbeans-3.1.0.jar"/>
- <property name="ooxml.commons-compress.jar" location="${main.lib}/commons-compress-1.19.jar"/>
+ <property name="ooxml.commons-compress.jar" location="${main.lib}/commons-compress-1.20.jar"/>
<property name="ooxml.commons-compress.url"
- value="${repository.m2}/maven2/org/apache/commons/commons-compress/1.19/commons-compress-1.19.jar"/>
+ value="${repository.m2}/maven2/org/apache/commons/commons-compress/1.20/commons-compress-1.20.jar"/>
<!-- jars in the ooxml-test-lib directory, see the fetch-ooxml-jars target-->
<property name="ooxml.test.reflections.jar" location="${ooxml.test.lib}/reflections.jar"/>
@@ -655,9 +655,7 @@ under the License.
<include name="commons-codec-1.10*"/>
<include name="commons-codec-1.11*"/>
<include name="commons-codec-1.12*"/>
- <include name="commons-compress-1.16*"/>
- <include name="commons-compress-1.17*"/>
- <include name="commons-compress-1.18*"/>
+ <include name="commons-compress-1.1*"/>
<include name="commons-collections4-4.1*"/>
<include name="commons-collections4-4.2*"/>
<include name="commons-collections4-4.3*"/>
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 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
- <version>1.19</version>
+ <version>1.20</version>
</dependency>
<dependency>
<groupId>com.github.virtuald</groupId>
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 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
- <version>1.19</version>
+ <version>1.20</version>
</dependency>
<dependency>
<groupId>com.github.virtuald</groupId>