# 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/vendor_jars
#
# 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 = '9.4.30.v20200611'
jar 'org.eclipse.jetty:jetty-servlets', JETTY_VERSION
jar 'org.eclipse.jetty:jetty-runner', JETTY_VERSION,
  :exclusions => [
    'org.eclipse.jetty:apache-jsp',
    'org.eclipse.jetty:apache-jstl',
    'org.eclipse.jetty:jetty-jaas',
    'org.eclipse.jetty:jetty-jndi',
    'org.eclipse.jetty.websocket:websocket-server',
  ]

# Jruby Rack for integrating our application with Jetty (via a Servlet API)
jar 'org.jruby.rack:jruby-rack', '1.1.21',
  :exclusions => [
    'org.jruby:jruby-complete' # We don't need jruby jars since those are vendored for us by warbler
  ]

jar 'org.apache.tika:tika-parsers', '1.24.1'
jar 'org.slf4j:slf4j-nop', '1.7.26'
jar 'com.drewnoakes:metadata-extractor', '2.13.0'
jar 'com.beust:jcommander', '1.75'
jar 'org.apache.cxf:cxf-rt-transports-http', '3.3.5'
jar 'com.mchange:c3p0', '0.9.5.4'
jar 'org.apache.commons:commons-lang3', '3.10'
jar 'org.apache.pdfbox:pdfbox', '2.0.17'
jar 'fr.opensagres.xdocreport:fr.opensagres.xdocreport.converter.docx.xwpf', '2.0.2',
  :exclusions => [
    'com.lowagie:itext'
  ]
