diff --git a/pom.xml b/pom.xml
index 8404a62..cb11bf6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
2.20.2
2.8.11
1.7.4
- 1.21
+ 2.5.0
${project.basedir}/distro
REST web service for Jackrabbit
@@ -48,12 +48,21 @@
pom
import
+
+ org.apache.tika
+ tika-parsers
+ 2.5.0
+ pom
+
org.aspectj
aspectjrt
1.8.2
+
+
+
@@ -181,24 +190,16 @@
-
-
- org.apache.tika
- tika-parsers
- 1.21
-
-
- org.apache.cxf
- cxf-rt-rs-client
-
-
-
-
org.apache.tika
tika-core
- 1.21
+ 2.5.0
+
+
+ org.apache.tika
+ tika-parser-microsoft-module
+ 2.5.0
@@ -397,7 +398,7 @@
minio
8.3.3
-
+
org.gcube.social-networking
social-service-client
diff --git a/src/main/java/org/gcube/data/access/storagehub/handlers/items/ItemHandler.java b/src/main/java/org/gcube/data/access/storagehub/handlers/items/ItemHandler.java
index ed6fb02..4cfcc3b 100644
--- a/src/main/java/org/gcube/data/access/storagehub/handlers/items/ItemHandler.java
+++ b/src/main/java/org/gcube/data/access/storagehub/handlers/items/ItemHandler.java
@@ -346,7 +346,6 @@ public class ItemHandler {
Detector detector = config.getDetector();
TikaInputStream stream = TikaInputStream.get(is1);
Metadata metadata = new Metadata();
- metadata.add(Metadata.RESOURCE_NAME_KEY, name);
mediaType = detector.detect(stream, metadata);
String mimeType = mediaType.getBaseType().toString();