@Mojo(name="xunit", defaultPhase=TEST) public class XUnitMojo 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 |
---|
XUnitMojo() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isSkip() |
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, postExecute
@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 boolean isSkip()
isSkip
in class LaunchMojo
Copyright © 2010–2017 Neticoa SAS. All rights reserved.