Hi,
I am using dependency-check-maven version 1.2.5. and I don't have any proxy server in between, so connected directly to internet.
But whenever I run the mvn dependency-check:check, I get the failures while downloading some of the NVD CVE. (see below) . However, I would download the NVD CVE xml files from a browser and it works fine. On browser it takes time but it works.
I also left it over night for more than 15 hours, but it didn't work.
Oct 03, 2014 3:38:24 PM org.owasp.dependencycheck.data.update.StandardUpdate update
INFO: NVD CVE requires several updates; this could take a couple of minutes.
Oct 03, 2014 3:38:25 PM org.owasp.dependencycheck.data.update.task.DownloadTask call
INFO: Download Started for NVD CVE - 2007
Oct 03, 2014 3:38:25 PM org.owasp.dependencycheck.data.update.task.DownloadTask call
INFO: Download Started for NVD CVE - 2009
Oct 03, 2014 3:38:25 PM org.owasp.dependencycheck.data.update.task.DownloadTask call
INFO: Download Started for NVD CVE - 2010
Oct 03, 2014 3:57:14 PM org.owasp.dependencycheck.data.update.task.DownloadTask call
WARNING: Download Failed for NVD CVE - 2009
Some CVEs may not be reported.
Oct 03, 2014 3:57:14 PM org.owasp.dependencycheck.data.update.task.DownloadTask call
INFO: If you are behind a proxy you may need to configure dependency-check to use the proxy.
Oct 03, 2014 3:57:15 PM org.owasp.dependencycheck.data.update.task.DownloadTask call
INFO: Download Started for NVD CVE - 2011
Oct 03, 2014 4:07:50 PM org.owasp.dependencycheck.data.update.task.DownloadTask call
WARNING: Download Failed for NVD CVE - 2010
Some CVEs may not be reported.
Oct 03, 2014 4:07:50 PM org.owasp.dependencycheck.data.update.task.DownloadTask call
INFO: If you are behind a proxy you may need to configure dependency-check to use the proxy.
Oct 03, 2014 4:07:50 PM org.owasp.dependencycheck.data.update.task.DownloadTask call
INFO: Download Started for NVD CVE - 2012
my POM configuration is as follows.
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>1.2.2</version>
<configuration>
<connectionTimeout>9999999999</connectionTimeout>
<nexusUsesProxy>false</nexusUsesProxy>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
I tired setting <connectionTimeout> but didn't work.
Let me know whats wrong? Also, if there is a way/option to download those NVD-CVE files manually and use them locally.
Thanks,
J