Skip to content

Commit 935f8fa

Browse files
committed
Updated to qontract 0.22.0 and got the tests running
1 parent 0e27def commit 935f8fa

1 file changed

Lines changed: 26 additions & 58 deletions

File tree

pom.xml

Lines changed: 26 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,18 @@
99
<version>2.3.2.RELEASE</version>
1010
</parent>
1111

12-
<groupId>com.example</groupId>
12+
<groupId>run.qontract</groupId>
1313
<artifactId>petstore-soap-api</artifactId>
1414
<version>0.0.1</version>
1515
<name>petstore-soap-api</name>
1616
<description>Sample SOAP API provider</description>
1717

1818
<properties>
1919
<java.version>1.8</java.version>
20-
<qontract.version>0.20.1</qontract.version>
21-
<kotlin.version>1.4.10</kotlin.version>
20+
<qontract.version>0.22.0</qontract.version>
21+
<kotlin.version>1.4.21-2</kotlin.version>
2222
</properties>
2323

24-
<dependencyManagement>
25-
<dependencies>
26-
<dependency>
27-
<groupId>run.qontract</groupId>
28-
<artifactId>qontract-core</artifactId>
29-
<version>${qontract.version}</version>
30-
<type>pom</type>
31-
<scope>import</scope>
32-
</dependency>
33-
34-
<dependency>
35-
<groupId>run.qontract</groupId>
36-
<artifactId>junit5-support</artifactId>
37-
<version>${qontract.version}</version>
38-
<type>pom</type>
39-
<scope>import</scope>
40-
</dependency>
41-
</dependencies>
42-
</dependencyManagement>
43-
4424
<dependencies>
4525
<dependency>
4626
<groupId>run.qontract</groupId>
@@ -65,69 +45,48 @@
6545
<artifactId>spring-boot-starter-web-services</artifactId>
6646
</dependency>
6747

68-
<dependency>
69-
<groupId>org.springframework.boot</groupId>
70-
<artifactId>spring-boot-starter-test</artifactId>
71-
<scope>test</scope>
72-
<exclusions>
73-
<exclusion>
74-
<groupId>org.junit.vintage</groupId>
75-
<artifactId>junit-vintage-engine</artifactId>
76-
</exclusion>
77-
<exclusion>
78-
<groupId>junit</groupId>
79-
<artifactId>junit</artifactId>
80-
</exclusion>
81-
</exclusions>
82-
</dependency>
8348
<dependency>
8449
<groupId>wsdl4j</groupId>
8550
<artifactId>wsdl4j</artifactId>
8651
</dependency>
8752

8853
<dependency>
8954
<groupId>org.junit.jupiter</groupId>
90-
<artifactId>junit-jupiter-engine</artifactId>
55+
<artifactId>junit-jupiter</artifactId>
9156
<version>5.7.0</version>
9257
<scope>test</scope>
9358
</dependency>
9459

9560
<dependency>
96-
<groupId>org.junit.jupiter</groupId>
97-
<artifactId>junit-jupiter-api</artifactId>
98-
<version>5.7.0</version>
61+
<groupId>org.junit.platform</groupId>
62+
<artifactId>junit-platform-launcher</artifactId>
63+
<version>1.7.0</version>
9964
<scope>test</scope>
10065
</dependency>
10166

10267
<dependency>
10368
<groupId>org.junit.platform</groupId>
104-
<artifactId>junit-platform-runner</artifactId>
69+
<artifactId>junit-platform-engine</artifactId>
10570
<version>1.7.0</version>
106-
<scope>test</scope>
10771
</dependency>
10872

10973
<dependency>
11074
<groupId>org.junit.platform</groupId>
111-
<artifactId>junit-platform-engine</artifactId>
75+
<artifactId>junit-platform-commons</artifactId>
11276
<version>1.7.0</version>
77+
<scope>test</scope>
78+
</dependency>
79+
80+
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
81+
<dependency>
82+
<groupId>org.apache.maven.plugins</groupId>
83+
<artifactId>maven-surefire-plugin</artifactId>
84+
<version>2.22.2</version>
11385
</dependency>
11486
</dependencies>
11587

11688
<build>
117-
<testSourceDirectory>src/test/java</testSourceDirectory>
11889
<plugins>
119-
<plugin>
120-
<artifactId>maven-surefire-plugin</artifactId>
121-
<version>2.22.2</version>
122-
</plugin>
123-
<plugin>
124-
<artifactId>maven-failsafe-plugin</artifactId>
125-
<version>2.22.2</version>
126-
</plugin>
127-
<plugin>
128-
<groupId>org.springframework.boot</groupId>
129-
<artifactId>spring-boot-maven-plugin</artifactId>
130-
</plugin>
13190
<plugin>
13291
<groupId>org.apache.maven.plugins</groupId>
13392
<artifactId>maven-compiler-plugin</artifactId>
@@ -173,6 +132,15 @@
173132
</execution>
174133
</executions>
175134
</plugin>
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-surefire-plugin</artifactId>
138+
<version>2.22.2</version>
139+
<configuration>
140+
<argLine>-Dfile.encoding=UTF-8</argLine>
141+
<testSourceDirectory>src/test</testSourceDirectory>
142+
</configuration>
143+
</plugin>
176144
</plugins>
177145
</build>
178146

0 commit comments

Comments
 (0)