code: private Set<File> findThriftFiles() throws IOException, MojoExecutionException {
      final File thriftSourceRoot = getThriftSourceRoot();
      Set<File> thriftFiles = new HashSet<File>();
      if (thriftSourceRoot != null && thriftSourceRoot.exists()) {
        thriftFiles.addAll(findThriftFilesInDirectory(thriftSourceRoot));
      }
      getLog().info("finding thrift files in dependencies");
      extractFilesFromDependencies(findThriftDependencies(), getResourcesOutputDirectory());
      if (buildExtractedThrift && getResourcesOutputDirectory().exists()) {
        thriftFiles.addAll(findThriftFilesInDirectory(getResourcesOutputDirectory()));
      }
      getLog().info("finding thrift files in referenced (reactor) projects");
      thriftFiles.addAll(getReferencedThriftFiles());
      return thriftFiles;
    }
docs: build a complete set of local files, files from referenced projects, and dependencies.