@Mojo(name="generate",
defaultPhase=PACKAGE)
public class FeatureGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
FeatureGeneratorMojo() |
| Modifier and Type | Method and Description |
|---|---|
FeatureGenerator |
constructFeatureGenerator()
Generates the FeatureGenerator object in order to generate the feature.
|
void |
execute()
Overridden method of AbstractMojo class.
|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - throws when any runtime exception occurs. i.e: fail to read write file, fail to
parse a configuration xmlorg.apache.maven.plugin.MojoFailureException - throws when the tool breaks for any configuration issuespublic FeatureGenerator constructFeatureGenerator()
Copyright © 2017 WSO2. All rights reserved.