Allure не генерирует index.html, хотя xml file создается

Allure не генерирует index.html, хотя xml file создается в target/allure-results
Использую Appium+ TestNg + Maven + Allure

Pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>Appium</groupId>
  <artifactId>Web</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <packaging>jar</packaging>

  <name>Web</name>
  <url>http://maven.apache.org</url>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <build>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <version>2.19.1</version>
          <configuration>
          		<testFailureIgnore>false</testFailureIgnore>
          		<argLine>
			-javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/1.8.10/aspectjweaver-1.8.10.jar
				</argLine>
                   <forkMode>never</forkMode>
          	<suiteXmlFiles>
          	<suiteXmlFile>testng.xml</suiteXmlFile>
          	</suiteXmlFiles>
          	<properties>
					<property>
					  <name>usedefaultlisteners</name>
					  <value>false</value>
					</property>
					<property>
					  <name>listener</name>
					<value>ru.yandex.qatools.allure.testng.AllureTestListener</value>
					</property>
				</properties>
          </configuration>
          
          <dependencies>
		<dependency>
			<groupId>org.aspectj</groupId>
			<artifactId>aspectjweaver</artifactId>
			<version>1.8.10</version>
		</dependency>
	</dependencies>
       </plugin>
     </plugins>
   </build>

  <dependencies>
  	<dependency>
                         <groupId>ru.yandex.qatools.allure</groupId>
                        <artifactId>allure-testng-adaptor</artifactId>
                         <version>1.5.4</version>
		         <scope>test</scope>
		</dependency>
         	<dependency>
                        <groupId>org.testng</groupId>
                        <artifactId>testng</artifactId>
                        <version>6.9.10</version>
                        <scope>compile</scope>
                </dependency>
				
                <dependency>
                        <groupId>org.seleniumhq.selenium</groupId>
                        <artifactId>selenium-java</artifactId>
                        <version>3.4.0</version>
                </dependency>
                <dependency>
                        <groupId>io.appium</groupId>
                        <artifactId>java-client</artifactId>
                        <version>5.0.0-BETA9</version>
                </dependency>
                <dependency>
                        <groupId>com.google.code.gson</groupId>
                        <artifactId>gson</artifactId>
                        <version>2.8.0</version>
                </dependency>         
  </dependencies>
 
  <reporting>
	<excludeDefaults>true</excludeDefaults>
	<plugins>
		<plugin>
			<groupId>ru.yandex.qatools.allure</groupId>
    		<artifactId>allure-maven-plugin</artifactId>
    		<version>2.8</version>
		</plugin>
	</plugins>
</reporting>
</project>

у меня вот этого куска кода нет

генерирую отчет по команде - mvn clean test site
лежит тут - target/site/allure-maven-plugin.html

UPD: добавлю свои депенденси для алюр

       <dependency>
            <groupId>ru.yandex.qatools.allure</groupId>
            <artifactId>allure-testng-adaptor</artifactId>
            <version>${allure.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.aspectj</groupId>
            <artifactId>aspectjweaver</artifactId>
            <version>${aspectj.version}</version>
        </dependency>
        <dependency>
            <groupId>ru.yandex.qatools.allure</groupId>
            <artifactId>allure-maven-plugin</artifactId>
            <version>2.6</version>
        </dependency>
        <dependency>
            <groupId>ru.yandex.qatools.allure</groupId>
            <artifactId>allure-java-annotations</artifactId>
            <version>1.5.4</version>
        </dependency>

You can generate a report using one of the following command:

mvn allure:serve

Report will be generated into temp folder. Web server with results will start.

mvn allure:report

Report will be generated tо directory: target/site/allure-maven/index.html

подскажите есть ли у вас секция reporting в pom file? вы в ней так же указываете allure-maven-plugin?

да, есть

    <reporting>
        <excludeDefaults>true</excludeDefaults>
        <plugins>
            <plugin>
                <groupId>ru.yandex.qatools.allure</groupId>
                <artifactId>allure-maven-plugin</artifactId>
                <version>2.6</version>
            </plugin>
        </plugins>
    </reporting>

спасибо,
но к сожалению отчет так и не генерится(
даже папки site нет

Привет!
В первую очередь необходимо использовать последнюю версию плагина:

Скажите, у вас генерируется папка с результатами allure-results?

Да, target/allure-result папка генерируется

Исправила на новую версию

Теперь такой pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>Appium</groupId>
  <artifactId>Web</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <packaging>jar</packaging>

  <name>Web</name>
  <url>http://maven.apache.org</url>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <dependencies>
   				<dependency>
		               <groupId>io.qameta.allure</groupId>
    					<artifactId>allure-maven</artifactId>
    					<version>2.8</version>
        		  </dependency>
  				<dependency>
					<groupId>ru.yandex.qatools.allure</groupId>
	    			<artifactId>allure-testng-adaptor</artifactId>
	    			<version>1.5.4</version>
					<scope>test</scope>
		    	</dependency>
  		    	<dependency>
		            <groupId>ru.yandex.qatools.allure</groupId>
		            <artifactId>allure-java-annotations</artifactId>
		            <version>1.5.4</version>
        		</dependency>
         		<dependency>
                    <groupId>org.testng</groupId>
                    <artifactId>testng</artifactId>
                    <version>6.9.10</version>
                    <scope>compile</scope>
                </dependency>
                <dependency>
                        <groupId>org.seleniumhq.selenium</groupId>
                        <artifactId>selenium-java</artifactId>
                        <version>3.4.0</version>
                </dependency>
                <dependency>
                        <groupId>io.appium</groupId>
                        <artifactId>java-client</artifactId>
                        <version>5.0.0-BETA9</version>
                </dependency>
                <dependency>
                        <groupId>com.google.code.gson</groupId>
                        <artifactId>gson</artifactId>
                        <version>2.8.0</version>
                </dependency>             
  </dependencies>
  
  <build>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <version>2.19.1</version>
          <configuration>
          		<testFailureIgnore>false</testFailureIgnore>
          		<argLine>
			-javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/1.8.10/aspectjweaver-1.8.10.jar
				</argLine>
                   <forkMode>never</forkMode>
          			<suiteXmlFiles>
          			<suiteXmlFile>testng.xml</suiteXmlFile>
          			</suiteXmlFiles> 			
          </configuration>
          <dependencies>
				<dependency>
					<groupId>org.aspectj</groupId>
					<artifactId>aspectjweaver</artifactId>
					<version>1.8.10</version>
				</dependency>
		  </dependencies>
       </plugin>
     </plugins>
   </build>
  
  <reporting>
	<excludeDefaults>true</excludeDefaults>
	<plugins>
		<plugin>
			    <groupId>io.qameta.allure</groupId>
    			<artifactId>allure-maven</artifactId>
    			<version>2.8</version>
		</plugin>
	</plugins>
</reporting>
</project>

Отлично, теперь выполняем вот эти команды:

  1. mvn clean test - если директория с результатами уже есть, то можно не выполнять
  2. mvn site - генерируем отчет в папку target/site/site/allure-maven-plugin/index.html
2 лайка

Спасибо, отчет генерируется!!!

Правда если делать команду mvn clean test site то отчета нет