We have a local copy of nist data and I have one maven project, lets call it A, that gets these errors when trying to update (because it's been more than 4 hours)
[INFO] Central analyzer disabled
[INFO] Checking for updates
[INFO] starting getUpdatesNeeded() ...
[ERROR] IO Exception: HEAD request returned a non-200 status code
[ERROR] IO Exception: HEAD request returned a non-200 status code
[ERROR] IO Exception: HEAD request returned a non-200 status code
[ERROR] IO Exception: HEAD request returned a non-200 status code
[ERROR] IO Exception: HEAD request returned a non-200 status code
[ERROR] IO Exception: HEAD request returned a non-200 status code
[ERROR] IO Exception: HEAD request returned a non-200 status code
[ERROR] IO Exception: HEAD request returned a non-200 status code
[ERROR] IO Exception: HEAD request returned a non-200 status code
[ERROR] IO Exception: HEAD request returned a non-200 status code
[ERROR] IO Exception: HEAD request returned a non-200 status code
[ERROR] IO Exception: HEAD request returned a non-200 status code
[WARNING] Unable to download the NVD CVE data; the results may not include the m
ost recent CPE/CVEs from the NVD.
[INFO] If you are behind a proxy you may need to configure dependency-check to u
se the proxy.
[WARNING] Unable to update Cached Web DataSource, using local data instead. Resu
lts may not include recent vulnerabilities.
[ERROR] No documents exist
Unable to continue dependency-check analysis.
If I run maven project B, which shares the same configurations for dependency check maven plugin it gets this:
[INFO] Central analyzer disabled
[INFO] Checking for updates
[INFO] starting getUpdatesNeeded() ...
[INFO] NVD CVE requires several updates; this could take a couple of minutes.
[INFO] Download Started for NVD CVE - 2003
[INFO] Download Started for NVD CVE - 2004
[INFO] Download Started for NVD CVE - 2002
[INFO] Download Started for NVD CVE - 2005
[INFO] Download Started for NVD CVE - 2006
[INFO] Download Started for NVD CVE - 2007
[INFO] Download Started for NVD CVE - 2008
[INFO] Download Started for NVD CVE - 2009
[INFO] Download Started for NVD CVE - 2010
[INFO] Download Started for NVD CVE - 2011
[INFO] Download Started for NVD CVE - 2012
[INFO] Download Started for NVD CVE - 2013
[INFO] Download Complete for NVD CVE - 2003 (1790 ms)
[INFO] Download Started for NVD CVE - 2014
[INFO] Processing Started for NVD CVE - 2003
[INFO] Download Complete for NVD CVE - 2004 (2645 ms)
[INFO] Download Started for NVD CVE - 2015
[INFO] Processing Started for NVD CVE - 2004
[INFO] Processing Complete for NVD CVE - 2003 (1022 ms)
[INFO] Processing Complete for NVD CVE - 2004 (968 ms)
[INFO] Download Complete for NVD CVE - 2009 (3751 ms)
[INFO] Download Started for NVD CVE - 2016
[INFO] Processing Started for NVD CVE - 2009
[INFO] Download Complete for NVD CVE - 2005 (3884 ms)
[INFO] Download Started for NVD CVE - 2017
[INFO] Processing Started for NVD CVE - 2005
[INFO] Download Complete for NVD CVE - 2010 (4539 ms)
[INFO] Download Started for NVD CVE - 2018
[INFO] Processing Started for NVD CVE - 2010
[INFO] Download Complete for NVD CVE - 2006 (4567 ms)
[INFO] Download Started for NVD CVE - Modified
[INFO] Processing Started for NVD CVE - 2006
[INFO] Download Complete for NVD CVE - 2018 (1229 ms)
[INFO] Processing Started for NVD CVE - 2018
[INFO] Download Complete for NVD CVE - 2013 (6117 ms)
[INFO] Processing Started for NVD CVE - 2013
[INFO] Download Complete for NVD CVE - 2008 (6327 ms)
[INFO] Processing Started for NVD CVE - 2008
[INFO] Download Complete for NVD CVE - Modified (1948 ms)
[INFO] Processing Started for NVD CVE - Modified
[INFO] Download Complete for NVD CVE - 2002 (6548 ms)
[INFO] Download Complete for NVD CVE - 2007 (6554 ms)
[INFO] Download Complete for NVD CVE - 2014 (5011 ms)
[INFO] Download Complete for NVD CVE - 2012 (7644 ms)
[INFO] Processing Complete for NVD CVE - 2018 (2011 ms)
[INFO] Processing Started for NVD CVE - 2002
[INFO] Download Complete for NVD CVE - 2016 (4122 ms)
[INFO] Download Complete for NVD CVE - 2011 (8601 ms)
[INFO] Processing Complete for NVD CVE - Modified (2372 ms)
[INFO] Processing Started for NVD CVE - 2007
[INFO] Download Complete for NVD CVE - 2015 (8592 ms)
[INFO] Download Complete for NVD CVE - 2017 (8969 ms)
[INFO] Processing Complete for NVD CVE - 2005 (15134 ms)
[INFO] Processing Started for NVD CVE - 2014
[INFO] Processing Complete for NVD CVE - 2009 (17693 ms)
[INFO] Processing Started for NVD CVE - 2012
[INFO] Processing Complete for NVD CVE - 2010 (23907 ms)
[INFO] Processing Started for NVD CVE - 2016
[INFO] Processing Complete for NVD CVE - 2013 (29263 ms)
[INFO] Processing Started for NVD CVE - 2011
[INFO] Processing Complete for NVD CVE - 2002 (29567 ms)
[INFO] Processing Started for NVD CVE - 2015
[INFO] Processing Complete for NVD CVE - 2006 (37738 ms)
[INFO] Processing Started for NVD CVE - 2017
[INFO] Processing Complete for NVD CVE - 2007 (43090 ms)
[INFO] Processing Complete for NVD CVE - 2008 (48709 ms)
[INFO] Processing Complete for NVD CVE - 2012 (44720 ms)
[INFO] Processing Complete for NVD CVE - 2011 (51687 ms)
[INFO] Processing Complete for NVD CVE - 2014 (69070 ms)
[INFO] Processing Complete for NVD CVE - 2016 (64276 ms)
[INFO] Processing Complete for NVD CVE - 2015 (56419 ms)
[INFO] Processing Complete for NVD CVE - 2017 (63842 ms)
[INFO] Begin database maintenance.
[INFO] End database maintenance.
[INFO] Check for updates complete (108050 ms)
[INFO] Analysis Started
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (1 seconds)
[INFO] Skipping CPE Analysis for npm
[INFO] Finished CPE Analyzer (1 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished Cpe Suppression Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (2 seconds)
Then of course if I run maven project A again it success because project B updated the nist mirror data.
How can two projects that share the same settings run on the same machine behave differently?