This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-shaded.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f68171  (#37) Include jackson-dataformat-yaml and snakeyaml
6f68171 is described below

commit 6f68171f8aac6884bc62fd336943acdfa1679635
Author: zentol <ches...@apache.org>
AuthorDate: Mon Feb 19 13:50:47 2018 +0100

    (#37) Include jackson-dataformat-yaml and snakeyaml
---
 .../flink-shaded-jackson-2/pom.xml                 | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/flink-shaded-jackson-parent/flink-shaded-jackson-2/pom.xml 
b/flink-shaded-jackson-parent/flink-shaded-jackson-2/pom.xml
index 6a72eca..167020a 100644
--- a/flink-shaded-jackson-parent/flink-shaded-jackson-2/pom.xml
+++ b/flink-shaded-jackson-parent/flink-shaded-jackson-2/pom.xml
@@ -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>
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
ches...@apache.org.

Reply via email to