aboutsummaryrefslogtreecommitdiffstats
path: root/maven
diff options
context:
space:
mode:
authorMarius Volkhart <mariusvolkhart@apache.org>2021-03-14 18:51:12 +0000
committerMarius Volkhart <mariusvolkhart@apache.org>2021-03-14 18:51:12 +0000
commit21ba7dc108c71501196b5586567719f67eea4936 (patch)
tree54a88fda0d80c9734c588df851265f96f463e190 /maven
parentbce76497fee61c7f9362b4c0b696bee3b3e11f05 (diff)
downloadpoi-21ba7dc108c71501196b5586567719f67eea4936.tar.gz
poi-21ba7dc108c71501196b5586567719f67eea4936.zip
Specify more granular Batik dependencies
Batik-all is a strange artifact. It's POM declares dependencies on all the sub-JARs, but its JAR has all of the sub-jars repackaged. This results in multiple JARs with the same packages being added to consuming applications. This leads to problems for JPMS users. See [bug-65183]. The Ant build does not use batik-all, so the Maven and Gradle builds should not either. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887642 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven')
-rw-r--r--maven/poi-ooxml.pom18
1 files changed, 11 insertions, 7 deletions
diff --git a/maven/poi-ooxml.pom b/maven/poi-ooxml.pom
index 4f8f7ff40b..c445b1e373 100644
--- a/maven/poi-ooxml.pom
+++ b/maven/poi-ooxml.pom
@@ -93,14 +93,18 @@
</dependency>
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
- <artifactId>batik-all</artifactId>
+ <artifactId>batik-svggen</artifactId>
+ <version>1.14</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.xmlgraphics</groupId>
+ <artifactId>batik-bridge</artifactId>
+ <version>1.14</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.xmlgraphics</groupId>
+ <artifactId>batik-codec</artifactId>
<version>1.14</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>de.rototor.pdfbox</groupId>