Package com.intsof.ai.build.integrity
Class HashCleanMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.intsof.ai.build.integrity.HashCleanMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="clean-hashes", defaultPhase=CLEAN, requiresProject=true, threadSafe=true) public class HashCleanMojo extends org.apache.maven.plugin.AbstractMojoRemoves companion hash sidecar files generated by thegenerate-hashesgoal.This mojo walks a base directory using NIO
Files.walkFileTree, finds files matching the configured hash output extension, and deletes them. It binds by default to thecleanphase, allowing easy cleanup of generated artifacts that live alongside source code (outside the traditionaltargetdirectory).
-
-
Constructor Summary
Constructors Constructor Description HashCleanMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-