mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-20 16:24:11 +01:00
updated version to 0.2.0
Former-commit-id: 3b166b79f98345f2ea70036413f8cc5626a3d91d
This commit is contained in:
10
README.txt
10
README.txt
@@ -7,9 +7,15 @@ If found, it will generate a report linking to the associated CVE entries.
|
|||||||
Usage:
|
Usage:
|
||||||
$ mvn package
|
$ mvn package
|
||||||
$ cd target
|
$ cd target
|
||||||
$ java -jar dependencycheck-0.1.1.jar -h
|
$ java -jar DependencyCheck-0.2.0.jar -h
|
||||||
$ java -jar DependencyCheck-0.1.1.jar -a Testing -out . -scan ./test-classes/org.mortbay.jetty.jar -scan struts2-core-2.1.2.jar -scan ./lib
|
$ java -jar DependencyCheck-0.2.0.jar -a Testing -out . -scan ./test-classes/org.mortbay.jetty.jar -scan ./test-classes/struts2-core-2.1.2.jar -scan ./lib
|
||||||
|
|
||||||
|
Then load the resulting 'Testing.html' into your favorite browser.
|
||||||
|
|
||||||
|
Important note - DependencyCheck should be run to analyze a project at least once every week.
|
||||||
|
The reason for this is that it downloads data from the National Vulnerability Database hosted
|
||||||
|
by NIST. If more then a week goes by without DependencyCheck updating the data, a full update
|
||||||
|
can take an 90 minutes or more (a lot of data needs to be downloaded and processed).
|
||||||
|
|
||||||
Author: Jeremy Long (jeremy.long@gmail.com)
|
Author: Jeremy Long (jeremy.long@gmail.com)
|
||||||
|
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -23,7 +23,7 @@ along with DependencyCheck. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
<groupId>org.codesecure</groupId>
|
<groupId>org.codesecure</groupId>
|
||||||
<artifactId>DependencyCheck</artifactId>
|
<artifactId>DependencyCheck</artifactId>
|
||||||
<version>0.1.1</version>
|
<version>0.2.0</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>DependencyCheck</name>
|
<name>DependencyCheck</name>
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ import static org.junit.Assert.*;
|
|||||||
*
|
*
|
||||||
* @author Jeremy Long (jeremy.long@gmail.com)
|
* @author Jeremy Long (jeremy.long@gmail.com)
|
||||||
*/
|
*/
|
||||||
public class EngineTest {
|
public class EngineIntegrationTest {
|
||||||
|
|
||||||
public EngineTest() throws Exception {
|
public EngineIntegrationTest() throws Exception {
|
||||||
org.codesecure.dependencycheck.data.nvdcve.BaseIndexTestCase.ensureIndexExists();
|
org.codesecure.dependencycheck.data.nvdcve.BaseIndexTestCase.ensureIndexExists();
|
||||||
org.codesecure.dependencycheck.data.cpe.BaseIndexTestCase.ensureIndexExists();
|
org.codesecure.dependencycheck.data.cpe.BaseIndexTestCase.ensureIndexExists();
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user