Annotation Type Component


Used to configure injection of Plexus components by MavenPluginManager.getConfiguredMojo(...).
Since:
4.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    hint of the component to inject.
    role of the component to inject.
  • Element Details

    • role

      Class<?> role
      role of the component to inject.
      Returns:
      the role
      Default:
      java.lang.Object.class
    • hint

      String hint
      hint of the component to inject.
      Returns:
      the hint
      Default:
      ""