code: protected File getCorrectOutputDirectory(MavenProject current) {
          final Object obj = current.getContextValue("dependency-check-output-dir");
          if (obj != null && obj instanceof File) {
              return (File) obj;
          }//else we guess
          File target = new File(current.getBuild().getDirectory());
          if (target.getParentFile() != null && "target".equals(target.getParentFile().getName())) {
              target = target.getParentFile();
          }
          return target;
      }
docs: Returns the correct output directory depending on if a site is being
  executed or not.
  
  @param current the Maven project to get the output directory from
  @return the directory to write the report(s)