diff options
author | PJ Fanning <fanningpj@apache.org> | 2020-12-16 19:44:54 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2020-12-16 19:44:54 +0000 |
commit | 2b154b8d8f03eb3dda1602f5ec6a2daac802f945 (patch) | |
tree | eba5b5be38f96758004f804b19b0dbdc6119f118 | |
parent | 8a66685c2dca10890b98e8ad22679d6d78772839 (diff) | |
download | poi-2b154b8d8f03eb3dda1602f5ec6a2daac802f945.tar.gz poi-2b154b8d8f03eb3dda1602f5ec6a2daac802f945.zip |
add back log4j 1.x as a test-only dependency of ooxml-tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884520 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | .classpath | 7 | ||||
-rw-r--r-- | build.xml | 11 |
2 files changed, 12 insertions, 6 deletions
diff --git a/.classpath b/.classpath index bc1b182009..d11178bfe0 100644 --- a/.classpath +++ b/.classpath @@ -28,9 +28,10 @@ <classpathentry exported="true" kind="lib" path="compile-lib/slf4j-api-1.7.30.jar"/> <classpathentry kind="lib" path="lib/ooxml-provided/bcpkix-jdk15on-1.67.jar"/> <classpathentry kind="lib" path="lib/ooxml-provided/bcprov-jdk15on-1.67.jar"/> - <classpathentry kind="lib" path="ooxml-tests/reflections.jar"/> - <classpathentry kind="lib" path="ooxml-tests/guava.jar"/> - <classpathentry kind="lib" path="ooxml-tests/javassist.jar"/> + <classpathentry kind="lib" path="lib/ooxml-tests/reflections-0.9.12.jar"/> + <classpathentry kind="lib" path="lib/ooxml-tests/guava-30.0-jre.jar"/> + <classpathentry kind="lib" path="lib/ooxml-tests/javassist-3.27.0-GA.jar"/> + <classpathentry kind="lib" path="lib/ooxml-tests/log4j-1.2.17.jar"/> <classpathentry exported="true" kind="lib" path="lib/ooxml-provided/xmlsec-2.2.0.jar"/> <classpathentry exported="true" kind="lib" path="lib/commons-codec-1.15.jar"/> <classpathentry exported="true" kind="lib" path="lib/commons-logging-1.2.jar"/> @@ -310,6 +310,7 @@ under the License. <dependency prefix="ooxml.test.reflections" artifact="org.reflections:reflections:0.9.12" usage="ooxml-tests"/> <dependency prefix="ooxml.test.guava" artifact="com.google.guava:guava:30.0-jre" usage="ooxml-tests"/> <dependency prefix="ooxml.test.javassist" artifact="org.javassist:javassist:3.27.0-GA" usage="ooxml-tests"/> + <dependency prefix="ooxml.test.log4j" artifact="log4j:log4j:1.2.17" usage="ooxml-tests"/> <!-- coverage libs --> <dependency prefix="jacoco" artifact="org.jacoco:jacoco:0.8.6" usage="util" packaging="zip"/> @@ -440,6 +441,7 @@ under the License. <path refid="main.classpath"/> <pathelement location="${main.output.dir}"/> <pathelement location="${ooxml.test.guava.jar}"/> + <pathelement location="${ooxml.test.log4j.jar}"/> <!-- classes are omitted on test cases outside the xml-dsign area to avoid classpath poisioning --> <!--path refid="ooxml.xmlsec.classpath"/--> <!-- Used only for ExtractorFactory, see #57963 --> @@ -474,6 +476,7 @@ under the License. <pathelement location="${ooxml.test.reflections.jar}"/> <pathelement location="${ooxml.test.guava.jar}"/> <pathelement location="${ooxml.test.javassist.jar}"/> + <pathelement location="${ooxml.test.log4j.jar}"/> </path> <path id="test.ooxml.lite.verify.classpath"> @@ -606,11 +609,11 @@ under the License. <include name="ant*-1.10.1.jar"/> </fileset> <fileset dir="${basedir}/lib/main"> - <include name="log4j*.jar"/> + <include name="log4j-1.2*.jar"/> </fileset> <fileset dir="${basedir}/lib/main-tests"> <include name="mockito-core-3.2*.jar"/> - <include name="mockito-core-3.5.0.jar"/> + <include name="mockito-core-3.5*.jar"/> <include name="hamcrest-core*"/> </fileset> <fileset dir="${basedir}/lib/ooxml"> @@ -618,6 +621,7 @@ under the License. </fileset> <fileset dir="${basedir}/lib/ooxml-provided"> <include name="bcpkix-jdk15on-1.65.jar"/> + <include name="bcpkix-jdk15on-1.66.jar"/> <include name="bcprov-ext-jdk15on-1.65.jar"/> <include name="bcprov-ext-jdk15on-1.66.jar"/> </fileset> @@ -720,6 +724,7 @@ under the License. <available file="${ooxml.test.reflections.jar}"/> <available file="${ooxml.test.guava.jar}"/> <available file="${ooxml.test.javassist.jar}"/> + <available file="${ooxml.test.log4j.jar}"/> <available file="${svg.xml-apis-ext.jar}"/> <available file="${svg.batik-all.jar}"/> <available file="${svg.xmlgraphics-commons.jar}"/> @@ -734,13 +739,13 @@ under the License. <target name="fetch-ooxml-jars" depends="check-ooxml-jars" unless="ooxml.jars.present"> <mkdir dir="${ooxml.lib}"/> <mkdir dir="${ooxml-tests.lib}"/> -<!-- <downloadfile src="${ooxml.xml-apis.url}" dest="${ooxml.xml-apis.jar}"/>--> <downloadfile src="${ooxml.curvesapi.url}" dest="${ooxml.curvesapi.jar}"/> <downloadfile src="${ooxml.xmlbeans.url}" dest="${ooxml.xmlbeans.jar}"/> <downloadfile src="${ooxml.commons-compress.url}" dest="${ooxml.commons-compress.jar}"/> <downloadfile src="${ooxml.test.reflections.url}" dest="${ooxml.test.reflections.jar}"/> <downloadfile src="${ooxml.test.guava.url}" dest="${ooxml.test.guava.jar}"/> <downloadfile src="${ooxml.test.javassist.url}" dest="${ooxml.test.javassist.jar}"/> + <downloadfile src="${ooxml.test.log4j.url}" dest="${ooxml.test.log4j.jar}"/> <downloadfile src="${svg.batik-all.url}" dest="${svg.batik-all.jar}"/> <downloadfile src="${svg.xml-apis-ext.url}" dest="${svg.xml-apis-ext.jar}"/> <downloadfile src="${svg.xmlgraphics-commons.url}" dest="${svg.xmlgraphics-commons.jar}"/> |