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 May 23, 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 the 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>
            <configuration>
                <outputDirectory>/path/to/generated/report</outputDirectory>
                <allureResultsDirectory>/path/to/XML</allureResultsDirectory>    
            </configuration>  
        </plugin>
    </plugins>
</reporting>

NOTE: ${allure.version} should be defined in your pom.xml. The plugin accepts outputDirectory and allureResultsDirectory options allowing to specify where to look for XML files and where to output the entire report.