Skip to content
This repository has been archived by the owner on Jan 14, 2019. It is now read-only.

Allure Maven Plugin

Ivan Krutov edited this page Aug 25, 2014 · 9 revisions

Allure Maven plugin allows to generate Allure report from prepared XML input data. This plugin doesn't know how to generate XML files - use a respective adapter for that. To use this plugin simply add it as dependency to reporting section of your pom.xml file:

<reporting>
    <plugins>
        <plugin>
            <groupId>ru.yandex.qatools.allure</groupId>
            <artifactId>allure-maven-plugin</artifactId>
            <version>${allure.version}</version>
        </plugin>
    </plugins>
</reporting>

NOTE: Property allure.version should be defined in your pom.xml.

Configuration

  • allureResultsDirectory - Path to directory with Allure XML files. By default "${build.outputDirectory}/allure-results"
  • outputDirectory - Path to generated report.