]> source.dussan.org Git - poi.git/commitdiff
upgrade xmlsec, slf4j, batik
authorPJ Fanning <fanningpj@apache.org>
Thu, 21 Mar 2019 13:43:19 +0000 (13:43 +0000)
committerPJ Fanning <fanningpj@apache.org>
Thu, 21 Mar 2019 13:43:19 +0000 (13:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855990 13f79535-47bb-0310-9956-ffa450edef68

.classpath
build.gradle
build.xml
sonar/ooxml/pom.xml
src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java

index 6c3084ee238d75231d0b3b00e81d1714d2f4cdb2..77baa579b1e11f43d06d478acf8ce0ca0629596e 100644 (file)
        <classpathentry kind="lib" path="lib/jmh-core-1.19.jar"/>
        <classpathentry kind="lib" path="lib/jmh-generator-annprocess-1.19.jar"/>
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
-       <classpathentry exported="true" kind="lib" path="compile-lib/slf4j-api-1.7.25.jar"/>
+       <classpathentry exported="true" kind="lib" path="compile-lib/slf4j-api-1.7.26.jar"/>
        <classpathentry kind="lib" path="compile-lib/bcpkix-jdk15on-1.61.jar"/>
        <classpathentry kind="lib" path="compile-lib/bcprov-ext-jdk15on-1.61.jar"/>
        <classpathentry kind="lib" path="ooxml-testlib/reflections.jar"/>
        <classpathentry kind="lib" path="ooxml-testlib/guava.jar"/>
        <classpathentry kind="lib" path="ooxml-testlib/javassist.jar"/>
-       <classpathentry exported="true" kind="lib" path="compile-lib/xmlsec-2.1.0.jar"/>
+       <classpathentry exported="true" kind="lib" path="compile-lib/xmlsec-2.1.2.jar"/>
        <classpathentry exported="true" kind="lib" path="lib/commons-codec-1.12.jar"/>
        <classpathentry exported="true" kind="lib" path="lib/commons-logging-1.2.jar"/>
        <classpathentry exported="true" kind="lib" path="lib/commons-collections4-4.3.jar"/>
index 2d574fed04e5743616283656ee60d7d212ab5a0b..774073f2b3e2f47dd3cccd7ba21fddf4039c933b 100644 (file)
@@ -234,12 +234,12 @@ project('ooxml') {
         compile 'org.apache.commons:commons-collections4:4.3'
         compile 'org.apache.commons:commons-math3:3.6.1'
         compile 'org.apache.commons:commons-compress:1.18'
-        compile 'org.apache.santuario:xmlsec:2.1.0'
+        compile 'org.apache.santuario:xmlsec:2.1.2'
         compile 'org.bouncycastle:bcpkix-jdk15on:1.61'
         compile 'com.github.virtuald:curvesapi:1.06'
 
         // compile only, don't add it to our dist as it blows up the size
-        compile 'org.apache.xmlgraphics:batik-all:1.10'
+        compile 'org.apache.xmlgraphics:batik-all:1.11'
         compile 'xml-apis:xml-apis-ext:1.3.04'
         compile 'org.apache.xmlgraphics:xmlgraphics-commons:2.3'
 
index e794387d29fa0d28a2438155be2fc21686670e08..9c6bc603a33c2b3df88023694ee0568fd2af9541 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -220,18 +220,18 @@ under the License.
               value="${repository.m2}/maven2/javax/activation/activation/1.1.1/activation-1.1.1.jar"/>
 
     <!-- xml signature libs -->
-    <property name="dsig.xmlsec.jar" location="${compile.lib}/xmlsec-2.1.0.jar"/>
-    <property name="dsig.xmlsec.url" value="${repository.m2}/maven2/org/apache/santuario/xmlsec/2.1.0/xmlsec-2.1.0.jar"/>
+    <property name="dsig.xmlsec.jar" location="${compile.lib}/xmlsec-2.1.2.jar"/>
+    <property name="dsig.xmlsec.url" value="${repository.m2}/maven2/org/apache/santuario/xmlsec/2.1.2/xmlsec-2.1.2.jar"/>
     <property name="dsig.bouncycastle-prov.jar" location="${compile.lib}/bcprov-ext-jdk15on-1.61.jar"/>
     <property name="dsig.bouncycastle-prov.url" value="${repository.m2}/maven2/org/bouncycastle/bcprov-ext-jdk15on/1.61/bcprov-ext-jdk15on-1.61.jar"/>
     <property name="dsig.bouncycastle-pkix.jar" location="${compile.lib}/bcpkix-jdk15on-1.61.jar"/>
     <property name="dsig.bouncycastle-pkix.url" value="${repository.m2}/maven2/org/bouncycastle/bcpkix-jdk15on/1.61/bcpkix-jdk15on-1.61.jar"/>
-    <property name="dsig.sl4j-api.jar" location="${compile.lib}/slf4j-api-1.7.25.jar"/>
-    <property name="dsig.sl4j-api.url" value="${repository.m2}/maven2/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar"/>
+    <property name="dsig.sl4j-api.jar" location="${compile.lib}/slf4j-api-1.7.26.jar"/>
+    <property name="dsig.sl4j-api.url" value="${repository.m2}/maven2/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar"/>
 
     <!-- svg/batik libs - not part of the distribution -->
-    <property name="svg.batik-all.url" value="${repository.m2}/maven2/org/apache/xmlgraphics/batik-all/1.10/batik-all-1.10.jar"/>
-    <property name="svg.batik-all.jar" value="${compile.lib}/batik-all-1.10.jar"/>
+    <property name="svg.batik-all.url" value="${repository.m2}/maven2/org/apache/xmlgraphics/batik-all/1.11/batik-all-1.11.jar"/>
+    <property name="svg.batik-all.jar" value="${compile.lib}/batik-all-1.11.jar"/>
     <property name="svg.xml-apis-ext.url" value="${repository.m2}/maven2/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.jar"/>
     <property name="svg.xml-apis-ext.jar" value="${compile.lib}/xml-apis-ext-1.3.04.jar"/>
     <property name="svg.xmlgraphics-commons.url" value="${repository.m2}/maven2/org/apache/xmlgraphics/xmlgraphics-commons/2.3/xmlgraphics-commons-2.3.jar"/>
@@ -718,8 +718,11 @@ under the License.
                 <include name="xmlsec-2.0.6.jar"/>
                 <include name="bc*jdk15on-1.5*.jar"/>
                 <include name="bc*jdk15on-1.60*.jar"/>
+                <include name="batik-all-1.10.jar"/>
+                <include name="xmlsec-2.1.0.jar"/>
                 <include name="slf4j-api-1.7.7.jar"/>
                 <include name="slf4j-api-1.7.12.jar"/>
+                <include name="slf4j-api-1.7.25.jar"/>
             </fileset>
         </delete>
 
index 41267d0d9e01e0e691659830a6146776f80c98ca..357990f38e6f3ff0b34d3f9001be1de47feec5d1 100644 (file)
         <dependency>
             <groupId>org.apache.santuario</groupId>
             <artifactId>xmlsec</artifactId>
-            <version>2.1.0</version>
+            <version>2.1.2</version>
         </dependency>
         <dependency>
             <groupId>org.apache.commons</groupId>
index 006dd940517ab43798005e82cee45b9fb675a485..32dc8db2e4ef5335c2c53a6824afea6a8d300575 100644 (file)
@@ -150,8 +150,8 @@ import org.w3c.dom.events.EventTarget;
  * in the classpath:</p>
  * <ul>
  * <li>BouncyCastle bcpkix and bcprov (tested against 1.61)</li>
- * <li>Apache Santuario "xmlsec" (tested against 2.1.0)</li>
- * <li>and slf4j-api (tested against 1.7.25)</li>
+ * <li>Apache Santuario "xmlsec" (tested against 2.1.2)</li>
+ * <li>and slf4j-api (tested against 1.7.26)</li>
  * </ul>
  */
 public class SignatureInfo implements SignatureConfigurable {