INNER CODE UNIT · Java

main

fabric8io/kubernetes-client · scripts/AggregateRevapiReports.java:51

  public static void main(String[] args) throws Exception {
    System.out.println("Copying revapi-report.json files into target/staging...");

    Path rootDir = Paths.get(".");
    Path stagingDir = rootDir.resolve("target/staging");
    Files.createDirectories(stagingDir);

    List<ModuleReport> reports = findModuleReports(rootDir);
    System.out.println("Found " + reports.size() + " modules with revapi-report.json");

    for (ModuleReport report : reports) {
      Path dest = stagingDir.resolve(report.modulePath);
      Files.createDirectories(dest);
      Files.copy(report.jsonPath, dest.resolve("revapi-report.json"), StandardCopyOption.REPLACE_EXISTING);
      System.out.println("  Copied: " + report.modulePath);
    }

    System.out.println();

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…