Interface MojoMetadataProvider
-
public interface MojoMetadataProviderAllows users to configure caching for Mojos that the Develocity Maven Extension does not support out of the box.- Since:
- 1.21
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMojoMetadataProvider.ContextAllows configuring the inputs and outputs of a Mojo.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprovideMetadata(MojoMetadataProvider.Context context)Called for each goal as Maven is about to execute it.
-
-
-
Method Detail
-
provideMetadata
void provideMetadata(MojoMetadataProvider.Context context)
Called for each goal as Maven is about to execute it. The context object provides access to the goal and allows users to customize its caching.- Parameters:
context- provides access to the mojo execution and allows users to customize the inputs and outputs
-
-