Class MavenRecipeMarketplaceGenerator

java.lang.Object
org.openrewrite.maven.marketplace.MavenRecipeMarketplaceGenerator

public class MavenRecipeMarketplaceGenerator extends Object
  • Constructor Details

    • MavenRecipeMarketplaceGenerator

      public MavenRecipeMarketplaceGenerator(GroupArtifact ga, Path path, List<Path> classpath)
      Create a generator for recipe marketplace CSV.
      Parameters:
      ga - The group and artifact of the recipe module
      path - Path to a jar file or directory containing class files
      classpath - List of paths to dependencies (jars or directories)
  • Method Details

    • generate

      public org.openrewrite.marketplace.RecipeMarketplace generate()
    • main

      public static void main(String[] args) throws IOException
      Main method to generate recipe marketplace CSV for a recipe jar or directory of class files.
      Parameters:
      args - [0] = groupId:artifactId, [1] = output CSV path, [2] = recipe jar or class directory path, [3...] = classpath entries
      Throws:
      IOException