Class UpdateDocComponentsListMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.kafkaconnector.maven.docs.UpdateDocComponentsListMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="update-doc-connectors-list",
threadSafe=true)
public class UpdateDocComponentsListMojo
extends org.apache.maven.plugin.AbstractMojo
Generates the table of connectors in: - docs/modules/ROOT/pages/reference/index.adoc
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FileThe directory for components catalogprotected StringThe maven project.protected StringThe Last Released versionprotected org.apache.maven.project.MavenProjectThe maven project.protected FileThe project directoryprotected StringThe Apache RepositoryFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
project
@Parameter(property="project", required=true, readonly=true) protected org.apache.maven.project.MavenProject projectThe maven project. -
connectorsDir
The directory for components catalog -
projectBaseDir
The project directory -
repositoryPath
@Parameter(defaultValue="https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/") protected String repositoryPathThe Apache Repository -
lastReleasedVersion
The Last Released version -
connectorsProjectName
@Parameter(property="connectors-project-name", defaultValue="connectors", readonly=true) protected String connectorsProjectNameThe maven project.
-
-
Constructor Details
-
UpdateDocComponentsListMojo
public UpdateDocComponentsListMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionExecute goal.- Throws:
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...
-
executeComponentsReadme
protected void executeComponentsReadme() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-