Package org.machanism.machai.gw.maven
Class CleanMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.machanism.machai.gw.maven.CleanMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="clean",
defaultPhase=CLEAN)
public class CleanMojo
extends org.apache.maven.plugin.AbstractMojo
Maven goal that deletes temporary artifacts created by the MachAI generative-workflow (GWMojo) document processing.
This goal is typically bound to Maven's clean phase.
-
Field Summary
FieldsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Deletes workflow temporary files under the current module base directory.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
basedir
The Maven module base directory.
-
-
Constructor Details
-
CleanMojo
public CleanMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionExceptionDeletes workflow temporary files under the current module base directory.- Throws:
org.apache.maven.plugin.MojoExecutionException- if an error occurs while deleting temporary files
-