Commit 18621d57 authored by Ate Douma's avatar Ate Douma

CMS-11086 Upgrade to jackrabbit-2.16.1-h1 and Tika 1.17 (see: REPO-1950)

parent 687ee73c
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2014-2017 Hippo B.V. (http://www.onehippo.com)
Copyright 2014-2018 Hippo B.V. (http://www.onehippo.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
......@@ -21,7 +21,7 @@
<parent>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-cms7-project</artifactId>
<version>29.3</version>
<version>29.4-SNAPSHOT</version>
</parent>
<name>Hippo CMS7 Services - webfiles</name>
......@@ -93,14 +93,15 @@
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${commons-lang.version}</version>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-tika</artifactId>
<version>${hippo.repository.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${commons-lang.version}</version>
</dependency>
<dependency>
......
/*
* Copyright 2014-2015 Hippo B.V. (http://www.onehippo.com)
* Copyright 2014-2018 Hippo B.V. (http://www.onehippo.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -38,6 +38,7 @@ import org.onehippo.cms7.services.webfiles.WebFileBundle;
import org.onehippo.cms7.services.webfiles.WebFileException;
import org.onehippo.cms7.services.webfiles.WebFileNotFoundException;
import org.onehippo.cms7.services.webfiles.WebFileTagNotFoundException;
import org.onehippo.repository.tika.TikaFactory;
import org.onehippo.repository.util.JcrConstants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......@@ -59,7 +60,7 @@ public class WebFileBundleImpl implements WebFileBundle {
public static final String PROPERTY_WEB_FILE_BUNDLE_ANTICACHE = "webfiles:anticache";
private static final Tika tika = new Tika();
private static final Tika tika = TikaFactory.newTika();
private final Session session;
private final Node bundle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment