@Mojo(name="verify", defaultPhase=VERIFY, requiresProject=true, threadSafe=true) public class VerifyMojo extends AbstractMojo implements SurefireReportParameters
Constructor and Description |
---|
VerifyMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
File |
getBasedir() |
protected String[] |
getDefaultIncludes() |
Boolean |
getFailIfNoTests() |
protected String |
getPluginName() |
File |
getReportsDirectory() |
File |
getTestClassesDirectory() |
boolean |
isSkip() |
boolean |
isSkipExec()
Deprecated.
|
boolean |
isSkipITs() |
boolean |
isSkipTests() |
boolean |
isTestFailureIgnore() |
void |
setBasedir(File basedir) |
void |
setFailIfNoTests(Boolean failIfNoTests) |
void |
setReportsDirectory(File reportsDirectory) |
void |
setSkip(boolean skip) |
void |
setSkipExec(boolean skipExec)
Deprecated.
|
void |
setSkipITs(boolean skipITs) |
void |
setSkipTests(boolean skipTests) |
void |
setTestClassesDirectory(File testClassesDirectory) |
void |
setTestFailureIgnore(boolean testFailureIgnore) |
protected boolean |
verifyParameters() |
getLog, getPluginContext, setLog, setPluginContext
public void execute() throws MojoExecutionException, MojoFailureException
execute
in interface Mojo
MojoExecutionException
MojoFailureException
protected boolean verifyParameters() throws MojoFailureException
MojoFailureException
protected String getPluginName()
protected String[] getDefaultIncludes()
public boolean isSkipTests()
isSkipTests
in interface SurefireReportParameters
public void setSkipTests(boolean skipTests)
setSkipTests
in interface SurefireReportParameters
public boolean isSkipITs()
public void setSkipITs(boolean skipITs)
@Deprecated public boolean isSkipExec()
isSkipExec
in interface SurefireReportParameters
@Deprecated public void setSkipExec(boolean skipExec)
setSkipExec
in interface SurefireReportParameters
public boolean isSkip()
isSkip
in interface SurefireReportParameters
public void setSkip(boolean skip)
setSkip
in interface SurefireReportParameters
public boolean isTestFailureIgnore()
isTestFailureIgnore
in interface SurefireReportParameters
public void setTestFailureIgnore(boolean testFailureIgnore)
setTestFailureIgnore
in interface SurefireReportParameters
public File getBasedir()
getBasedir
in interface SurefireReportParameters
public void setBasedir(File basedir)
setBasedir
in interface SurefireReportParameters
public File getTestClassesDirectory()
getTestClassesDirectory
in interface SurefireReportParameters
public void setTestClassesDirectory(File testClassesDirectory)
setTestClassesDirectory
in interface SurefireReportParameters
public File getReportsDirectory()
getReportsDirectory
in interface SurefireReportParameters
public void setReportsDirectory(File reportsDirectory)
setReportsDirectory
in interface SurefireReportParameters
public Boolean getFailIfNoTests()
getFailIfNoTests
in interface SurefireReportParameters
public void setFailIfNoTests(Boolean failIfNoTests)
setFailIfNoTests
in interface SurefireReportParameters
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.