Skip to content

Commit

Permalink
[FLINK-7973] [filesystems] Fix shading patterns for META-INF/services…
Browse files Browse the repository at this point in the history
… entries
  • Loading branch information
StephanEwen committed Nov 3, 2017
1 parent 87bf578 commit 84d0677
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
15 changes: 10 additions & 5 deletions flink-filesystems/flink-s3-fs-hadoop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ under the License.
<goal>shade</goal>
</goals>
<configuration>
<shadeTestJar>false</shadeTestJar>
<artifactSet>
<includes>
<include>*:*</include>
Expand All @@ -234,23 +235,27 @@ under the License.
<relocations>
<relocation>
<pattern>org</pattern>
<shadedPattern>org.apache.flink.s3hadoop.shaded.org</shadedPattern>
<shadedPattern>org.apache.flink.fs.s3hadoop.shaded.org</shadedPattern>
<excludes>
<exclude>org.apache.flink.core.fs.FileSystemFactory</exclude>
<exclude>org.apache.flink.fs.s3hadoop.**</exclude>
</excludes>
</relocation>
<relocation>
<pattern>com</pattern>
<shadedPattern>org.apache.flink.s3hadoop.shaded.com</shadedPattern>
<shadedPattern>org.apache.flink.fs.s3hadoop.shaded.com</shadedPattern>
</relocation>
<relocation>
<pattern>net</pattern>
<shadedPattern>org.apache.flink.s3hadoop.shaded.net</shadedPattern>
<shadedPattern>org.apache.flink.fs.s3hadoop.shaded.net</shadedPattern>
</relocation>
<relocation>
<pattern>okio</pattern>
<shadedPattern>org.apache.flink.s3hadoop.shaded.okio</shadedPattern>
<shadedPattern>org.apache.flink.fs.s3hadoop.shaded.okio</shadedPattern>
</relocation>
<relocation>
<pattern>software</pattern>
<shadedPattern>org.apache.flink.s3hadoop.shaded.software</shadedPattern>
<shadedPattern>org.apache.flink.fs.s3hadoop.shaded.software</shadedPattern>
</relocation>
</relocations>
<filters>
Expand Down
15 changes: 10 additions & 5 deletions flink-filesystems/flink-s3-fs-presto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ under the License.
<goal>shade</goal>
</goals>
<configuration>
<shadeTestJar>false</shadeTestJar>
<artifactSet>
<includes>
<include>*:*</include>
Expand All @@ -237,23 +238,27 @@ under the License.
<relocations>
<relocation>
<pattern>org</pattern>
<shadedPattern>org.apache.flink.s3presto.shaded.org</shadedPattern>
<shadedPattern>org.apache.flink.fs.s3presto.shaded.org</shadedPattern>
<excludes>
<exclude>org.apache.flink.core.fs.FileSystemFactory</exclude>
<exclude>org.apache.flink.fs.s3presto.**</exclude>
</excludes>
</relocation>
<relocation>
<pattern>com</pattern>
<shadedPattern>org.apache.flink.s3presto.shaded.com</shadedPattern>
<shadedPattern>org.apache.flink.fs.s3presto.shaded.com</shadedPattern>
</relocation>
<relocation>
<pattern>io</pattern>
<shadedPattern>org.apache.flink.s3presto.shaded.io</shadedPattern>
<shadedPattern>org.apache.flink.fs.s3presto.shaded.io</shadedPattern>
</relocation>
<relocation>
<pattern>net</pattern>
<shadedPattern>org.apache.flink.s3presto.shaded.net</shadedPattern>
<shadedPattern>org.apache.flink.fs.s3presto.shaded.net</shadedPattern>
</relocation>
<relocation>
<pattern>software</pattern>
<shadedPattern>org.apache.flink.s3presto.shaded.software</shadedPattern>
<shadedPattern>org.apache.flink.fs.s3presto.shaded.software</shadedPattern>
</relocation>
</relocations>
<filters>
Expand Down

0 comments on commit 84d0677

Please sign in to comment.