From b157f7ad47d54264dd82c6d8034b0a8a4cdeb803 Mon Sep 17 00:00:00 2001 From: jeremylong Date: Tue, 23 Oct 2012 15:57:38 -0400 Subject: [PATCH] updated version to 0.2.0 Former-commit-id: 3b166b79f98345f2ea70036413f8cc5626a3d91d --- README.txt | 10 ++++++++-- pom.xml | 2 +- .../{EngineTest.java => EngineIntegrationTest.java} | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) rename src/test/java/org/codesecure/dependencycheck/{EngineTest.java => EngineIntegrationTest.java} (94%) diff --git a/README.txt b/README.txt index 5be00234c..c31125bde 100644 --- a/README.txt +++ b/README.txt @@ -7,9 +7,15 @@ If found, it will generate a report linking to the associated CVE entries. Usage: $ mvn package $ cd target -$ java -jar dependencycheck-0.1.1.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 -h +$ 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) diff --git a/pom.xml b/pom.xml index 12dbb6c08..7e70ff461 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ along with DependencyCheck. If not, see . org.codesecure DependencyCheck - 0.1.1 + 0.2.0 jar DependencyCheck diff --git a/src/test/java/org/codesecure/dependencycheck/EngineTest.java b/src/test/java/org/codesecure/dependencycheck/EngineIntegrationTest.java similarity index 94% rename from src/test/java/org/codesecure/dependencycheck/EngineTest.java rename to src/test/java/org/codesecure/dependencycheck/EngineIntegrationTest.java index 7a7f2599e..584b93cad 100644 --- a/src/test/java/org/codesecure/dependencycheck/EngineTest.java +++ b/src/test/java/org/codesecure/dependencycheck/EngineIntegrationTest.java @@ -16,9 +16,9 @@ import static org.junit.Assert.*; * * @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.cpe.BaseIndexTestCase.ensureIndexExists(); }