Package org.apache.maven.api.plugin
Interface Mojo
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This interface forms the contract required for Mojos to interact with the Maven infrastructure.
 It features an 
execute() method, which triggers the Mojo's build-process behavior,
 and can throw a MojoException if error conditions occur.- Since:
- 4.0.0
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute()Perform whatever build-process behavior thisMojoimplements.
- 
Method Details- 
executevoid execute()Perform whatever build-process behavior thisMojoimplements. This is the main trigger for theMojoinside the Maven system, and allows theMojoto communicate errors.- Throws:
- MojoException- if a problem occurs
 
 
-