Closed Harshaec021 closed 9 years ago
@baev Could you please help me out ?
@Harshaec021 It seems that you use old version of maven.
@volkovs :+1:
Hi, I got the same problem. terminal log: [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Allure TestNG Example 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ FinalTask --- [INFO] Deleting /Users/daryatratseuskaya/IdeaProjects/FinalTask/target [INFO] [INFO] --- maven-site-plugin:3.3:site (default-site) @ FinalTask --- [INFO] configuring report plugin ru.yandex.qatools.allure:allure-maven-plugin:2.6 [WARNING] No project URL defined - decoration links will not be relativized! [INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin. [INFO] Skipped "Allure" report, file "allure-maven-plugin.html" already exists for the English version. [INFO] Skipped "Allure" report, file "allure-maven-plugin.html" already exists for the English version. [INFO] Generating "Allure" report --- allure-maven-plugin:2.6 [INFO] Generate Allure report (aggregate) with version 1.4.16 [INFO] Generate Allure report to /Users/daryatratseuskaya/IdeaProjects/FinalTask/target/target/allure-reports/ [ERROR] Input directory should be not absolute for aggregate goal. [WARNING] Allure report was skipped because there is no results directories found. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ FinalTask --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ FinalTask --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 7 source files to /Users/daryatratseuskaya/IdeaProjects/FinalTask/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ FinalTask --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/daryatratseuskaya/IdeaProjects/FinalTask/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ FinalTask --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 7 source files to /Users/daryatratseuskaya/IdeaProjects/FinalTask/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ FinalTask --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.533 s [INFO] Finished at: 2017-08-01T18:35:33+03:00 [INFO] Final Memory: 38M/331M
pom.xml `<?xml version="1.0" encoding="UTF-8"?> <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">
<groupId>FinalTask</groupId>
<artifactId>FinalTask</artifactId>
<version>1.0-SNAPSHOT</version>
<!--<parent>-->
<!--<groupId>ru.yandex.qatools.allure</groupId>-->
<!--<artifactId>allure-examples-parent</artifactId>-->
<!--<version>2.0</version>-->
<!--</parent>-->
<properties>
<java.version>1.8</java.version>
<allure.version>1.4.16</allure.version>
<aspectj.version>1.8.5</aspectj.version>
</properties>
<name>Allure TestNG Example</name>
<description>Allure TestNG Example</description>
<dependencies>
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-testng</artifactId>
<version>2.0-BETA16</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.21</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.11</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.16</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/ru.yandex.qatools.allure/allure-maven-plugin -->
<dependency>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-maven-plugin</artifactId>
<version>2.6</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
<argLine>
-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
</argLine>
</configuration>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</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>-->
<!--<reporting>-->
<excludeDefaults>true</excludeDefaults>
<plugins>
<plugin>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-maven-plugin</artifactId>
<version>2.6</version>
<configuration>
<resultsDirectory>${project.build.directory}/target/allure-reports/</resultsDirectory>
<inputDirectories>${project.build.directory}/target/allure-reports/</inputDirectories>
<reportDirectory>${project.build.directory}/target/allure-reports/</reportDirectory>
<reportingOutputDirectory>${project.build.directory}/target/allure-reports/</reportingOutputDirectory>
<!--<failReportIfEmpty>false</failReportIfEmpty>-->
</configuration>
</plugin>
</plugins>
</reporting>
</project>
` could you please help?
Thank you in advance!
folder is generated after
Guys, please, help, seems problem with directories and got: [WARNING] Results directory for module Allure TestNG Example not found. [WARNING] Allure report was skipped because there is no results directories found.
<reporting>
<!--<excludeDefaults>true</excludeDefaults>-->
<!--<plugins>-->
<!--<plugin>-->
<!--<groupId>io.qameta.allure</groupId>-->
<!--<artifactId>allure-maven</artifactId>-->
<!--<version>2.8</version>-->
<!--</plugin>-->
<!--</plugins>-->
<!--</reporting>-->
<!--<reporting>-->
<excludeDefaults>true</excludeDefaults>
<plugins>
<plugin>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-maven-plugin</artifactId>
<version>2.6</version>
<configuration>
<properties>
<resultsDirectory>${project.build.directory}/target/allure-results/</resultsDirectory>
<!--<inputDirectories>${project.build.directory}/target/allure-reports/</inputDirectories>-->
<reportDirectory>${project.build.directory}/target/allure-reports/</reportDirectory> <reportingOutputDirectory>${project.build.directory}/target/site/</reportingOutputDirectory>
</properties>
<!--<failReportIfEmpty>false</failReportIfEmpty>-->
</configuration>
</plugin>
</plugins>
<!--<reportingOutputDirectory>${project.build.directory}/target/site</reportingOutputDirectory>-->
</reporting>
Hi,
I am trying to run the "mvn site" to generate allure reports but I am getting below error due to which I am not able to generate the reports.
Error Output