Class GenerateYamlWithDtoMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.maven.generator.openapi.GenerateYamlMojo
org.apache.camel.maven.generator.openapi.GenerateYamlWithDtoMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate-yaml-with-dto",
inheritByDefault=false,
defaultPhase=GENERATE_SOURCES,
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class GenerateYamlWithDtoMojo
extends GenerateYamlMojo
-
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
-
GenerateYamlWithDtoMojo
public GenerateYamlWithDtoMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Overrides:
executein classGenerateYamlMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
detectCamelVersionFromClasspath
-
detectRestComponentFromClasspath
-
detectSpringBootFromClasspath
protected boolean detectSpringBootFromClasspath() -
detectSpringBootMainPackage
- Throws:
IOException
-
findSpringSpringBootPackage
- Throws:
IOException
-
grabPackageName
-
findAppropriateComponent
-