]> source.dussan.org Git - poi.git/commitdiff
add byte-buddy and objenesis dependencies for mockito
authorPJ Fanning <fanningpj@apache.org>
Tue, 30 Jan 2018 12:57:47 +0000 (12:57 +0000)
committerPJ Fanning <fanningpj@apache.org>
Tue, 30 Jan 2018 12:57:47 +0000 (12:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822636 13f79535-47bb-0310-9956-ffa450edef68

.classpath
build.xml

index bfe9ee244c1562e96006a3f8982fe39136104015..fab72cd9ff8c8e276229e09a097c03a59ccf91cf 100644 (file)
@@ -36,5 +36,8 @@
        <classpathentry exported="true" kind="lib" path="lib/commons-collections4-4.1.jar"/>
        <classpathentry kind="lib" path="lib/commons-math3-3.6.1.jar"/>
        <classpathentry kind="lib" path="lib/mockito-core-2.13.0.jar"/>
+       <classpathentry kind="lib" path="lib/byte-buddy-1.7.9"/>
+       <classpathentry kind="lib" path="lib/byte-buddy-agent-1.7.9"/>
+       <classpathentry kind="lib" path="lib/objensis-2.6.jar"/>
        <classpathentry kind="output" path="bin"/>
 </classpath>
index 8a4dc2531a0599751cc7ec4ab9d505ae34b225fc..5a2fb1404486bc6e0f21cb4928fe8a5ccd6e1aad 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -166,7 +166,13 @@ under the License.
     <property name="main.hamcrest.url" value="${repository.m2}/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
     <property name="main.mockito.jar" location="${main.lib}/mockito-core-2.13.0.jar"/>
     <property name="main.mockito.url" value="${repository.m2}/maven2/org/mockito/mockito-core/2.13.0/mockito-core-2.13.0.jar"/>
+    <property name="main.byte-buddy.jar" location="${main.lib}/byte-buddy-1.7.9.jar"/>
+    <property name="main.byte-buddy.url" value="${repository.m2}/maven2/net/bytebuddy/byte-buddy/1.7.9/byte-buddy-1.7.9.jar"/>
+    <property name="main.byte-buddy-agent.jar" location="${main.lib}/byte-buddy-agent-1.7.9.jar"/>
+    <property name="main.byte-buddy-agent.url" value="${repository.m2}/maven2/net/bytebuddy/byte-buddy-agent/1.7.9/byte-buddy-agent-1.7.9.jar"/>
     <property name="main.ant.jar" location="${main.lib}/ant-1.10.1.jar"/>
+    <property name="main.objenesis.jar" location="${main.lib}/objenesis-2.6.jar"/>
+    <property name="main.objenesis.url" value="${repository.m2}/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.jar"/>
     <property name="main.ant.url" value="${repository.m2}/maven2/org/apache/ant/ant/1.10.1/ant-1.10.1.jar"/>
     <property name="main.antlauncher.jar" location="${main.lib}/ant-launcher-1.10.1.jar"/>
     <property name="main.antlauncher.url" value="${repository.m2}/maven2/org/apache/ant/ant-launcher/1.10.1/ant-launcher-1.10.1.jar"/>
@@ -320,6 +326,9 @@ under the License.
         <pathelement location="${main.jmhAnnotation.jar}"/>
         <pathelement location="${main.hamcrest.jar}"/>
         <pathelement location="${main.mockito.jar}"/>
+        <pathelement location="${main.byte-buddy.jar}"/>
+        <pathelement location="${main.byte-buddy-agent.jar}"/>
+        <pathelement location="${main.objenesis.jar}"/>
     </path>
 
     <path id="scratchpad.classpath">
@@ -624,6 +633,9 @@ under the License.
                     <available file="${main.jmhAnnotation.jar}"/>
                     <available file="${main.hamcrest.jar}"/>
                     <available file="${main.mockito.jar}"/>
+                    <available file="${main.byte-buddy.jar}"/>
+                    <available file="${main.byte-buddy-agent.jar}"/>
+                    <available file="${main.objenesis.jar}"/>
                     <available file="${main.ant.jar}"/>
                     <available file="${main.antlauncher.jar}"/>
                     <available file="${asm.jar}"/>
@@ -656,6 +668,9 @@ under the License.
         <downloadfile src="${main.jmhAnnotation.url}" dest="${main.jmhAnnotation.jar}"/>
         <downloadfile src="${main.hamcrest.url}" dest="${main.hamcrest.jar}"/>
         <downloadfile src="${main.mockito.url}" dest="${main.mockito.jar}"/>
+        <downloadfile src="${main.byte-buddy.url}" dest="${main.byte-buddy.jar}"/>
+        <downloadfile src="${main.byte-buddy-agent.url}" dest="${main.byte-buddy-agent.jar}"/>
+        <downloadfile src="${main.objenesis.url}" dest="${main.objenesis.jar}"/>
         <downloadfile src="${main.ant.url}" dest="${main.ant.jar}"/>
         <downloadfile src="${main.antlauncher.url}" dest="${main.antlauncher.jar}"/>
         <downloadfile src="${asm.url}" dest="${asm.jar}"/>