Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add enforce-victims-rule to prevent shipping with vulnerable dependen…
…cies
  • Loading branch information
cbeer committed Oct 16, 2014
1 parent c515a0c commit 387115f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pom.xml
Expand Up @@ -841,6 +841,14 @@
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.3</version>
<dependencies>
<dependency>
<groupId>com.redhat.victims</groupId>
<artifactId>enforce-victims-rule</artifactId>
<version>1.3.4</version>
<type>jar</type>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -872,6 +880,21 @@
</rules>
</configuration>
</execution>
<execution>
<id>enforce-victims-rule</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<rule implementation="com.redhat.victims.VictimsRule">
<metadata>fatal</metadata>
<fingerprint>fatal</fingerprint>
<updates>daily</updates>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down

0 comments on commit 387115f

Please sign in to comment.