Package org.kohsuke.accmod.impl
Class EnforcerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.kohsuke.accmod.impl.EnforcerMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="enforce",
defaultPhase=PROCESS_CLASSES,
requiresDependencyResolution=COMPILE)
public class EnforcerMojo
extends org.apache.maven.plugin.AbstractMojo
Enforces the
Restricted
access modifier annotations.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.maven.project.MavenProject
The maven project.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
project
@Parameter(property="project", readonly=true) protected org.apache.maven.project.MavenProject projectThe maven project.
-
-
Constructor Details
-
EnforcerMojo
public EnforcerMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-