@Mojo(name="coverage", defaultPhase=TEST) public class CoverageMojo extends LaunchMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
skip
Set this to "true" to bypass unit tests entirely.
|
protected boolean |
skipTests
Set this to "true" to skip running tests, but still compile them.
|
basedir, project, reactorProjects, session, settings
Constructor and Description |
---|
CoverageMojo() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isSkip() |
protected void |
postExecute(int resultCode) |
protected void |
preExecute(org.apache.commons.exec.Executor exec,
org.apache.commons.exec.CommandLine commandLine,
Properties enviro) |
getArgsList, getCommandArgs, getExecutable, getInputStream, getMoreEnvironmentVariables, getOutputStreamErr, getOutputStreamOut, getSuccesCode, getWorkingDir
execute, getEnvs, isResultCodeAFailure, parseCommandlineArgs
@Parameter(property="skipTests", defaultValue="false") protected boolean skipTests
@Parameter(property="maven.test.skip", defaultValue="false") protected boolean skip
skipTests
parameter instead.protected void preExecute(org.apache.commons.exec.Executor exec, org.apache.commons.exec.CommandLine commandLine, Properties enviro) throws org.apache.maven.plugin.MojoExecutionException
preExecute
in class AbstractLaunchMojo
org.apache.maven.plugin.MojoExecutionException
protected void postExecute(int resultCode) throws org.apache.maven.plugin.MojoExecutionException
postExecute
in class AbstractLaunchMojo
org.apache.maven.plugin.MojoExecutionException
protected boolean isSkip()
isSkip
in class LaunchMojo
Copyright © 2010–2017 Neticoa SAS. All rights reserved.