@Mojo(name="update-doc-components-list",
threadSafe=true)
public class UpdateDocComponentsListMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
componentsDir
The directory for components catalog
|
protected File |
dataFormatsDir
The directory for data formats catalog
|
protected File |
languagesDir
The directory for languages catalog
|
protected File |
othersDir
The directory for others catalog
|
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
protected File |
readmeComponentsStarterDir
The directory for components starter
|
protected File |
websiteDocBaseDir
The website doc base directory
|
| Constructor and Description |
|---|
UpdateDocComponentsListMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute goal.
|
protected void |
executeComponentsReadme() |
protected void |
executeDataFormatsReadme() |
protected void |
executeLanguagesReadme() |
protected void |
executeOthersReadme() |
@Parameter(property="project",
required=true,
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${project.build.directory}/classes/org/apache/camel/springboot/catalog/components")
protected File componentsDir
@Parameter(defaultValue="${project.build.directory}/classes/org/apache/camel/springboot/catalog/dataformats")
protected File dataFormatsDir
@Parameter(defaultValue="${project.build.directory}/classes/org/apache/camel/springboot/catalog/languages")
protected File languagesDir
@Parameter(defaultValue="${project.build.directory}/classes/org/apache/camel/springboot/catalog/others")
protected File othersDir
@Parameter(defaultValue="${project.directory}/../../../components-starter")
protected File readmeComponentsStarterDir
@Parameter(defaultValue="${project.directory}/../../../docs/modules/ROOT/pages")
protected File websiteDocBaseDir
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - execution of the main class or one of the
threads it generated failed.org.apache.maven.plugin.MojoFailureException - something bad happened...protected void executeComponentsReadme()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void executeDataFormatsReadme()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void executeLanguagesReadme()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void executeOthersReadme()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionApache Camel