Package org.l2x6.cq.maven.doc
Class UpdateDocsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.l2x6.cq.maven.doc.UpdateDocsMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="update-docs",
threadSafe=true)
public class UpdateDocsMojo
extends org.apache.maven.plugin.AbstractMojo
Performs the following tasks:
- Deletes extension pages whose extensions do not exist anymore
- Synchronizes nav.adoc with the reality
- Since:
- 3.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected FileThe path to the docs module base directoryFields 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
-
-
Constructor Details
-
UpdateDocsMojo
public UpdateDocsMojo()
-
-
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...
-
evalTemplate
-
getCharset
-
extensionName
-
getMultiModuleProjectDirectoryPath
-