To generate the full Thucydides reports, run mvn thucydides:aggregate. For this to work, you need to add the right plugins group to your settings.xml file, as shown here:
<settings> <pluginGroups> <pluginGroup>net.thucydides.maven.plugins</pluginGroup> ... </pluginGroups> ... </settings>
You can run this in the same command as your tests by setting the maven.test.failure.ignore property to true: if you don’t do this, Maven will stop if any errors occur and not proceed to the report generation:
$ mvn clean verify thucydides:aggregate -Dmaven.test.failure.ignore=true
You can also integrate the Thucydides reports into the standard Maven reports. If you are using Maven 2, just add the Thucydides Maven plugin to the reporting section:
<reporting>
<plugins>
...
<plugin>
<groupId>net.thucydides.maven.plugins</groupId>
<artifactId>maven-thucydides-plugin</artifactId>
<version>${thucydides.version}</version>
</plugin>
</plugins>
</reporting>
If you are using Maven 3, you need to add the Maven Thucydides report to the maven-site-plugin configuration as shown here:
<build>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0-beta-3</version>
<configuration>
<reportPlugins>
...
<plugin>
<groupId>net.thucydides.maven.plugins</groupId>
<artifactId>maven-thucydides-plugin</artifactId>
<version>${thucydides.version}</version>
</plugin>
</reportPlugins>
</configuration>
</plugin>
</plugins>
</build>
To generate this report, run the mvn site command after running mvn verify, e.g.
$ mvn clean verify site
This will produce a summary report in the generated Maven site documentation, with links to the more detailed Thucydides reports: