@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 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.
|
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}/../../../camel-core") public File camelCoreDir
@Parameter(defaultValue="${project.build.directory}/../../../components/camel-core-xml") public File camelCoreXmlDir
@Parameter(defaultValue="${project.build.directory}/../../../components/camel-spring") public File camelSpringDir
@Parameter(defaultValue="target/classes/org/apache/camel/model") public String pathToModelDir
@Parameter(defaultValue="target/classes/org/apache/camel/core/xml") public String pathToCoreXmlModelDir
@Parameter(defaultValue="target/classes/org/apache/camel/spring") public String pathToSpringModelDir
@Parameter public String deleteFilesAfterRun
Apache Camel