Skip to content
Permalink
Browse files
(#37) Include jackson-dataformat-yaml and snakeyaml
  • Loading branch information
zentol committed Feb 19, 2018
1 parent 50aba8c commit 6f68171f8aac6884bc62fd336943acdfa1679635
Showing 1 changed file with 35 additions and 0 deletions.
@@ -32,4 +32,39 @@ under the License.
<artifactId>flink-shaded-jackson</artifactId>
<name>flink-shaded-jackson-2</name>

<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${jackson.version}</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>shade-flink</id>
<configuration>
<artifactSet>
<includes combine.children="append">
<include>org.yaml:snakeyaml</include>
</includes>
</artifactSet>
<relocations combine.children="append">
<relocation>
<pattern>org.yaml</pattern>
<shadedPattern>org.apache.flink.shaded.jackson2.org.yaml
</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 6f68171

Please sign in to comment.