From 3c774b8c98540642eeb706065cf0275f9891d3b2 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Thu, 8 Dec 2016 11:06:25 +0900 Subject: [PATCH] HADOOP-13842. Update jackson from 1.9.13 to 2.x in hadoop-maven-plugins. --- hadoop-maven-plugins/pom.xml | 12 ++++-------- .../hadoop/maven/plugin/protoc/ProtocRunner.java | 5 +++-- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/hadoop-maven-plugins/pom.xml b/hadoop-maven-plugins/pom.xml index 51b8f910d8e..eae03a19126 100644 --- a/hadoop-maven-plugins/pom.xml +++ b/hadoop-maven-plugins/pom.xml @@ -46,18 +46,14 @@ ${maven.plugin-tools.version} provided - - org.codehaus.jackson - jackson-core-asl - - - org.codehaus.jackson - jackson-mapper-asl - commons-io commons-io + + com.fasterxml.jackson.core + jackson-databind + diff --git a/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/protoc/ProtocRunner.java b/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/protoc/ProtocRunner.java index ef1588459b8..e83a8cd957f 100644 --- a/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/protoc/ProtocRunner.java +++ b/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/protoc/ProtocRunner.java @@ -13,14 +13,15 @@ */ package org.apache.hadoop.maven.plugin.protoc; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.ObjectMapper; + import org.apache.hadoop.maven.plugin.util.Exec; import org.apache.hadoop.maven.plugin.util.FileSetUtils; import org.apache.maven.model.FileSet; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.project.MavenProject; -import org.codehaus.jackson.map.ObjectMapper; -import org.codehaus.jackson.type.TypeReference; import java.io.BufferedInputStream; import java.io.BufferedOutputStream;