@Mojo(name="import",
requiresProject=false)
public class SerenityAdaptorMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
String |
format
External test reports are read from here
|
File |
outputDirectory
Aggregate reports are generated here
|
File |
source
External test reports are read from here if necessary.
|
Constructor and Description |
---|
SerenityAdaptorMojo() |
SerenityAdaptorMojo(net.thucydides.core.util.EnvironmentVariables environmentVariables) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected File |
getOutputDirectory() |
void |
setFormat(String format) |
void |
setOutputDirectory(File outputDirectory) |
void |
setSource(File source) |
@Parameter(property="import.target", defaultValue="${user.dir}/target/site/serenity", required=true) public File outputDirectory
@Parameter(property="import.format", required=true) public String format
@Parameter(property="import.source") public File source
public SerenityAdaptorMojo(net.thucydides.core.util.EnvironmentVariables environmentVariables)
public SerenityAdaptorMojo()
protected File getOutputDirectory()
public void setOutputDirectory(File outputDirectory)
public void setFormat(String format)
public void setSource(File source)
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2017. All rights reserved.