- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="validate",
requiresDirectInvocation=false,
requiresProject=true,
requiresReports=false,
requiresOnline=false,
inheritByDefault=true,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME)
@Execute(goal="validate",
phase=VALIDATE)
public class ValidatorMojo
extends AbstractValidationMojo
This class is a Maven Mojo to check the validity of licenses specified in the
dependencies of a maven module.
Used to configure injection of Plexus components by
MavenPluginManager.getConfiguredMojo(...) and special Maven objects as well:
mojoExecution org.apache.maven.plugin.MojoExecution project
org.apache.maven.project.MavenProject session
org.apache.maven.execution.MavenSession settings
org.apache.maven.settings.Settings plugin (Maven-3 only)
org.apache.maven.plugin.descriptor.PluginDescriptor
- Author:
- Rick-Rainer Ludwig