Comments (6)
Allure 1 is reached EOF (all artefacts with ru.yandex.qatools.allure
groupId). I'm not sure will that work with Java 11 or not. I would recommend you to upgrade to the latest versions (io.qameta.allure:allure-testng:2.10.0
at the moment)
As you are getting error during report generation you can try to only update Allure report generator. To do so you need to replace old allure-maven-plugin
with a new one:
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>2.10.0</version>
<configuration>
<reportVersion>2.10.0</reportVersion>
</configuration>
</plugin>
from allure-maven.
I am using Java 11
from allure-maven.
Allure supports Java 11 since 2.9.0 release. Try to upgrade to the latest version (2.10.0) and everything should be fine
from allure-maven.
But we don't have 2.10 with this. if i upgrade the only allure will it work
<dependency>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-testng-adaptor</artifactId>
<version>${allure.version}</version>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>
from allure-maven.
@baev Thanks . It's working fine after upgrade
from allure-maven.
hi @baev
everything was working fine until i upgrade some plugins version here is my POM that was working fine below, issue now that im unable to see allure-results or allure-report folder
and whenever im running
mvn clean
mvn site
mvn test
i didnt get allure-report folder in target as before it was working fine
here is the POM
4.0.0
<groupId>MobileAutomationTest</groupId>
<artifactId>App</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<jre.level>1.8</jre.level>
<jdk.level>1.8</jdk.level>
<aspectj.version>1.9.5</aspectj.version>
</properties>
<build>
<plugins>
<!-- Compiler plug-in -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${jdk.level}</source>
<target>${jdk.level}</target>
</configuration>
</plugin>
<!-- Added Surefire Plugin configuration to execute tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
<argLine>
-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
</argLine>
<suiteXmlFiles>
<suiteXmlFile>src/test/java/TestNG.xml/</suiteXmlFile>
</suiteXmlFiles>
</configuration>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.testng/testng -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.1.0</version>
</dependency>
<!--https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-server-->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>3.141.59</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.appium/java-client -->
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>7.3.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.relevantcodes/extentreports -->
<dependency>
<groupId>com.relevantcodes</groupId>
<artifactId>extentreports</artifactId>
<version>2.41.2</version>
</dependency>
<!-- log4j2 -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.29</version>
</dependency>
</dependencies>
<reporting>
<excludeDefaults>true</excludeDefaults>
<plugins>
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>2.10.0</version>
<configuration>
<reportDirectory>${basedir}\target\allure-report</reportDirectory>
</configuration>
</plugin>
</plugins>
</reporting>
from allure-maven.
Related Issues (20)
- Error is coming when tring to generate reports with maven : Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException HOT 1
- mvn allure:report allure:serve does not preserve report directory HOT 3
- Proxy exceptions are ignored HOT 1
- Could not generate the report: HTTP 403 HOT 1
- trendline
- Release 2.11.0 not on Maven Central HOT 3
- Support links to previous build in trends
- Would be nice to have command line used by AllureCommandline.execute() being output into debug log when -X is passed to Maven on command line
- Reports works in Intellij and not in eclipse HOT 3
- Process and server are not killed on exit mvn allure:serve
- Intermittent report generation error HOT 1
- Space in report path on report goal
- Hi , I have a doubt due to which i am stuck long time on my project . I have upgraded my project to jdk17 and after that allure has stopped working HOT 1
- Downloading Allure Command Line failed if no external repositories allowed HOT 1
- Allure maven plugin does not work on JDK 17 HOT 5
- Report is not created when trying to work directly with json files
- When running the same test in different suites, the test does not merge in report HOT 2
- Missing API test execution data
- Add a mvn command to generate single file report
- Plugin is not processing standard maven options for disabling SSL-Certificate validations - download of allure binaries is not possible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allure-maven.