Skip to content

Commit e3fcf9a

Browse files
committed
TIKA-4371 -- exclude (hopefully) unneeded provided dependencies from xmlbeans (#2104)
(cherry picked from commit 1b8c1e2)
1 parent 3d2d974 commit e3fcf9a

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

tika-parent/pom.xml

+48
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,54 @@
893893
<artifactId>poi-ooxml</artifactId>
894894
<version>${poi.version}</version>
895895
</dependency>
896+
<dependency>
897+
<groupId>org.apache.xmlbeans</groupId>
898+
<artifactId>xmlbeans</artifactId>
899+
<version>5.3.0</version>
900+
<!-- need to exclude these provided dependencies -->
901+
<exclusions>
902+
<exclusion>
903+
<groupId>com.github.javaparser</groupId>
904+
<artifactId>javaparser-core</artifactId>
905+
</exclusion>
906+
<exclusion>
907+
<groupId>com.github.javaparser</groupId>
908+
<artifactId>javaparser-symbol-solver-core</artifactId>
909+
</exclusion>
910+
<exclusion>
911+
<groupId>com.sun.org.apache.xml.internal</groupId>
912+
<artifactId>resolver</artifactId>
913+
</exclusion>
914+
<exclusion>
915+
<groupId>org.apache.ant</groupId>
916+
<artifactId>ant</artifactId>
917+
</exclusion>
918+
<exclusion>
919+
<groupId>net.sf.saxon</groupId>
920+
<artifactId>Saxon-HE</artifactId>
921+
</exclusion>
922+
<exclusion>
923+
<groupId>org.apache.maven</groupId>
924+
<artifactId>maven-core</artifactId>
925+
</exclusion>
926+
<exclusion>
927+
<groupId>org.apache.maven</groupId>
928+
<artifactId>maven-model</artifactId>
929+
</exclusion>
930+
<exclusion>
931+
<groupId>org.apache.maven</groupId>
932+
<artifactId>maven-plugin-api</artifactId>
933+
</exclusion>
934+
<exclusion>
935+
<groupId>org.apache.maven.plugin-tools</groupId>
936+
<artifactId>maven-plugin-annotations</artifactId>
937+
</exclusion>
938+
<exclusion>
939+
<groupId>org.apache.maven.plugin-tools</groupId>
940+
<artifactId>maven-plugin-tools</artifactId>
941+
</exclusion>
942+
</exclusions>
943+
</dependency>
896944
<!-- prevent zookeeper 3.6.2 from being used in Apache Solr emitter by solr 8.11.4 -->
897945
<dependency>
898946
<groupId>org.apache.zookeeper</groupId>

0 commit comments

Comments
 (0)