@Experimental @FunctionalInterface @Consumer public interface Mojo
Mojos
to interact with the Maven
infrastructure.execute()
method, which triggers the Mojo's build-process behavior, and can throw
a MojoException if error conditions occur.Modifier and Type | Method and Description |
---|---|
void |
execute()
Perform whatever build-process behavior this
Mojo implements.This is the main trigger for the Mojo inside the Maven system, and allows
the Mojo to communicate errors. |
void execute()
Mojo
implements.Mojo
inside the Maven
system, and allows
the Mojo
to communicate errors.MojoException
- if a problem occurs.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.