Class ReadOnlyPluginParametersValidator

java.lang.Object
org.apache.maven.plugin.internal.ReadOnlyPluginParametersValidator

@Named @Singleton public class ReadOnlyPluginParametersValidator extends Object
Print warnings if read-only parameters of a plugin are used in configuration.
Author:
Slawomir Jaranowski
  • Constructor Details

    • ReadOnlyPluginParametersValidator

      public ReadOnlyPluginParametersValidator()
  • Method Details

    • getLogger

      protected org.slf4j.Logger getLogger()
    • getParameterLogReason

      protected String getParameterLogReason(Parameter parameter)
    • validate

      public void validate(MojoDescriptor mojoDescriptor, org.codehaus.plexus.configuration.PlexusConfiguration pomConfiguration, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator)
    • checkParameter

      protected void checkParameter(Parameter parameter, org.codehaus.plexus.configuration.PlexusConfiguration pomConfiguration, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator)
    • isValueSet

      protected static boolean isValueSet(org.codehaus.plexus.configuration.PlexusConfiguration config, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator)
    • logParameter

      protected void logParameter(Parameter parameter)