Package io.helidon.service.maven.plugin
Class CreateTestApplicationMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.helidon.service.maven.plugin.CreateTestApplicationMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo
@Mojo(name="test-application-create",
      defaultPhase=TEST_COMPILE,
      threadSafe=true,
      requiresDependencyResolution=TEST)
public class CreateTestApplicationMojo
extends org.apache.maven.plugin.AbstractMojo
A mojo wrapper to 
BindingGenerator for test specific types.
 For test scope, we only generate binding, as main class would not be useful.- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final StringClass name of the main class generated by Maven plugin (for end user application).Fields inherited from interface org.apache.maven.plugin.MojoROLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected Stringfinal voidexecute()protected Pathprotected LinkedHashSet<Path> protected Pathprotected CodegenScopescope()Test source roots for this project.Methods inherited from class org.apache.maven.plugin.AbstractMojogetLog, getPluginContext, setLog, setPluginContext
- 
Field Details- 
MAIN_CLASS_NAMEClass name of the main class generated by Maven plugin (for end user application).- See Also:
 
 
- 
- 
Constructor Details- 
CreateTestApplicationMojopublic CreateTestApplicationMojo()Default constructor.
 
- 
- 
Method Details- 
generatedSourceDirectory
- 
outputDirectory
- 
sourceRootPaths
- 
getClasspathElements
- 
bindingClassName
- 
scope
- 
testSourceRootPathsTest source roots for this project.- Returns:
- source roots for test code
 
- 
executepublic 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
 
 
-