|
@@ -241,6 +241,36 @@
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
+ <!-- Shade the jackson classes -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-shade-plugin</artifactId>
|
|
|
+ <version>2.4.3</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>shade</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <relocations>
|
|
|
+ <relocation>
|
|
|
+ <pattern>com.fasterxml.jackson</pattern>
|
|
|
+ <shadedPattern>org.apache.hadoop.shaded.$0</shadedPattern>
|
|
|
+ </relocation>
|
|
|
+ </relocations>
|
|
|
+ <artifactSet>
|
|
|
+ <includes>
|
|
|
+ <include>com.fasterxml.jackson.core:*</include>
|
|
|
+ </includes>
|
|
|
+ </artifactSet>
|
|
|
+ <transformers>
|
|
|
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
|
+ </transformers>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</project>
|