Author: fanningpj
Date: Wed Dec 16 19:44:54 2020
New Revision: 1884520
URL: http://svn.apache.org/viewvc?rev=1884520&view=rev
Log:
add back log4j 1.x as a test-only dependency of ooxml-tests
Modified:
poi/trunk/.classpath
poi/trunk/build.xml
Modified: poi/trunk/.classpath
URL:
http://svn.apache.org/viewvc/poi/trunk/.classpath?rev=1884520&r1=1884519&r2=1884520&view=diff
==============================================================================
--- poi/trunk/.classpath (original)
+++ poi/trunk/.classpath Wed Dec 16 19:44:54 2020
@@ -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"/>
Modified: poi/trunk/build.xml
URL:
http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1884520&r1=1884519&r2=1884520&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Wed Dec 16 19:44:54 2020
@@ -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}"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]