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.
Use MojoParameter instead
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Deprecated, 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 name
      Deprecated, 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 @Parameter annotation or field name.
      Returns:
      the parameter name
    • value

      String value
      Deprecated, 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