depend on com.fasterxml.jackson.core 2.8.4 160/head
authorTill Westmann <tillw@apache.org>
Fri, 18 Nov 2016 19:25:57 +0000 (11:25 -0800)
committerTill Westmann <tillw@apache.org>
Fri, 18 Nov 2016 19:25:57 +0000 (11:25 -0800)
pom.xml
vxquery-core/pom.xml
vxquery-core/src/main/java/org/apache/vxquery/jsonparser/JSONParser.java
vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/util/FunctionHelper.java

diff --git a/pom.xml b/pom.xml
index 3f1f390..cc8884f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
             </dependency>
 
             <dependency>
+                <groupId>com.fasterxml.jackson.core</groupId>
+                <artifactId>jackson-core</artifactId>
+                <version>2.8.4</version>
+            </dependency>
+
+            <dependency>
                 <groupId>commons-io</groupId>
                 <artifactId>commons-io</artifactId>
                 <version>2.4</version>
index 920a195..47015a9 100644 (file)
         </dependency>
 
         <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-core</artifactId>
+        </dependency>
+
+        <dependency>
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
         </dependency>
index 68fbb82..ad8db4e 100644 (file)
@@ -20,9 +20,6 @@ import java.io.Reader;
 import java.util.ArrayList;
 import java.util.List;
 
-import org.apache.htrace.fasterxml.jackson.core.JsonFactory;
-import org.apache.htrace.fasterxml.jackson.core.JsonParser;
-import org.apache.htrace.fasterxml.jackson.core.JsonToken;
 import org.apache.hyracks.api.exceptions.HyracksDataException;
 import org.apache.hyracks.data.std.primitive.UTF8StringPointable;
 import org.apache.hyracks.data.std.util.ArrayBackedValueStorage;
@@ -33,6 +30,10 @@ import org.apache.vxquery.datamodel.builders.sequence.SequenceBuilder;
 import org.apache.vxquery.datamodel.values.ValueTag;
 import org.apache.vxquery.xmlparser.IParser;
 
+import com.fasterxml.jackson.core.JsonFactory;
+import com.fasterxml.jackson.core.JsonParser;
+import com.fasterxml.jackson.core.JsonToken;
+
 public class JSONParser implements IParser {
 
     final JsonFactory factory;
index 85f519e..49e1271 100644 (file)
@@ -16,7 +16,6 @@
  */
 package org.apache.vxquery.runtime.functions.util;
 
-import java.io.BufferedReader;
 import java.io.DataInputStream;
 import java.io.DataOutput;
 import java.io.File;
@@ -32,8 +31,6 @@ import java.util.List;
 
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
-import org.apache.htrace.fasterxml.jackson.core.JsonParseException;
-import org.apache.hyracks.api.exceptions.HyracksDataException;
 import org.apache.hyracks.data.std.api.IPointable;
 import org.apache.hyracks.data.std.primitive.DoublePointable;
 import org.apache.hyracks.data.std.primitive.LongPointable;