Skip to content

Commit 3956a65

Browse files
committed
Revisit tika dependencies
1 parent a5d7913 commit 3956a65

File tree

1 file changed

+34
-12
lines changed

1 file changed

+34
-12
lines changed

settings.gradle

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,14 @@ dependencyResolutionManagement {
144144
withModule("org.apache.arrow:arrow-vector", ExcludeTransitivesRule)
145145
withModule("org.apache.commons:commons-compress", ExcludeTransitivesRule)
146146
withModule("org.apache.commons:commons-text", ExcludeTransitivesRule)
147-
147+
148148
// org.apache.directory.api:api-asn1-ber brings in org.slf4j:slf4j-api:1.7.25. We use 2.0.6
149149
withModule("org.apache.directory.api:api-asn1-ber", ExcludeTransitiveOtherGroupsRule)
150150

151151
// org.apache.directory.api:api-ldap-client-api brings in org.apache.mina:mina-core:2.0.16. We use 2.2.4
152152
withModule("org.apache.directory.api:api-ldap-client-api", ExcludeTransitiveOtherGroupsRule)
153153
withModule("org.apache.directory.api:api-ldap-codec-core", ExcludeTransitivesRule)
154-
154+
155155
// "org.apache.directory.api:api-ldap-codec-standalone brings in org.apache.mina:mina-core:2.0.16. We use 2.2.4
156156
withModule("org.apache.directory.api:api-ldap-codec-standalone", ExcludeTransitiveOtherGroupsRule)
157157

@@ -172,7 +172,7 @@ dependencyResolutionManagement {
172172

173173
// org.apache.directory.api:api-ldap-model brings in org.apache.mina:mina-core:2.0.17. We use 2.2.4
174174
withModule("org.apache.directory.api:api-ldap-net-mina", ExcludeTransitiveOtherGroupsRule)
175-
175+
176176
// org.apache.directory.api:api-asn1-ber brings in org.slf4j:slf4j-api:1.7.25. We use 2.0.6
177177
// TODO: For org.apache.directory.api dependencies we use partially 1.0.1 and partially 1.0.0. We should align these.
178178
withModule("org.apache.directory.api:api-util", ExcludeTransitivesRule)
@@ -227,19 +227,20 @@ dependencyResolutionManagement {
227227
// lucene-analysis-morfologik brings in org.carrot2:morfologik-polish:2.1.9. we use none.
228228
// lucene-analysis-morfologik brings in ua.net.nlp:morfologik-ukrainian-search:4.9.1 we use 3.7.5.
229229
withModule("org.apache.lucene:lucene-analysis-morfologik", ExcludeTransitiveOtherGroupsRule)
230-
230+
231231
// lucene-analysis-phonetic brings in commons-codec:1.17. We use 1.15
232232
withModule("org.apache.lucene:lucene-analysis-phonetic", ExcludeTransitiveOtherGroupsRule)
233233

234234
// lucene-spatial-extras brings in different version of spatial4j
235235
// lucene-spatial-extras brings in different version of s2-geometry-library-java
236236
withModule("org.apache.lucene:lucene-spatial-extras", ExcludeTransitiveOtherGroupsRule)
237-
237+
238238
// lucene-expressions brings in org.antlr:antlr4-runtime:4.13.2
239239
// lucene-expressions brings in org.ow2.asm:asm:9.6
240240
// lucene-expressions brings in org.ow2.asm:asm-commons:9.6
241241
withModule("org.apache.lucene:lucene-expressions", ExcludeTransitiveOtherGroupsRule)
242242
withModule("org.apache.lucene:lucene-test-framework", ExcludeTransitiveOtherGroupsRule)
243+
243244
withModule("org.apache.mina:mina-core", ExcludeTransitivesRule)
244245
withModule("org.apache.pdfbox:fontbox", ExcludeTransitivesRule)
245246
withModule("org.apache.pdfbox:pdfbox", ExcludeTransitivesRule)
@@ -248,14 +249,35 @@ dependencyResolutionManagement {
248249
withModule("org.apache.poi:poi-ooxml", ExcludeTransitivesRule)
249250
withModule("org.apache.poi:poi-scratchpad", ExcludeTransitivesRule)
250251
withModule("org.apache.santuario:xmlsec", ExcludeTransitivesRule)
251-
withModule("org.apache.tika:tika-core", ExcludeTransitivesRule)
252-
withModule("org.apache.tika:tika-langdetect-tika", ExcludeTransitivesRule)
253-
withModule("org.apache.tika:tika-parser-apple-module", ExcludeTransitivesRule)
252+
253+
// org.apache.tika:tika-core brings in org.slf4j:slf4j-api:2.0.17. We use 2.0.6
254+
// org.apache.tika:tika-core brings in commons-io:commons-io:2.20.0. We use 2.5
255+
withModule("org.apache.tika:tika-core", ExcludeTransitiveOtherGroupsRule)
256+
257+
// org.apache.tika:tika-langdetect-tika brings in com.optimaize.languagedetector:language-detector:0.6.
258+
withModule("org.apache.tika:tika-langdetect-tika", ExcludeTransitiveOtherGroupsRule)
259+
// org.apache.tika:tika-parser-apple-module brings in com.googlecode.plist:dd-plist:1.28.
260+
withModule("org.apache.tika:tika-parser-apple-module", ExcludeTransitiveOtherGroupsRule)
261+
// org.apache.tika:tika-parser-microsoft-module brings in com.healthmarketscience.jackcess:jackcess-encrypt:4.0.3.
262+
// org.apache.tika:tika-parser-microsoft-module brings in com.healthmarketscience.jackcess:jackcess:4.0.8.
263+
// org.apache.tika:tika-parser-microsoft-module brings in com.pff:java-libpst:0.9.3.
264+
// org.apache.tika:tika-parser-microsoft-module brings in commons-logging:commons-logging:1.3.5. We use 1.2.
265+
// org.apache.tika:tika-parser-microsoft-module brings in org.bouncycastle:bcjmail-jdk18on:1.81.
266+
// org.apache.tika:tika-parser-microsoft-module brings in org.bouncycastle:bcprov-jdk18on:1.81. We use 1.78.1/1.79.
267+
// org.apache.tika:tika-parser-microsoft-module brings in tika-parser-mail-commons.
254268
withModule("org.apache.tika:tika-parser-microsoft-module", ExcludeTransitivesRule)
255-
withModule("org.apache.tika:tika-parser-miscoffice-module", ExcludeTransitivesRule)
256-
withModule("org.apache.tika:tika-parser-pdf-module", ExcludeTransitivesRule)
257-
withModule("org.apache.tika:tika-parser-text-module", ExcludeTransitivesRule)
258-
withModule("org.apache.tika:tika-parser-xmp-commons", ExcludeTransitivesRule)
269+
// org.apache.tika:tika-parser-miscoffice-module brings in org.glassfish.jaxb:jaxb-runtime:4.0.5.
270+
withModule("org.apache.tika:tika-parser-miscoffice-module", ExcludeTransitiveOtherGroupsRule)
271+
// org.apache.tika:tika-parser-pdf-module brings in org.apache.pdfbox:pdfbox-tools:3.0.5.
272+
// org.apache.tika:tika-parser-pdf-module brings in org.bouncycastle:bcjmail-jdk18on:1.81. Closest we use is bcprov-jdk18on:1.78.1/1.79.
273+
// org.apache.tika:tika-parser-pdf-module brings in org.bouncycastle:bcprov-jdk18on:1.81. We use 1.78.1/1.79.
274+
// org.apache.tika:tika-parser-pdf-module brings in org.glassfish.jaxb:jaxb-runtime:4.0.5.
275+
withModule("org.apache.tika:tika-parser-pdf-module", ExcludeTransitiveOtherGroupsRule)
276+
// org.apache.tika:tika-parser-text-module brings in com.github.albfernandez:juniversalchardet:2.5.0..
277+
// org.apache.tika:tika-parser-text-module brings in org.apache.commons:commons-csv:1.14.1. We use 1.0.
278+
withModule("org.apache.tika:tika-parser-text-module", ExcludeTransitiveOtherGroupsRule)
279+
// org.apache.tika:tika-parser-xmp-commons brings in org.apache.pdfbox:xmpbox:3.0.5.
280+
withModule("org.apache.tika:tika-parser-xmp-commons", ExcludeTransitiveOtherGroupsRule)
259281
withModule("org.apache.xmlbeans:xmlbeans", ExcludeTransitivesRule)
260282
withModule("org.bouncycastle:bcpg-fips", ExcludeTransitivesRule)
261283
withModule("org.bouncycastle:bcpkix-jdk18on", ExcludeTransitivesRule)

0 commit comments

Comments
 (0)