Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
[HIVEMALL-203] Relocated org.codehaus.jackson to hivemall.codehause.j…
…ackson in hivemall-all.jar

## What changes were proposed in this pull request?

Relocated `org.codehaus.jackson` to `hivemall.codehause.jackson` in hivemall-all.jar because Jackson can be missing in some Hadoop/Hive enviroment

## What type of PR is it?

Improvement

## What is the Jira issue?

https://issues.apache.org/jira/browse/HIVEMALL-203

## How was this patch tested?

manual tests

## Checklist

(Please remove this section if not needed; check `x` for YES, blank for NO)

- [x] Did you apply source code formatter, i.e., `./bin/format_code.sh`, for your commit?
- [x] Did you run system tests on Hive (or Spark)?

Author: Makoto Yui <myui@apache.org>

Closes #151 from myui/relocate_jackson.
  • Loading branch information
myui committed Jun 11, 2018
1 parent 4949603 commit f52b72809d1441852723e5a564e82b0f72c0f165
Showing 1 changed file with 15 additions and 0 deletions.
@@ -54,6 +54,13 @@
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<!-- Jackson -->
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>1.8.3</version>
<scope>compile</scope>
</dependency>
</dependencies>

<build>
@@ -113,11 +120,19 @@
<include>org.apache.hivemall:hivemall-xgboost</include>
<include>io.github.myui:xgboost4j</include>
<include>com.esotericsoftware.kryo:kryo</include>
<!-- Jackson -->
<include>org.codehaus.jackson:jackson-core-asl</include>
</includes>
<excludes>
<exclude>org.apache.hivemall:hivemall-all</exclude>
</excludes>
</artifactSet>
<relocations>
<relocation>
<pattern>org.codehaus.jackson</pattern>
<shadedPattern>hivemall.codehaus.jackson</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>

0 comments on commit f52b728

Please sign in to comment.