Skip to content

Commit

Permalink
[FLINK-11101][S3] Ban openjdk.jol dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Dec 18, 2018
1 parent 030743f commit a431f76
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions flink-filesystems/flink-s3-fs-presto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,29 @@ under the License.

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>ban-openjdk.jol</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<bannedDependencies>
<excludes>
<!-- Incompatible license -->
<exclude>org.openjdk.jol:*</exclude>
</excludes>
</bannedDependencies>
</rules>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand All @@ -210,9 +233,6 @@ under the License.
<includes>
<include>*:*</include>
</includes>
<excludes>
<exclude>org.openjdk.jol</exclude>
</excludes>
</artifactSet>
<relocations>
<!-- relocate the references to Hadoop to match the pre-shaded hadoop artifact -->
Expand Down

0 comments on commit a431f76

Please sign in to comment.