Package org.l2x6.cq.maven.doc
Class UpdateDocPageMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.l2x6.cq.maven.doc.UpdateDocPageMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="update-doc-page",
threadSafe=true)
public class UpdateDocPageMojo
extends org.apache.maven.plugin.AbstractMojo
Updates the given extension's documentation page in the
docs module based on data in the current module.
Intended primarily for Quarkiverse CXF. Note that there is a similar plugin in Camel Quarkus.
- Since:
- 3.4.0
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected FileThe path to the docs module base directoryprotected FileThe root directory of the Camel Quarkus source tree.Fields 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
-
DEFAULT_TEMPLATES_URI_BASE
- See Also:
-
docsBaseDir
The path to the docs module base directory- Since:
- 3.4.0
-
multiModuleProjectDirectory
@Parameter(defaultValue="${maven.multiModuleProjectDirectory}", readonly=true) protected File multiModuleProjectDirectoryThe root directory of the Camel Quarkus source tree.- Since:
- 3.4.0
-
-
Constructor Details
-
UpdateDocPageMojo
public UpdateDocPageMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
extensionName
-
evalTemplate
-
getCharset
-
extensionName
-
getMultiModuleProjectDirectoryPath
-