Package org.apache.maven.plugin
Class MavenPluginValidator
- java.lang.Object
-
- org.apache.maven.plugin.MavenPluginValidator
-
public class MavenPluginValidator extends java.lang.ObjectThis is a simple Maven plugin validator that pretends that all plugins have valid descriptors.This is XMvn-specific class and it resides in
org.apache.mavennamespace only because it needs to override Maven class. If this was a Plexus component then there would be no need to override Maven class, setting default component class inplexus.xmlwould be enough.TODO: Try convince Maven upstream to convert this to Plexus component.
-
-
Constructor Summary
Constructors Constructor Description MavenPluginValidator(org.apache.maven.artifact.Artifact pluginArtifact)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getErrors()booleanhasErrors()voidvalidate(org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
-