Package io.helidon.service.maven.plugin
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 Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
Class name of the main class generated by Maven plugin (for end user application).Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
execute()
protected Path
protected Path
protected CodegenScope
scope()
Test source roots for this project.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
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
-
outputDirectory
-
scope
-
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
-