Skip to content

Commit

Permalink
[CALCITE-3314] CVSS dependency-check-maven fails for calcite-pig, cal…
Browse files Browse the repository at this point in the history
…cite-piglet, calcite-spark

Never fail the build due to OWASP dependency-check for pig, piglet, and spark modules.
  • Loading branch information
zabetak committed Sep 2, 2019
1 parent 48086a7 commit c9520c3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pig/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,14 @@ limitations under the License.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<configuration>
<!-- Never fail the build for this module but still check for vulnerabilities. -->
<failBuildOnCVSS>11</failBuildOnCVSS>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
11 changes: 11 additions & 0 deletions piglet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,17 @@ limitations under the License.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<configuration>
<!-- Never fail the build for this module but still check for vulnerabilities. -->
<failBuildOnCVSS>11</failBuildOnCVSS>
<!-- Skip system dependencies; otherwise fails to find
jdk.tools:jdk.tools:jar:1.8:system dependency. -->
<skipSystemScope>true</skipSystemScope>
</configuration>
</plugin>
</plugins>
</build>
</project>
8 changes: 8 additions & 0 deletions spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ limitations under the License.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<configuration>
<!-- Never fail the build for this module but still check for vulnerabilities. -->
<failBuildOnCVSS>11</failBuildOnCVSS>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit c9520c3

Please sign in to comment.