Skip to content

Commit

Permalink
[FLINK-8110][dist] Relocate jackson services in flink-dist
Browse files Browse the repository at this point in the history
This closes apache#8110.
  • Loading branch information
zentol committed Nov 20, 2017
1 parent b0a4a67 commit ec86370
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions flink-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,11 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>

<!-- we need to explicitly override this version, because the -->
<!-- earlier versions of the shade plugin have a bug relocating services -->
<version>3.0.0</version>

<executions>
<execution>
<phase>package</phase>
Expand Down Expand Up @@ -496,6 +501,11 @@ under the License.
<pattern>org.codehaus.jackson</pattern>
<shadedPattern>org.apache.flink.formats.avro.shaded.org.codehaus.jackson</shadedPattern>
</relocation>
<relocation>
<!-- relocate jackson services, which isn't done by flink-shaded-jackson -->
<pattern>com.fasterxml.jackson</pattern>
<shadedPattern>org.apache.flink.shaded.jackson2.com.fasterxml.jackson</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
Expand Down

0 comments on commit ec86370

Please sign in to comment.