mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01:00
updated test case
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
reportOutputDirectory="${project.build.directory}/suppression-single-report.html"
|
||||
autoupdate="false"
|
||||
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">
|
||||
<include name="axis-1.4.jar"/>
|
||||
</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>
|
||||
@@ -19,8 +19,8 @@ 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>
|
||||
file name: axis-1.4.jar
|
||||
]]></notes>
|
||||
<gav regex="true">^org\.apache\.axis:axis:.*$</gav>
|
||||
<cpe>cpe:/a:apache:axis</cpe>
|
||||
</suppress>
|
||||
|
||||
@@ -19,22 +19,22 @@ 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: org.mortbay.jetty.jar
|
||||
]]></notes>
|
||||
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>
|
||||
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>
|
||||
file name: org.mortbay.jetty.jar
|
||||
]]></notes>
|
||||
<gav regex="true">^jetty:org\.mortbay\.jetty:.*$</gav>
|
||||
<cpe>cpe:/a:mortbay_jetty:jetty</cpe>
|
||||
</suppress>
|
||||
|
||||
Reference in New Issue
Block a user