Skip to content

Commit f4e0e11

Browse files
author
Piotr Kubicki
committed
fix: ensure Allure generates test results by updating Maven config
1 parent 477c4f9 commit f4e0e11

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

pom.xml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<dependency>
8080
<groupId>io.qameta.allure</groupId>
8181
<artifactId>allure-junit5</artifactId>
82-
<version>2.25.0</version>
82+
<version>2.29.1</version>
8383
</dependency>
8484
</dependencies>
8585

@@ -109,23 +109,29 @@
109109
</excludes>
110110
</configuration>
111111
</plugin>
112-
<plugin>
113-
<groupId>org.apache.maven.plugins</groupId>
114-
<artifactId>maven-surefire-report-plugin</artifactId>
115-
<version>3.1.2</version>
116-
</plugin>
117112
<plugin>
118113
<groupId>io.qameta.allure</groupId>
119114
<artifactId>allure-maven</artifactId>
120-
<version>2.11.2</version>
115+
<version>2.15.2</version>
121116
<executions>
122117
<execution>
123118
<goals>
124119
<goal>report</goal>
120+
<goal>serve</goal>
125121
</goals>
126122
</execution>
127123
</executions>
128124
</plugin>
125+
<plugin>
126+
<groupId>org.apache.maven.plugins</groupId>
127+
<artifactId>maven-surefire-plugin</artifactId>
128+
<version>3.5.2</version>
129+
<configuration>
130+
<systemPropertyVariables>
131+
<allure.results.directory>${project.build.directory}/allure-results</allure.results.directory>
132+
</systemPropertyVariables>
133+
</configuration>
134+
</plugin>
129135
</plugins>
130136
</build>
131137

0 commit comments

Comments
 (0)