net.thucydides.maven.plugins
Class ThucydidesAggregatorMojo

Package class diagram package ThucydidesAggregatorMojo
java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.thucydides.maven.plugins.ThucydidesAggregatorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ThucydidesAggregatorMojo
extends org.apache.maven.plugin.AbstractMojo

Generate aggregate XML acceptance test reports.


Field Summary
 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
          Thucydides project key
 File sourceDirectory
          Thucydides test reports are read from here
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ThucydidesAggregatorMojo()
           
 
Method Summary
 void execute()
           
protected  HtmlAggregateStoryReporter getReporter()
           
protected  void setOutputDirectory(File outputDirectory)
           
protected  void setProject(org.apache.maven.project.MavenProject project)
           
protected  void setReporter(HtmlAggregateStoryReporter reporter)
           
protected  void setSourceDirectory(File sourceDirectory)
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

project

public org.apache.maven.project.MavenProject project

outputDirectory

public File outputDirectory
Aggregate reports are generated here


sourceDirectory

public File sourceDirectory
Thucydides test reports are read from here


issueTrackerUrl

public String issueTrackerUrl
URL of the issue tracking system to be used to generate links for issue numbers.


jiraUrl

public String jiraUrl
Base URL for JIRA, if you are using JIRA as your issue tracking system. If you specify this property, you don't need to specify the issueTrackerUrl.


jiraUsername

public String jiraUsername

jiraPassword

public String jiraPassword

jiraProject

public String jiraProject
JIRA project key, which will be prepended to the JIRA issue numbers.


projectKey

public String projectKey
Thucydides project key

Constructor Detail

ThucydidesAggregatorMojo

public ThucydidesAggregatorMojo()
Method Detail

setOutputDirectory

protected void setOutputDirectory(File outputDirectory)

setProject

protected void setProject(org.apache.maven.project.MavenProject project)

setSourceDirectory

protected void setSourceDirectory(File sourceDirectory)

setReporter

protected void setReporter(HtmlAggregateStoryReporter reporter)

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getReporter

protected HtmlAggregateStoryReporter getReporter()


Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.