Package org.apache.maven.plugin.internal
Class AbstractMavenPluginDependenciesValidator
- java.lang.Object
-
- org.apache.maven.plugin.internal.AbstractMavenPluginDependenciesValidator
-
- All Implemented Interfaces:
MavenPluginDependenciesValidator
- Direct Known Subclasses:
Maven2DependenciesValidator
,Maven3CompatDependenciesValidator
,MavenMixedDependenciesValidator
,MavenScopeDependenciesValidator
,PlexusContainerDefaultDependenciesValidator
abstract class AbstractMavenPluginDependenciesValidator extends java.lang.Object implements MavenPluginDependenciesValidator
Service responsible for validating plugin dependencies.- Since:
- 3.9.2
-
-
Field Summary
Fields Modifier and Type Field Description protected PluginValidationManager
pluginValidationManager
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractMavenPluginDependenciesValidator(PluginValidationManager pluginValidationManager)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
doValidate(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.artifact.Artifact pluginArtifact, org.eclipse.aether.resolution.ArtifactDescriptorResult artifactDescriptorResult)
void
validate(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.artifact.Artifact pluginArtifact, org.eclipse.aether.resolution.ArtifactDescriptorResult artifactDescriptorResult)
Checks mojo dependency issues.
-
-
-
Field Detail
-
pluginValidationManager
protected final PluginValidationManager pluginValidationManager
-
-
Constructor Detail
-
AbstractMavenPluginDependenciesValidator
protected AbstractMavenPluginDependenciesValidator(PluginValidationManager pluginValidationManager)
-
-
Method Detail
-
validate
public void validate(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.artifact.Artifact pluginArtifact, org.eclipse.aether.resolution.ArtifactDescriptorResult artifactDescriptorResult)
Description copied from interface:MavenPluginDependenciesValidator
Checks mojo dependency issues.- Specified by:
validate
in interfaceMavenPluginDependenciesValidator
-
doValidate
protected abstract void doValidate(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.artifact.Artifact pluginArtifact, org.eclipse.aether.resolution.ArtifactDescriptorResult artifactDescriptorResult)
-
-