@Mojo(name="integration-test",
defaultPhase=INTEGRATION_TEST,
threadSafe=true,
requiresProject=true,
requiresDependencyResolution=TEST)
public class IntegrationTestMojo
extends AntBuildMojo
VerifyMojo| Modifier and Type | Field and Description |
|---|---|
protected String |
reportingEncoding
The character encoding scheme to be applied.
|
protected boolean |
skipITs
Set this to
true to skip running integration tests. |
protected File |
summaryFile
The summary file to write integration test results to.
|
protected boolean |
testFailureIgnore
Deprecated.
Since 2.0. Now never fail during integration-test and rely on verify for exception raise.
|
antProfileManager, artifactHandlerManager, buildFile, buildFiles, encoding, expand, exportAntProperties, exportedAntProperties, failOnError, graph, localRepository, project, projectHelper, propertyPrefix, remoteRepositories, repositorySystemSession, session, settings, system, target, targets| Constructor and Description |
|---|
IntegrationTestMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
String |
getEncoding() |
protected void |
writeSummary(org.apache.maven.surefire.suite.RunResult summary) |
expandGraph, getActiveProfiles, getAntProfileManager, getArtifactHandlerManager, getBuildFiles, getGraph, getInjectedProfileIds, getInstance, getLocalRepository, getProject, getProjectHelper, getRemoteRepositories, getSession, getSystem, newGraph, newGraph, setAntPropertiesFromMaven, setAntReferencesFromMaven, setMavenPropertiesFromAnt@Deprecated @Parameter(defaultValue="true", property="maven.test.failure.ignore") protected boolean testFailureIgnore
@Parameter(defaultValue="${project.build.directory}/nxtools-reports/nxtools-summary.xml",
required=true)
protected File summaryFile
@Parameter(property="skipITs") protected boolean skipITs
true to skip running integration tests.@Parameter(defaultValue="${project.reporting.outputEncoding}")
protected String reportingEncoding
AntBuildMojo.getEncoding() if not defined.AntBuildMojo.encodingpublic String getEncoding()
getEncoding in class AntBuildMojopublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AntBuildMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void writeSummary(org.apache.maven.surefire.suite.RunResult summary)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2016 Nuxeo SA. All Rights Reserved.