Package org.apache.maven.plugin.internal
Class ReadOnlyPluginParametersValidator
java.lang.Object
org.apache.maven.plugin.internal.ReadOnlyPluginParametersValidator
Print warnings if read-only parameters of a plugin are used in configuration.
- Author:
- Slawomir Jaranowski
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkParameter
(Parameter parameter, org.codehaus.plexus.configuration.PlexusConfiguration pomConfiguration, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator) protected org.slf4j.Logger
protected String
getParameterLogReason
(Parameter parameter) protected static boolean
isValueSet
(org.codehaus.plexus.configuration.PlexusConfiguration config, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator) protected void
logParameter
(Parameter parameter) void
validate
(MojoDescriptor mojoDescriptor, org.codehaus.plexus.configuration.PlexusConfiguration pomConfiguration, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator)
-
Constructor Details
-
ReadOnlyPluginParametersValidator
public ReadOnlyPluginParametersValidator()
-
-
Method Details
-
getLogger
protected org.slf4j.Logger getLogger() -
getParameterLogReason
-
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
-