Annotation Interface MojoParameter
@Deprecated(since="4.0.0-rc-6",
forRemoval=true)
@Target({METHOD,PARAMETER})
@Retention(RUNTIME)
@Inherited
@Repeatable(MojoParameters.class)
public @interface MojoParameter
Deprecated, for removal: This API element is subject to removal in a future version.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionDeprecated, for removal: This API element is subject to removal in a future version.The name of the Mojo parameter to set.Deprecated, for removal: This API element is subject to removal in a future version.The value to set for the parameter.
-
Element Details
-
name
String nameDeprecated, for removal: This API element is subject to removal in a future version.The name of the Mojo parameter to set. This should match the name of a parameter in the Mojo class, as specified by its@Parameterannotation or field name.- Returns:
- the parameter name
-
value
String valueDeprecated, for removal: This API element is subject to removal in a future version.The value to set for the parameter. The value can include Maven property expressions (e.g., "${project.version}").- Returns:
- the parameter value
-
MojoParameterinstead