diff --git a/build.gradle b/build.gradle
index 6b7b5cb2e0..845d107044 100644
--- a/build.gradle
+++ b/build.gradle
@@ -311,7 +311,9 @@ project('ooxml') {
// compile only, don't add it to our dist as it blows up the size
compile "org.apache.xmlgraphics:batik-svggen:${batikVersion}"
- compile "org.apache.xmlgraphics:batik-bridge:${batikVersion}"
+ compile("org.apache.xmlgraphics:batik-bridge:${batikVersion}") {
+ exclude group: 'org.apache.xmlgraphics', module: 'batik-script'
+ }
compile "org.apache.xmlgraphics:batik-codec:${batikVersion}"
compile 'xml-apis:xml-apis-ext:1.3.04'
compile 'org.apache.xmlgraphics:xmlgraphics-commons:2.4'
@@ -420,6 +422,7 @@ project('integrationtest') {
test {
// exclude these from the normal test-run
+ exclude '**/TestAllFiles.class'
exclude '**/*FileHandler.class'
}
diff --git a/build.xml b/build.xml
index d85f319a33..7e6ddf7af9 100644
--- a/build.xml
+++ b/build.xml
@@ -314,7 +314,6 @@ under the License.
-
@@ -491,7 +490,6 @@ under the License.
-
@@ -805,7 +803,6 @@ under the License.
-
@@ -843,7 +840,6 @@ under the License.
-
@@ -2679,7 +2675,6 @@ under the License.
-
diff --git a/maven/poi-ooxml.pom b/maven/poi-ooxml.pom
index c445b1e373..d43f72a6e8 100644
--- a/maven/poi-ooxml.pom
+++ b/maven/poi-ooxml.pom
@@ -100,6 +100,12 @@
org.apache.xmlgraphics
batik-bridge
1.14
+
+
+ org.apache.xmlgraphics
+ batik-script
+
+
org.apache.xmlgraphics
diff --git a/sonar/ooxml/pom.xml b/sonar/ooxml/pom.xml
index 6248a47d7a..90df1cbb9e 100644
--- a/sonar/ooxml/pom.xml
+++ b/sonar/ooxml/pom.xml
@@ -160,6 +160,12 @@
org.apache.xmlgraphics
batik-bridge
1.14
+
+
+ org.apache.xmlgraphics
+ batik-script
+
+
org.apache.xmlgraphics