mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
ingest-attachment module tika dependency versions (#93755)
This commit is contained in:
parent
7d88d13312
commit
e907d89966
3 changed files with 57 additions and 28 deletions
|
@ -15,14 +15,20 @@ esplugin {
|
|||
classname 'org.elasticsearch.ingest.attachment.IngestAttachmentPlugin'
|
||||
}
|
||||
|
||||
versions << [
|
||||
// this overwrites the 'versions' map from Elasticsearch itself, but indeed we want that -- we're interested in managing our dependencies
|
||||
// as we (and tika) demand, and are not interested in, say, having the same version of commons-codec as elasticsearch itself
|
||||
def versions = [
|
||||
'tika' : '2.6.0',
|
||||
'pdfbox': '2.0.27',
|
||||
'poi' : '5.2.2',
|
||||
'poi' : '5.2.3',
|
||||
'mime4j': '0.8.5'
|
||||
]
|
||||
|
||||
dependencies {
|
||||
// logging
|
||||
api "org.slf4j:slf4j-api:2.0.3"
|
||||
api "commons-logging:commons-logging:1.2"
|
||||
|
||||
// mandatory for tika
|
||||
api "org.apache.tika:tika-core:${versions.tika}"
|
||||
api "org.apache.tika:tika-langdetect:${versions.tika}"
|
||||
|
@ -36,9 +42,8 @@ dependencies {
|
|||
api "org.apache.tika:tika-parser-apple-module:${versions.tika}"
|
||||
api "org.apache.tika:tika-parser-xmp-commons:${versions.tika}"
|
||||
api "org.apache.tika:tika-parser-zip-commons:${versions.tika}"
|
||||
api 'org.tukaani:xz:1.8'
|
||||
api 'org.tukaani:xz:1.9'
|
||||
api 'commons-io:commons-io:2.11.0'
|
||||
api "org.slf4j:slf4j-api:${versions.slf4j}"
|
||||
|
||||
// character set detection
|
||||
api 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3'
|
||||
|
@ -50,23 +55,22 @@ dependencies {
|
|||
api "org.apache.pdfbox:pdfbox:${versions.pdfbox}"
|
||||
api "org.apache.pdfbox:fontbox:${versions.pdfbox}"
|
||||
api "org.apache.pdfbox:jempbox:1.8.17"
|
||||
api "commons-logging:commons-logging:${versions.commonslogging}"
|
||||
// OpenOffice
|
||||
api "org.apache.poi:poi-ooxml:${versions.poi}"
|
||||
api "org.apache.poi:poi-ooxml-lite:${versions.poi}"
|
||||
api "org.apache.poi:poi:${versions.poi}"
|
||||
api "commons-codec:commons-codec:${versions.commonscodec}"
|
||||
api 'org.apache.xmlbeans:xmlbeans:5.0.3'
|
||||
api 'org.apache.commons:commons-collections4:4.1'
|
||||
api "commons-codec:commons-codec:1.15"
|
||||
api 'org.apache.xmlbeans:xmlbeans:5.1.1'
|
||||
api 'org.apache.commons:commons-collections4:4.4'
|
||||
// MS Office
|
||||
api "org.apache.poi:poi-scratchpad:${versions.poi}"
|
||||
// Apple iWork
|
||||
api 'org.apache.commons:commons-compress:1.21'
|
||||
api 'org.apache.commons:commons-compress:1.22'
|
||||
// Outlook documents
|
||||
api "org.apache.james:apache-mime4j-core:${versions.mime4j}"
|
||||
api "org.apache.james:apache-mime4j-dom:${versions.mime4j}"
|
||||
// EPUB books
|
||||
api "org.apache.commons:commons-lang3:${versions.commons_lang3}"
|
||||
api "org.apache.commons:commons-lang3:3.12.0"
|
||||
// Microsoft Word files with visio diagrams
|
||||
api 'org.apache.commons:commons-math3:3.6.1'
|
||||
// POIs dependency
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue