Class MavenPluginValidator

java.lang.Object
org.apache.maven.plugin.MavenPluginValidator

public class MavenPluginValidator extends Object
This 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.maven namespace 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 in plexus.xml would be enough.

TODO: Try convince Maven upstream to convert this to Plexus component.

Author:
Mikolaj Izdebski
  • Constructor Details

    • MavenPluginValidator

      public MavenPluginValidator(org.apache.maven.artifact.Artifact pluginArtifact)
  • Method Details

    • validate

      public void validate(org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
    • hasErrors

      public boolean hasErrors()
    • getErrors

      public List<String> getErrors()