Skip to content

Commit

Permalink
[FLINK-19243][build] Enforce snakeyaml 1.27+
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Sep 23, 2020
1 parent 43bed5d commit c50b027
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1610,6 +1610,26 @@ under the License.
</rules>
</configuration>
</execution>
<execution>
<id>ban-unsafe-snakeyaml</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<bannedDependencies>
<excludes>
<exclude>org.yaml:snakeyaml:(,1.26]</exclude>
</excludes>
<includes>
<!-- Snakeyaml is pulled in by many modules without using it in production,
so there's no benefit in us investing time into bumping these. -->
<include>org.yaml:snakeyaml:(,1.26]:*:test</include>
</includes>
</bannedDependencies>
</rules>
</configuration>
</execution>
<execution>
<id>ban-unsafe-jackson</id>
<goals>
Expand Down

0 comments on commit c50b027

Please sign in to comment.