Skip to content

Commit 01a55c4

Browse files
committed
pom fixes
1 parent 2ffe985 commit 01a55c4

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

pom.xml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,33 +21,35 @@
2121

2222
<dependencyManagement>
2323
<dependencies>
24-
2524
<dependency>
2625
<groupId>io.qameta.allure</groupId>
2726
<artifactId>allure-bom</artifactId>
2827
<version>${allure.version}</version>
2928
<type>pom</type>
3029
<scope>import</scope>
3130
</dependency>
32-
31+
<dependency>
32+
<groupId>io.cucumber:cucumber-bom</groupId>
33+
<artifactId>cucumber-bom</artifactId>
34+
<version>${cucumber.version}</version>
35+
<type>pom</type>
36+
<scope>import</scope>
37+
</dependency>
3338
<dependency>
3439
<groupId>org.junit</groupId>
3540
<artifactId>junit-bom</artifactId>
3641
<version>${junit-jupiter.version}</version>
3742
<type>pom</type>
3843
<scope>import</scope>
3944
</dependency>
40-
4145
</dependencies>
4246
</dependencyManagement>
4347

4448
<dependencies>
45-
4649
<dependency>
4750
<groupId>io.qameta.allure</groupId>
4851
<artifactId>allure-cucumber7-jvm</artifactId>
4952
</dependency>
50-
5153
<dependency>
5254
<groupId>io.qameta.allure</groupId>
5355
<artifactId>allure-junit5</artifactId>
@@ -56,15 +58,11 @@
5658
<dependency>
5759
<groupId>io.cucumber</groupId>
5860
<artifactId>cucumber-junit-platform-engine</artifactId>
59-
<version>${cucumber.version}</version>
6061
</dependency>
61-
6262
<dependency>
6363
<groupId>io.cucumber</groupId>
6464
<artifactId>cucumber-java</artifactId>
65-
<version>${cucumber.version}</version>
6665
</dependency>
67-
6866
<dependency>
6967
<groupId>org.junit.platform</groupId>
7068
<artifactId>junit-platform-suite</artifactId>
@@ -75,7 +73,6 @@
7573
<artifactId>slf4j-simple</artifactId>
7674
<version>2.0.9</version>
7775
</dependency>
78-
7976
</dependencies>
8077

8178
<build>
@@ -88,7 +85,7 @@
8885
<configuration>
8986
<testFailureIgnore>false</testFailureIgnore>
9087
<argLine>
91-
-Dfile.encoding=UTF-8
88+
-Dfile.encoding=${project.build.sourceEncoding}
9289
-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
9390
</argLine>
9491
<systemPropertyVariables>
@@ -118,7 +115,7 @@
118115
<artifactId>maven-compiler-plugin</artifactId>
119116
<version>3.11.0</version>
120117
<configuration>
121-
<encoding>UTF-8</encoding>
118+
<encoding>${project.build.sourceEncoding}</encoding>
122119
<source>${maven.compiler.source}</source>
123120
<target>${maven.compiler.target}</target>
124121
</configuration>
@@ -127,4 +124,4 @@
127124
</plugins>
128125
</build>
129126

130-
</project>
127+
</project>

src/test/java/io/qameta/allure/examples/cucumber7/CucumberTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
@ConfigurationParameter(key = PLUGIN_PROPERTY_NAME,
1515
value = "io.qameta.allure.cucumber7jvm.AllureCucumber7Jvm")
1616
public class CucumberTest {
17-
}
17+
}

0 commit comments

Comments
 (0)