@Mojo(name="verify", defaultPhase=VERIFY, requiresProject=true, threadSafe=true) public class VerifyMojo extends org.apache.maven.plugin.AbstractMojo implements SurefireReportParameters
Constructor and Description |
---|
VerifyMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
File |
getBasedir() |
protected String[] |
getDefaultIncludes() |
boolean |
getFailIfNoTests() |
int |
getFailOnFlakeCount() |
protected String |
getPluginName() |
File |
getReportsDirectory() |
org.apache.maven.execution.MavenSession |
getSession() |
File |
getSummaryFile() |
File |
getTestClassesDirectory() |
boolean |
isSkip() |
boolean |
isSkipExec()
Deprecated.
|
boolean |
isSkipITs() |
boolean |
isSkipTests() |
boolean |
isTestFailureIgnore() |
void |
setBasedir(File basedir) |
void |
setFailIfNoTests(boolean failIfNoTests) |
void |
setFailOnFlakeCount(int failOnFlakeCount) |
void |
setReportsDirectory(File reportsDirectory) |
void |
setSession(org.apache.maven.execution.MavenSession session) |
void |
setSkip(boolean skip) |
void |
setSkipExec(boolean skipExec)
Deprecated.
|
void |
setSkipITs(boolean skipITs) |
void |
setSkipTests(boolean skipTests) |
void |
setSummaryFile(File summaryFile) |
void |
setTestClassesDirectory(File testClassesDirectory) |
void |
setTestFailureIgnore(boolean testFailureIgnore) |
protected boolean |
verifyParameters() |
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected boolean verifyParameters() throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.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 File getSummaryFile()
public void setSummaryFile(File summaryFile)
public boolean getFailIfNoTests()
getFailIfNoTests
in interface SurefireReportParameters
public void setFailIfNoTests(boolean failIfNoTests)
setFailIfNoTests
in interface SurefireReportParameters
public int getFailOnFlakeCount()
getFailOnFlakeCount
in interface SurefireReportParameters
public void setFailOnFlakeCount(int failOnFlakeCount)
setFailOnFlakeCount
in interface SurefireReportParameters
public org.apache.maven.execution.MavenSession getSession()
public void setSession(org.apache.maven.execution.MavenSession session)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.