Class CreateApplicationMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.helidon.service.maven.plugin.CreateApplicationMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="create-application", defaultPhase=COMPILE, threadSafe=true, requiresDependencyResolution=COMPILE) public class CreateApplicationMojo extends org.apache.maven.plugin.AbstractMojo
Maven goal to create application bindings (a mapping of services that satisfy injection points), and to create application main class (reflection-free registration of services).
  • Field Details

    • MAIN_CLASS_NAME

      protected static final String MAIN_CLASS_NAME
      Class name of the main class generated by Maven plugin (for end user application).
      See Also:
  • Constructor Details

    • CreateApplicationMojo

      public CreateApplicationMojo()
      Default constructor.
  • Method Details

    • generatedSourceDirectory

      protected Path generatedSourceDirectory()
    • outputDirectory

      protected Path outputDirectory()
    • scope

      protected CodegenScope scope()
    • testSourceRootPaths

      protected List<Path> testSourceRootPaths()
      Test source roots for this project.
      Returns:
      source roots for test code
    • execute

      public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException