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 diff --git a/build.xml b/build.xml index 1cdb417069..b65e30fe6a 100644 --- a/build.xml +++ b/build.xml @@ -295,7 +295,7 @@ under the License. - + 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}"