@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.encoding
public String getEncoding()
getEncoding
in class AntBuildMojo
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AntBuildMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void writeSummary(org.apache.maven.surefire.suite.RunResult summary) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2016 Nuxeo SA. All Rights Reserved.