@Mojo(name="contract-test",
defaultPhase=PROCESS_TEST_CLASSES,
requiresDependencyResolution=TEST)
public class ContractMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
ContractMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
setErrors(ReportConfig errors) |
void |
setFailOnError(boolean failOnError)
If true the build will fail if there is an error in the mojo.
|
void |
setPackages(java.lang.String[] packages) |
void |
setSkipFilter(java.lang.String filter) |
void |
setUnimplemented(ReportConfig unimplemented) |
void |
setUntested(ReportConfig untested) |
public void setPackages(java.lang.String[] packages)
public void setSkipFilter(java.lang.String filter)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void setErrors(ReportConfig errors)
public void setUntested(ReportConfig untested)
public void setUnimplemented(ReportConfig unimplemented)
public void setFailOnError(boolean failOnError)
truefailOnError - if true the build will fail on error.public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2013-2018 XENEI.com. All Rights Reserved.