Comments (3)
Seems like you have different versions of allure cli locally and in maven plugin.
You can easily configure allure report version in maven plugin like this:
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>2.8</version>
<configuration>
<reportVersion>2.3.1</reportVersion>
</configuration>
</plugin>
from allure-maven.
Ok, setting this reportVersion to latest version seems to solve the problem. You can close this issue, thanks!
from allure-maven.
Hi I have the same problem
4.0.0 selenium-cucumber-java selenium-cucumber-java 1.0.1-SNAPSHOT<dependencies>
<!-- These are the cucumber dependencies -->
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-java</artifactId>
<version>1.2.5</version>
</dependency>
<!-- These are the cucumber-junit dependencies -->
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>1.2.5</version>
</dependency>
<!-- These are the junit dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
</dependency>
<!-- These are the selenium-webdriver dependencies -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.12.0</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>3.12.0</version>
</dependency>
<!-- These are the Appium dependencies -->
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>5.0.4</version>
</dependency>
<!-- These are the Allure Reporting dependencies -->
<dependency>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-cucumber-jvm-adaptor</artifactId>
<version>1.6.4</version>
</dependency>
<!--Logger -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
</dependency>
</dependencies>
<!-- These are the aspectj.version properties for allure -->
<properties>
<aspectj.version>1.8.11</aspectj.version>
<slf4j.version>1.7.21</slf4j.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<encoding>UTF-8</encoding>
<source>1.8</source>
<target>1.8</target>
<compilerArgument>-Werror</compilerArgument>
<systemPropertyVariables>
<property>
<name>browser</name>
<value>${browser}</value>
</property>
<property>
<name>cloud_config</name>
<value>${cloud_config}</value>
</property>
</systemPropertyVariables>
</configuration>
</plugin>
<!-- These are the Allure Reporting plugins -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.21.0</version>
<configuration>
<testFailureIgnore>false</testFailureIgnore>
<argLine>
-javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
-Dcucumber.options="--plugin ru.yandex.qatools.allure.cucumberjvm.AllureReporter"
</argLine>
</configuration>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>2.8</version>
<configuration>
<reportVersion>2.3.1</reportVersion>
</configuration>
</plugin>
</plugins>
</build>
[INFO] Allure installation directory C:\selenium-cucumber-java/.allure
[INFO] Try to finding out allure 2.3.1
[INFO] Generate Allure report (serve) with version 2.3.1
[INFO] Generate Allure report to C:\selenium-cucumber-java\target\site/allure-maven-plugin
[INFO] Found results directory C:\selenium-cucumber-java\target\allure-results
[INFO] Can't find information about categories.
[INFO] Generate report to C:\selenium-cucumber-java\target\site\allure-maven-plugin
Generating report to temp directory...
send analytics
Report successfully generated to C:\Users\U186185\AppData\Local\Temp\2884065329970993727\allure-report
Starting web server...
2019-05-10 16:56:50.156:INFO::main: Logging initialized @4480ms
Server started at http://192.168.51.175:60232/. Press <Ctrl+C> to exit
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.