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