mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-29 05:12:14 +02:00
updated test case
This commit is contained in:
@@ -94,7 +94,7 @@
|
|||||||
reportOutputDirectory="${project.build.directory}/suppression-single-report.html"
|
reportOutputDirectory="${project.build.directory}/suppression-single-report.html"
|
||||||
autoupdate="false"
|
autoupdate="false"
|
||||||
failBuildOnCVSS="3"
|
failBuildOnCVSS="3"
|
||||||
suppressionFile="${project.build.directory}/test-classes/test-suppression1.xml">
|
suppressionFile="${project.build.directory}/test-classes/test-suppression.xml">
|
||||||
<fileset dir="${project.build.directory}/test-classes/jars">
|
<fileset dir="${project.build.directory}/test-classes/jars">
|
||||||
<include name="axis-1.4.jar"/>
|
<include name="axis-1.4.jar"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
|
|||||||
48
dependency-check-ant/src/test/resources/test-suppression.xml
Normal file
48
dependency-check-ant/src/test/resources/test-suppression.xml
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
This file is part of dependency-check-core.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
||||||
|
Copyright (c) 2017 The OWASP Foundation. All Rights Reserved.
|
||||||
|
-->
|
||||||
|
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.1.xsd">
|
||||||
|
<suppress>
|
||||||
|
<notes><![CDATA[
|
||||||
|
file name: axis-1.4.jar
|
||||||
|
]]></notes>
|
||||||
|
<gav regex="true">^org\.apache\.axis:axis:.*$</gav>
|
||||||
|
<cpe>cpe:/a:apache:axis</cpe>
|
||||||
|
</suppress>
|
||||||
|
<suppress>
|
||||||
|
<notes><![CDATA[
|
||||||
|
file name: org.mortbay.jetty.jar
|
||||||
|
]]></notes>
|
||||||
|
<gav regex="true">^jetty:org\.mortbay\.jetty:.*$</gav>
|
||||||
|
<cpe>cpe:/a:jetty:jetty</cpe>
|
||||||
|
</suppress>
|
||||||
|
<suppress>
|
||||||
|
<notes><![CDATA[
|
||||||
|
file name: org.mortbay.jetty.jar
|
||||||
|
]]></notes>
|
||||||
|
<gav regex="true">^jetty:org\.mortbay\.jetty:.*$</gav>
|
||||||
|
<cpe>cpe:/a:mortbay:jetty</cpe>
|
||||||
|
</suppress>
|
||||||
|
<suppress>
|
||||||
|
<notes><![CDATA[
|
||||||
|
file name: org.mortbay.jetty.jar
|
||||||
|
]]></notes>
|
||||||
|
<gav regex="true">^jetty:org\.mortbay\.jetty:.*$</gav>
|
||||||
|
<cpe>cpe:/a:mortbay_jetty:jetty</cpe>
|
||||||
|
</suppress>
|
||||||
|
</suppressions>
|
||||||
Reference in New Issue
Block a user