# This file is used to control our Jar dependencies and is used with jar-dependencies to vendor
# our java dependencies into vendor/jars (see https://github.com/mkristian/jar-dependencies for details)
#
# If you update this file, please run the following command to update the jars cache:
#    rm -rf Jars.lock vendor/jars && script/togo/development exec script/vendor_jars
#
# To see the dependency tree for the Jar files run the following command:
#    lock_jars --tree
#
# When adding a new dependency, please explain what it is and why we're adding it in a comment.
#---------------------------------------------------------------------------------------------------
# Jetty components we depend on
JETTY_VERSION = File.read(File.join(__dir__.sub("uri:classloader:", ""), '.jetty-version')).strip

# Main Jetty server dependency
jar 'org.eclipse.jetty:jetty-server', JETTY_VERSION

# Web application support (for loading web.xml)
jar 'org.eclipse.jetty:jetty-webapp', JETTY_VERSION

# We need this for org.eclipse.jetty.servlets.QoSFilter
jar 'org.eclipse.jetty:jetty-servlets', JETTY_VERSION

# JMX support for Jetty (we need this for JettyServer JMX stats)
jar 'org.eclipse.jetty:jetty-jmx', JETTY_VERSION

# Jetty Rewrite handler for adding response headers to assets
jar 'org.eclipse.jetty:jetty-rewrite', JETTY_VERSION

#---------------------------------------------------------------------------------------------------
# Crawler-Commons is a set of reusable Java components that implement functionality common to any web crawler.
# For now we're only interested in using the robots.txt parsing functionality.
jar 'com.github.crawler-commons:crawler-commons', '1.2'

# Apache HTTP client used by the crawler
jar 'org.apache.httpcomponents.client5:httpclient5', '5.1'

#---------------------------------------------------------------------------------------------------
# For Workplace Search thumbnails
jar 'co.elastic.thumbnails4j:thumbnails4j-all', '1.1.8'

#---------------------------------------------------------------------------------------------------
# Text extraction and other utilities
jar 'org.apache.tika:tika-core', '3.2.2'
jar 'org.apache.tika:tika-parsers-standard-package', '3.2.2'

jar 'org.slf4j:slf4j-nop', '1.7.26'
jar 'org.apache.commons:commons-lang3', '3.18.0'

#---------------------------------------------------------------------------------------------------
# Indirect dependencies that we needed to upgrade
jar 'com.google.protobuf:protobuf-java', '3.25.5'
jar 'com.github.junrar:junrar', '7.4.1'
jar 'org.jsoup:jsoup', '1.15.3'
jar 'commons-io:commons-io', '2.18.0'
jar 'org.apache.cxf:cxf-rt-transports-http', '3.6.8'
jar 'org.apache.cxf:cxf-core', '3.6.8'
jar 'com.mchange:c3p0', '0.9.5.4'
jar 'com.drewnoakes:metadata-extractor', '2.18.0'
jar 'com.beust:jcommander', '1.75'
jar 'com.mchange:c3p0', '0.9.5.4'
jar 'org.apache.commons:commons-compress', '1.28.0'
jar 'com.google.code.gson:gson', '2.8.9'
jar 'com.fasterxml.jackson.core:jackson-databind', '2.14.2'
jar 'com.fasterxml.jackson.core:jackson-core', '2.15.0-rc1'
jar 'com.fasterxml.woodstox:woodstox-core', '6.5.1'
jar 'com.google.guava:guava', '32.1.3-jre'
jar 'org.apache.uima:uimaj-core', '3.5.0'
jar 'org.apache.james:apache-mime4j-core', '0.8.10'
jar 'org.apache.pdfbox:pdfbox', '3.0.5'
jar 'org.apache.poi:poi-ooxml', '5.4.0'
jar 'org.apache.tomcat:tomcat-catalina', '9.0.109'
jar 'org.apache.tomcat:tomcat-coyote', '9.0.109'
jar 'org.apache.tomcat.embed:tomcat-embed-core', '9.0.109'
