Class GenerateYamlMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.maven.generator.openapi.GenerateYamlMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
GenerateYamlWithDtoMojo
@Mojo(name="generate-yaml",
inheritByDefault=false,
defaultPhase=GENERATE_SOURCES,
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class GenerateYamlMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
DEFAULT_REST_CONSUMER_COMPONENTS
-
-
Constructor Details
-
GenerateYamlMojo
public GenerateYamlMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
detectCamelVersionFromClasspath
-
detectRestComponentFromClasspath
-
detectSpringBootFromClasspath
protected boolean detectSpringBootFromClasspath() -
detectSpringBootMainPackage
- Throws:
IOException
-
findSpringSpringBootPackage
- Throws:
IOException
-
grabPackageName
-
findAppropriateComponent
-