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 2e2fdcc (#18) Add flink-shaded-jackson-2 module 2e2fdcc is described below commit 2e2fdcca6a655e2208d840d1f6a105681124bac6 Author: zentol <ches...@apache.org> AuthorDate: Wed Aug 2 14:24:13 2017 +0200 (#18) Add flink-shaded-jackson-2 module --- flink-shaded-jackson-2/pom.xml | 103 +++++++++++++++++++++++++++++++++++++++++ pom.xml | 1 + 2 files changed, 104 insertions(+) diff --git a/flink-shaded-jackson-2/pom.xml b/flink-shaded-jackson-2/pom.xml new file mode 100644 index 0000000..328d5e4 --- /dev/null +++ b/flink-shaded-jackson-2/pom.xml @@ -0,0 +1,103 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.flink</groupId> + <artifactId>flink-shaded</artifactId> + <version>1.0</version> + <relativePath>..</relativePath> + </parent> + + <artifactId>flink-shaded-jackson</artifactId> + <name>flink-shaded-jackson-2</name> + <version>${jackson.version}-1.0</version> + + <properties> + <jackson.version>2.7.9</jackson.version> + </properties> + + <dependencies> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</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> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <createDependencyReducedPom>true</createDependencyReducedPom> + <dependencyReducedPomLocation>${project.basedir}/target/dependency-reduced-pom.xml</dependencyReducedPomLocation> + <artifactSet> + <includes> + <include>com.fasterxml.jackson.core:*</include> + </includes> + </artifactSet> + <relocations> + <relocation> + <pattern>com.fasterxml.jackson</pattern> + <shadedPattern>org.apache.flink.shaded.jackson2.com.fasterxml.jackson</shadedPattern> + </relocation> + </relocations> + <transformers> + <!-- The service transformer is needed to merge META-INF/services files --> + <transformer + implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> + <!-- The ApacheNoticeResourceTransformer collects and aggregates NOTICE files --> + <transformer + implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"/> + <!-- The ApacheLicenseResourceTransformer prevents duplicate Apache Licenses --> + <transformer + implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/> + </transformers> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + + +</project> \ No newline at end of file diff --git a/pom.xml b/pom.xml index 3c90875..09183d5 100644 --- a/pom.xml +++ b/pom.xml @@ -55,6 +55,7 @@ under the License. <module>flink-shaded-asm-5</module> <module>flink-shaded-guava-18</module> <module>flink-shaded-netty-4</module> + <module>flink-shaded-jackson-2</module> </modules> <profiles> -- To stop receiving notification emails like this one, please contact ['"commits@flink.apache.org" <commits@flink.apache.org>'].