code: @Override
      protected void runCheck() throws MojoExecutionException, MojoFailureException {
  
          if (getConnectionString() != null && !getConnectionString().isEmpty()) {
              final String msg = "Unable to purge the local NVD when using a non-default connection string";
              if (this.isFailOnError()) {
                  throw new MojoFailureException(msg);
              }
              getLog().error(msg);
          } else {
              populateSettings();
              final File db;
              try {
                  db = new File(getSettings().getDataDirectory(), getSettings().getString(Settings.KEYS.DB_FILE_NAME, "odc.mv.db"));
                  if (db.exists()) {
                      if (db.delete()) {
                          getLog().info("Database file purged; local copy of the NVD has been removed");
                      } else {
                          final String msg = String.format("Unable to delete '%s'; please delete the file manually", db.getAbsolutePath());
                          if (this.isFailOnError()) {
                              throw new MojoFailureException(msg);
                          }
                          getLog().error(msg);
                      }
                  } else {
                      final String msg = String.format("Unable to purge database; the database file does not exist: %s", db.getAbsolutePath());
                      if (this.isFailOnError()) {
                          throw new MojoFailureException(msg);
                      }
                      getLog().error(msg);
                  }
              } catch (IOException ex) {
                  final String msg = "Unable to delete the database";
                  if (this.isFailOnError()) {
                      throw new MojoExecutionException(msg, ex);
                  }
                  getLog().error(msg);
              }
              getSettings().cleanup();
          }
      }
docs: Purges the local copy of the NVD.
  
  @throws MojoExecutionException thrown if there is an exception executing
  the goal
  @throws MojoFailureException thrown if dependency-check is configured to
  fail the build