Enum PluginValidationManager.IssueLocality

java.lang.Object
java.lang.Enum<PluginValidationManager.IssueLocality>
org.apache.maven.plugin.PluginValidationManager.IssueLocality
All Implemented Interfaces:
Serializable, Comparable<PluginValidationManager.IssueLocality>, java.lang.constant.Constable
Enclosing interface:
PluginValidationManager

public static enum PluginValidationManager.IssueLocality extends Enum<PluginValidationManager.IssueLocality>
  • Enum Constant Details

    • INTERNAL

      public static final PluginValidationManager.IssueLocality INTERNAL
      Issue is "user actionable", is internal to the currently built project and is reparable from scope of it by doing some change (for example by changing POM and fixing the problematic plugin configuration).
    • EXTERNAL

      public static final PluginValidationManager.IssueLocality EXTERNAL
      Issue (present in some plugin) is "developer actionable" (of given plugin, by changing code and doing new release), is NOT local to the currently built project. It may be reparable by updating given plugin to new fixed version, or by dropping plugin use from currently built project.

      Note: if a reactor build contains a plugin (with issues) and later that built plugin is used in build, it will be reported as "external". It is up to developer to correctly interpret output (GAV) of issues and realize that in this case he wears two hats:" "user" and "(plugin) developer".

  • Method Details

    • values

      public static PluginValidationManager.IssueLocality[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PluginValidationManager.IssueLocality valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null