@Mojo(name="validate",
defaultPhase=COMPILE,
threadSafe=true)
public class ValidateMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected org.apache.maven.project.MavenProject |
project |
Constructor and Description |
---|
ValidateMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
String |
getExcludes() |
String |
getIncludes() |
List<File> |
getProcessedFiles() |
File |
getSourceDirectory() |
boolean |
hasErrors() |
boolean |
hasWarnings() |
boolean |
shouldFailOnWarnings() |
@Parameter(defaultValue="${project}", readonly=true, required=true) protected org.apache.maven.project.MavenProject project
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public File getSourceDirectory()
public boolean shouldFailOnWarnings()
public boolean hasWarnings()
public boolean hasErrors()
public String getIncludes()
public String getExcludes()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.