Skip to content

Commit bd199f6

Browse files
committed
Suppress CVE-2016-1000031 in dependency check
1 parent 956643c commit bd199f6

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<packaging>jar</packaging>
88

99
<prerequisites>
10-
<maven>3.0</maven>
10+
<maven>3.1</maven>
1111
</prerequisites>
1212

1313
<parent>
@@ -291,6 +291,7 @@
291291
<version>1.4.4</version>
292292
<configuration>
293293
<failBuildOnCVSS>1</failBuildOnCVSS>
294+
<suppressionFile>./suppressions.xml</suppressionFile>
294295
</configuration>
295296
<executions>
296297
<execution>

suppressions.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.1.xsd">
3+
<suppress>
4+
<notes><![CDATA[
5+
This suppresses a specific cve for any test.jar in any directory.
6+
]]></notes>
7+
<filePath regex="true">.*\bcommons-fileupload-1.3.2.jar</filePath>
8+
<cve>CVE-2016-1000031</cve>
9+
</suppress>
10+
</suppressions>

0 commit comments

Comments
 (0)