summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2020-09-25 19:39:49 +0000
committerDominik Stadler <centic@apache.org>2020-09-25 19:39:49 +0000
commit7b83320f9e26157dfd8cdef2b628dce7ba42aa55 (patch)
tree2905a930c7040d9e6b6a2d43669a7b22b64df1c1
parentceae0d0903e95dbf0c9e70a7e154513232e529c9 (diff)
downloadpoi-7b83320f9e26157dfd8cdef2b628dce7ba42aa55.tar.gz
poi-7b83320f9e26157dfd8cdef2b628dce7ba42aa55.zip
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
-rw-r--r--build.gradle10
-rw-r--r--build.xml33
-rw-r--r--sonar/excelant/pom.xml22
-rw-r--r--sonar/integration-test/pom.xml6
-rw-r--r--sonar/ooxml/pom.xml14
-rw-r--r--sonar/pom.xml8
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.
<dependency prefix="ooxml.test.javassist" artifact="org.javassist:javassist:3.27.0-GA" usage="ooxml-tests"/>
<!-- coverage libs -->
- <dependency prefix="jacoco" artifact="org.jacoco:jacoco:0.8.5" usage="util" packaging="zip"/>
+ <dependency prefix="jacoco" artifact="org.jacoco:jacoco:0.8.6" usage="util" packaging="zip"/>
<dependency prefix="asm" artifact="org.ow2.asm:asm:9.0-beta" usage="util"/>
<dependency prefix="asm-commons" artifact="org.ow2.asm:asm-commons:9.0-beta" usage="util"/>
<dependency prefix="asm-tree" artifact="org.ow2.asm:asm-tree:9.0-beta" usage="util"/>
@@ -592,9 +592,34 @@ under the License.
<delete dir="compile-lib" failonerror="false"/>
<delete dir="ooxml-lib" failonerror="false"/>
<delete dir="ooxml-testlib" failonerror="false"/>
- <delete dir="${basedir}/lib" includes="*.jar" failonerror="false"/>
- <delete failonerror="false">
- <fileset dir="lib/main-tests" includes="hamcrest-core*"/>
+ <delete verbose="true" failonerror="false">
+ <fileset dir="${basedir}/lib" includes="*.jar"/>
+ <fileset dir="${basedir}/lib/excelant">
+ <include name="ant*-1.10.1.jar"/>
+ </fileset>
+ <fileset dir="${basedir}/lib/main-tests">
+ <include name="mockito-core-3.2.4.jar"/>
+ <include name="hamcrest-core*"/>
+ </fileset>
+ <fileset dir="${basedir}/lib/ooxml">
+ <include name="xmlbeans-3.1.0.jar"/>
+ </fileset>
+ <fileset dir="${basedir}/lib/ooxml-provided">
+ <include name="bcpkix-jdk15on-1.65.jar"/>
+ <include name="bcprov-ext-jdk15on-1.65.jar"/>
+ </fileset>
+ <fileset dir="${basedir}/lib/ooxml-tests">
+ <include name="guava-20.0.jar"/>
+ </fileset>
+ <fileset dir="${basedir}/lib/util">
+ <include name="asm*7.2.jar"/>
+ </fileset>
+ <fileset dir="${basedir}/lib/util">
+ <include name="jacoco-0.8.5.zip"/>
+ </fileset>
+ <fileset dir="${basedir}/lib/excelant">
+ <include name="ant*1.10.1.jar"/>
+ </fileset>
</delete>
<condition property="jars.present">
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 @@
</goals>
<configuration>
<outputDirectory>${basedir}/src/main/java</outputDirectory>
- <resources>
+ <resources>
<resource>
<directory>../../src/excelant/java</directory>
</resource>
- </resources>
- </configuration>
+ </resources>
+ </configuration>
</execution>
<execution>
<id>copy-resources</id>
@@ -45,12 +45,12 @@
</goals>
<configuration>
<outputDirectory>${basedir}/src/main/resources</outputDirectory>
- <resources>
+ <resources>
<resource>
<directory>../../src/excelant/resources</directory>
</resource>
- </resources>
- </configuration>
+ </resources>
+ </configuration>
</execution>
<execution>
<id>copy-tests</id>
@@ -61,12 +61,12 @@
</goals>
<configuration>
<outputDirectory>${basedir}/src/test/java</outputDirectory>
- <resources>
+ <resources>
<resource>
<directory>../../src/excelant/testcases</directory>
</resource>
- </resources>
- </configuration>
+ </resources>
+ </configuration>
</execution>
</executions>
</plugin>
@@ -82,7 +82,7 @@
</fileset>
</filesets>
</configuration>
- </plugin>
+ </plugin>
</plugins>
</build>
@@ -108,7 +108,7 @@
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
- <version>1.10.1</version>
+ <version>1.10.8</version>
</dependency>
</dependencies>
</project>
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 @@
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
- <version>0.9.11</version>
+ <version>0.9.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
- <version>1.19</version>
+ <version>1.25</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
- <version>1.10.7</version>
+ <version>1.10.8</version>
<scope>test</scope>
</dependency>
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 @@
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
- <version>1.65</version>
+ <version>1.66</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
- <version>1.65</version>
+ <version>1.66</version>
</dependency>
<dependency>
<groupId>org.apache.santuario</groupId>
<artifactId>xmlsec</artifactId>
- <version>2.1.5</version>
+ <version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
@@ -169,20 +169,20 @@
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
- <version>0.9.11</version>
+ <version>0.9.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
- <version>1.19</version>
+ <version>1.25</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
- <version>1.19</version>
+ <version>1.25</version>
<scope>test</scope>
</dependency>
@@ -190,7 +190,7 @@
<!-- don't add it to the distribution -->
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-all</artifactId>
- <version>1.11</version>
+ <version>1.13</version>
</dependency>
</dependencies>
</project>
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 @@
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<!-- define some of the third-party or plugin-versions globally to use the same in all modules -->
- <xmlbeans.version>3.1.0</xmlbeans.version>
+ <xmlbeans.version>4.0.0</xmlbeans.version>
<junit.version>4.13</junit.version>
- <xmlunit.version>2.6.3</xmlunit.version>
- <mockito.version>2.13.0</mockito.version>
+ <xmlunit.version>2.7.0</xmlunit.version>
+ <mockito.version>3.5.0</mockito.version>
<maven.plugin.resources.version>3.1.0</maven.plugin.resources.version>
<maven.plugin.jar.version>3.2.0</maven.plugin.jar.version>
<maven.plugin.clean.version>3.1.0</maven.plugin.clean.version>
@@ -145,7 +145,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
- <version>0.8.5</version>
+ <version>0.8.6</version>
<executions>
<execution>
<goals>