Class GenerateGraalVmMetadataMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled , org.apache.maven.plugin.Mojo

    @Mojo(name = "generate-graalvm-metadata", defaultPhase = LifecyclePhase.PROCESS_CLASSES, requiresDependencyResolution = ResolutionScope.COMPILE) 
    public final class GenerateGraalVmMetadataMojo
    extends AbstractSourceMojo
                        

    Generate GraalVM reachability metadata for GraphQL Kotlin servers.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      File getOutputDirectory() Target directory where to store generated files, defaults to target.
      Unit setOutputDirectory(@Parameter(defaultValue = "${project.build.outputDirectory}", name = "outputDirectory") File outputDirectory) Target directory where to store generated files, defaults to target.
      Unit generate() Generate files based on provided project sources.
      • Methods inherited from class org.apache.maven.plugin.AbstractMojo

        getLog, getPluginContext, setLog, setPluginContext
      • Methods inherited from class com.expediagroup.graphql.plugin.maven.AbstractSourceMojo

        execute
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GenerateGraalVmMetadataMojo

        GenerateGraalVmMetadataMojo()
    • Method Detail

      • getOutputDirectory

         File getOutputDirectory()

        Target directory where to store generated files, defaults to target.

      • setOutputDirectory

         Unit setOutputDirectory(@Parameter(defaultValue = "${project.build.outputDirectory}", name = "outputDirectory") File outputDirectory)

        Target directory where to store generated files, defaults to target.

      • generate

         Unit generate()

        Generate files based on provided project sources.