@Mojo(name="eip-documentation-enricher",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
defaultPhase=PREPARE_PACKAGE)
public class EipDocumentationEnricherMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
File |
camelCoreDir
Path to camel core-engine project root directory.
|
File |
camelCoreXmlDir
Path to camel core xml project root directory.
|
File |
camelSpringDir
Path to camel spring project root directory.
|
String |
deleteFilesAfterRun
Optional file pattern to delete files after the documentation enrichment is complete.
|
File |
inputCamelSchemaFile
Path to camel EIP schema.
|
File |
outputCamelSchemaFile
Path to camel EIP schema with enriched documentation.
|
String |
pathToCoreXmlModelDir
Sub path from camel core xml directory to model directory with generated json files for components.
|
String |
pathToModelDir
Sub path from camel core directory to model directory with generated json files for components.
|
String |
pathToSpringModelDir
Sub path from camel spring directory to model directory with generated json files for components.
|
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
String |
targetDir
Sub path to itself
|
| Constructor and Description |
|---|
EipDocumentationEnricherMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
@Parameter(required=true) public File inputCamelSchemaFile
@Parameter(required=true) public File outputCamelSchemaFile
@Parameter(defaultValue="${project.build.directory}/sources/camel-core-engine")
public File camelCoreDir
@Parameter(defaultValue="${project.build.directory}/sources/camel-core-xml")
public File camelCoreXmlDir
@Parameter(defaultValue="${project.build.directory}/sources/camel-spring")
public File camelSpringDir
@Parameter(defaultValue="${project.build.directory}/classes")
public String targetDir
@Parameter(defaultValue="org/apache/camel/model") public String pathToModelDir
@Parameter(defaultValue="org/apache/camel/core/xml") public String pathToCoreXmlModelDir
@Parameter(defaultValue="org/apache/camel/spring") public String pathToSpringModelDir
@Parameter public String deleteFilesAfterRun
@Parameter(property="project",
required=true,
readonly=true)
protected org.apache.maven.project.MavenProject project
Apache Camel