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