Class BindexPerModuleMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.machanism.machai.bindex.maven.BindexMojo
org.machanism.machai.bindex.maven.BindexPerModuleMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="bindex-per-module",
aggregator=false,
threadSafe=true,
requiresProject=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class BindexPerModuleMojo
extends BindexMojo
-
Field Summary
Fields inherited from class org.machanism.machai.bindex.maven.BindexMojo
basedir, instructions, logger, model, path, project, reactorProjects, sessionFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the interactive action and scans documents using the configured action prompt.protected voidscanDocuments(ActProcessor actProcessor) Scans documents in the specified project context using the configured processor.Methods inherited from class org.machanism.machai.bindex.maven.BindexMojo
configureAndScan, getConfiguration, processMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
BindexPerModuleMojo
public BindexPerModuleMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionExceptionDescription copied from class:BindexMojoExecutes the interactive action and scans documents using the configured action prompt.This method initializes usage statistics, configures the processor, and executes the document scanning workflow. It supports interactive mode, parallel execution, and non-recursive processing based on the current Maven session and configuration.
- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Overrides:
executein classBindexMojo- Throws:
org.apache.maven.plugin.MojoExecutionException- if an I/O failure occurs while processing files
-
scanDocuments
Description copied from class:BindexMojoScans documents in the specified project context using the configured processor.- Overrides:
scanDocumentsin classBindexMojo- Parameters:
actProcessor- the processor configured for scanning and processing documents- Throws:
IOException- if an I/O error occurs during scanning
-