@Mojo(name="check",
defaultPhase=VERIFY,
requiresDependencyResolution=NONE,
threadSafe=true)
public class CheckstyleViolationCheckMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected CheckstyleExecutor |
checkstyleExecutor |
protected org.apache.maven.project.MavenProject |
project
The Maven Project Object.
|
protected List<org.apache.maven.model.Resource> |
resources
Specifies the location of the resources to be used for Checkstyle.
|
protected List<org.apache.maven.model.Resource> |
testResources
Specifies the location of the test resources to be used for Checkstyle.
|
| Constructor and Description |
|---|
CheckstyleViolationCheckMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
@Parameter(defaultValue="${project.resources}",
readonly=true)
protected List<org.apache.maven.model.Resource> resources
@Parameter(defaultValue="${project.testResources}",
readonly=true)
protected List<org.apache.maven.model.Resource> testResources
@Component(role=CheckstyleExecutor.class, hint="default") protected CheckstyleExecutor checkstyleExecutor
@Parameter(defaultValue="${project}",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
Copyright © 2005–2023 The Apache Software Foundation. All rights reserved.