@Mojo(name="generate-with-dto",
inheritByDefault=false,
defaultPhase=GENERATE_SOURCES,
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class GenerateWithDtoMojo
extends GenerateMojo
| Modifier and Type | Field and Description |
|---|---|
static String[] |
DEFAULT_REST_CONSUMER_COMPONENTS |
| Constructor and Description |
|---|
GenerateWithDtoMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
detectCamelVersionFromClasspath() |
protected String |
detectRestComponentFromClasspath() |
protected boolean |
detectSpringBootFromClasspath() |
protected String |
detectSpringBootMainPackage() |
void |
execute() |
protected String |
findAppropriateComponent() |
protected String |
findSpringSpringBootPackage(File dir) |
protected static String |
grabPackageName(String content) |
public static final String[] DEFAULT_REST_CONSUMER_COMPONENTS
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoexecute in class GenerateMojoorg.apache.maven.plugin.MojoExecutionExceptionprotected String detectCamelVersionFromClasspath()
protected String detectRestComponentFromClasspath()
protected boolean detectSpringBootFromClasspath()
protected String detectSpringBootMainPackage() throws IOException
IOExceptionprotected String findSpringSpringBootPackage(File dir) throws IOException
IOExceptionprotected String findAppropriateComponent()
Apache Camel