diff options
-rw-r--r-- | build.gradle | 1 | ||||
-rw-r--r-- | build.xml | 2 | ||||
-rw-r--r-- | osgi/README.md | 2 | ||||
-rw-r--r-- | poi-ooxml/build.gradle | 4 |
4 files changed, 5 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle index 88d9300da3..24dea8c8dc 100644 --- a/build.gradle +++ b/build.gradle @@ -132,6 +132,7 @@ subprojects { graphics2dVersion = '3.0.1' pdfboxVersion = '3.0.1' saxonVersion = '12.4' + xmlSecVersion = '3.0.4' apiGuardianVersion = '1.1.2' jdkVersion = (project.properties['jdkVersion'] ?: '8') as int @@ -295,7 +295,7 @@ under the License. <dependency prefix="main.antlauncher" artifact="org.apache.ant:ant-launcher:1.10.14" usage="excelant"/> <!-- xml signature libs - not part of the distribution --> - <dependency prefix="dsig.xmlsec" artifact="org.apache.santuario:xmlsec:3.0.3" usage="ooxml-provided"/> + <dependency prefix="dsig.xmlsec" artifact="org.apache.santuario:xmlsec:3.0.4" usage="ooxml-provided"/> <dependency prefix="dsig.bouncycastle-prov" artifact="org.bouncycastle:bcprov-jdk18on:1.77" usage="ooxml-provided"/> <dependency prefix="dsig.bouncycastle-pkix" artifact="org.bouncycastle:bcpkix-jdk18on:1.77" usage="ooxml-provided"/> <dependency prefix="dsig.bouncycastle-util" artifact="org.bouncycastle:bcutil-jdk18on:1.77" usage="ooxml-provided"/> diff --git a/osgi/README.md b/osgi/README.md index 09fc05234b..bd66279760 100644 --- a/osgi/README.md +++ b/osgi/README.md @@ -25,7 +25,7 @@ Available in Maven Central: https://mvnrepository.com/artifact/net.sf.saxon/Saxo 3. Apache XML Security for Java, Bouncy Castle and XML Commons Resolver These are required to sign or validate signed Office documents. The OSGi bundles are available in Maven Central: - - Apache XML Security for Java: https://mvnrepository.com/artifact/org.apache.santuario/xmlsec/3.0.3 + - Apache XML Security for Java: https://mvnrepository.com/artifact/org.apache.santuario/xmlsec/3.0.4 - XML Commons Resolver: https://mvnrepository.com/artifact/xml-resolver/xml-resolver/1.2-osgi diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle index 64652f98d7..58f5f824f2 100644 --- a/poi-ooxml/build.gradle +++ b/poi-ooxml/build.gradle @@ -66,11 +66,11 @@ dependencies { api "org.apache.logging.log4j:log4j-api:${log4jVersion}" api 'org.apache.commons:commons-collections4:4.4' - signingImplementation 'org.apache.santuario:xmlsec:3.0.3' + signingImplementation "org.apache.santuario:xmlsec:${xmlSecVersion}" signingImplementation "org.bouncycastle:bcpkix-jdk18on:${bouncyCastleVersion}" signingImplementation "org.bouncycastle:bcutil-jdk18on:${bouncyCastleVersion}" - rendersignImplementation 'org.apache.santuario:xmlsec:3.0.3' + rendersignImplementation "org.apache.santuario:xmlsec:${xmlSecVersion}" rendersignImplementation "org.bouncycastle:bcpkix-jdk18on:${bouncyCastleVersion}" rendersignImplementation "org.bouncycastle:bcutil-jdk18on:${bouncyCastleVersion}" |