code: @Deprecated
      public List<DependencyInfo> createProjects(List<String> scannerBaseDirs, Map<String, Set<String>> appPathsToDependencyDirs, boolean scmConnector,
                                                 String[] includes, String[] excludes, boolean globCaseSensitive, int archiveExtractionDepth,
                                                 String[] archiveIncludes, String[] archiveExcludes, boolean archiveFastUnpack, boolean followSymlinks,
                                                 Collection<String> excludedCopyrights, boolean partialSha1Match, String[] pythonRequirementsFileIncludes) {
          Collection<AgentProjectInfo> projects = createProjects(scannerBaseDirs, appPathsToDependencyDirs, scmConnector, includes, excludes, globCaseSensitive, archiveExtractionDepth,
                  archiveIncludes, archiveExcludes, archiveFastUnpack, followSymlinks, excludedCopyrights, partialSha1Match,
                  false, false, pythonRequirementsFileIncludes).keySet();
          return projects.stream().flatMap(project -> project.getDependencies().stream()).collect(Collectors.toList());
      }
docs: This method is usually called from outside by different other tools
  
  @param scannerBaseDirs        folders to scan
  @param scmConnector           use scmConnector
  @param includes               includes glob patterns
  @param excludes               excludes glob patterns
  @param globCaseSensitive      global case sensitive
  @param archiveExtractionDepth depth of recursive extraction
  @param archiveIncludes        includes glob patterns for extraction
  @param archiveExcludes        exclude glob patterns for extraction
  @param archiveFastUnpack      use fast extraction
  @param followSymlinks         use followSymlinks
  @param excludedCopyrights     use excludedCopyrights
  @param partialSha1Match       use partialSha1Match
  @return list of all the dependencies for project