Skip to content

Commit e67e0fe

Browse files
Giuseppe Falco-ScampatelliElvenSpellmaker
authored andcommitted
updated java version for api test karate
Signed-off-by: Jack Blower <[email protected]>
1 parent 093c279 commit e67e0fe

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

api-tests-karate/pom.xml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<java.version>11</java.version>
13-
<maven.compiler.version>3.8.1</maven.compiler.version>
14-
<karate.version>0.9.6</karate.version>
12+
<java.version>17</java.version>
13+
<!-- Maven plugins -->
14+
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
15+
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
16+
<karate.version>1.4.1</karate.version>
1517
<cucumber.reporting.version>5.5.3</cucumber.reporting.version>
1618
<maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version>
1719
<puppycrawl-tools-checkstyle.version>8.44</puppycrawl-tools-checkstyle.version>
@@ -21,12 +23,6 @@
2123
</properties>
2224

2325
<dependencies>
24-
<dependency>
25-
<groupId>com.intuit.karate</groupId>
26-
<artifactId>karate-apache</artifactId>
27-
<version>${karate.version}</version>
28-
<scope>test</scope>
29-
</dependency>
3026
<dependency>
3127
<groupId>com.intuit.karate</groupId>
3228
<artifactId>karate-junit5</artifactId>
@@ -93,11 +89,10 @@
9389
<plugin>
9490
<groupId>org.apache.maven.plugins</groupId>
9591
<artifactId>maven-compiler-plugin</artifactId>
96-
<version>${maven.compiler.version}</version>
92+
<version>${maven-compiler-plugin.version}</version>
9793
<configuration>
9894
<encoding>UTF-8</encoding>
99-
<source>${java.version}</source>
100-
<target>${java.version}</target>
95+
<release>${java.version}</release>
10196
</configuration>
10297
</plugin>
10398
<plugin>
@@ -129,7 +124,7 @@
129124
<plugin>
130125
<groupId>org.apache.maven.plugins</groupId>
131126
<artifactId>maven-surefire-plugin</artifactId>
132-
<version>2.22.2</version>
127+
<version>${maven-surefire-plugin.version}</version>
133128
</plugin>
134129
<plugin>
135130
<groupId>com.github.spotbugs</groupId>

0 commit comments

Comments
 (0)