class DefaultMavenPluginValidator implements MavenPluginValidator {

    @Override
    public void validate(Artifact pluginArtifact, PluginDescriptor pluginDescriptor, List<String> errors) {<FILL_FUNCTION_BODY>}
}

        if (!pluginArtifact.getGroupId().equals(pluginDescriptor.getGroupId())) {
            errors.add("Plugin's descriptor contains the wrong group ID: " + pluginDescriptor.getGroupId());
        }

        if (!pluginArtifact.getArtifactId().equals(pluginDescriptor.getArtifactId())) {
            errors.add("Plugin's descriptor contains the wrong artifact ID: " + pluginDescriptor.getArtifactId());
        }

        if (!pluginArtifact.getBaseVersion().equals(pluginDescriptor.getVersion())) {
            errors.add("Plugin's descriptor contains the wrong version: " + pluginDescriptor.getVersion());
        }
    
<no_super_class>