@Mojo(name="aggregate",
requiresProject=false,
requiresDependencyResolution=COMPILE)
public class SerenityAggregatorMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
issueTrackerUrl
URL of the issue tracking system to be used to generate links for issue numbers.
|
java.lang.String |
jiraPassword |
java.lang.String |
jiraProject
JIRA project key, which will be prepended to the JIRA issue numbers.
|
java.lang.String |
jiraUrl
Base URL for JIRA, if you are using JIRA as your issue tracking system.
|
java.lang.String |
jiraUsername |
java.io.File |
outputDirectory
Aggregate reports are generated here
|
java.lang.String |
projectKey
Serenity project key
|
java.lang.String |
requirementsBaseDir
Base directory for requirements.
|
protected org.apache.maven.execution.MavenSession |
session |
java.io.File |
sourceDirectory
Serenity test reports are read from here
|
| Constructor and Description |
|---|
SerenityAggregatorMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected net.thucydides.core.reports.html.HtmlAggregateStoryReporter |
getReporter() |
void |
prepareExecution() |
protected void |
setOutputDirectory(java.io.File outputDirectory) |
protected void |
setReporter(net.thucydides.core.reports.html.HtmlAggregateStoryReporter reporter) |
protected void |
setSourceDirectory(java.io.File sourceDirectory) |
@Parameter(property="serenity.outputDirectory") public java.io.File outputDirectory
@Parameter(property="serenity.sourceDirectory") public java.io.File sourceDirectory
@Parameter public java.lang.String issueTrackerUrl
@Parameter public java.lang.String jiraUrl
@Parameter public java.lang.String jiraUsername
@Parameter public java.lang.String jiraPassword
@Parameter public java.lang.String jiraProject
@Parameter public java.lang.String requirementsBaseDir
@Parameter(defaultValue="${session}")
protected org.apache.maven.execution.MavenSession session
@Parameter(property="thucydides.project.key",
defaultValue="default")
public java.lang.String projectKey
protected void setOutputDirectory(java.io.File outputDirectory)
protected void setSourceDirectory(java.io.File sourceDirectory)
public void prepareExecution()
protected void setReporter(net.thucydides.core.reports.html.HtmlAggregateStoryReporter reporter)
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected net.thucydides.core.reports.html.HtmlAggregateStoryReporter getReporter()