Skip to content

Commit 232d9bc

Browse files
author
Krzysztof Woyke
committed
JAVA-4931: Cleanup surefire config
1 parent 976ef1d commit 232d9bc

16 files changed

Lines changed: 5 additions & 111 deletions

File tree

core-java-modules/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,18 +148,6 @@
148148
</dependencies>
149149
</dependencyManagement>
150150

151-
<build>
152-
<pluginManagement>
153-
<plugins>
154-
<plugin>
155-
<groupId>org.apache.maven.plugins</groupId>
156-
<artifactId>maven-surefire-plugin</artifactId>
157-
<version>${maven-surefire-plugin.version}</version>
158-
</plugin>
159-
</plugins>
160-
</pluginManagement>
161-
</build>
162-
163151
<properties>
164152
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
165153
<junit-jupiter.version>5.6.2</junit-jupiter.version>

ddd-modules/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
<plugin>
6767
<groupId>org.apache.maven.plugins</groupId>
6868
<artifactId>maven-surefire-plugin</artifactId>
69-
<version>${maven-surefire-plugin.version}</version>
7069
<configuration>
7170
<forkCount>0</forkCount>
7271
</configuration>
@@ -79,7 +78,6 @@
7978
<target.version>9</target.version>
8079

8180
<compiler.plugin.version>3.8.1</compiler.plugin.version>
82-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
8381

8482
<appmodules.version>1.0</appmodules.version>
8583

google-web-toolkit/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
<!-- Skip normal test execution, we use gwt:test instead -->
9898
<plugin>
9999
<artifactId>maven-surefire-plugin</artifactId>
100-
<version>${surefire.plugin.version}</version>
101100
<configuration>
102101
<skip>true</skip>
103102
</configuration>
@@ -115,7 +114,6 @@
115114

116115
<gwt.version>2.8.2</gwt.version>
117116
<gwt.plugin.version>1.0-rc-8</gwt.plugin.version>
118-
<surefire.plugin.version>2.17</surefire.plugin.version>
119117
</properties>
120118

121119
</project>

jee-7/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,6 @@
523523
<jersey.version>2.25</jersey.version>
524524
<arquillian-glassfish.version>1.0.0.Final</arquillian-glassfish.version>
525525
<org.springframework.security.version>4.2.3.RELEASE</org.springframework.security.version>
526-
<maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
527526
<taglibs.standard.version>1.1.2</taglibs.standard.version>
528527
<com.sun.faces.jsf.version>2.2.14</com.sun.faces.jsf.version>
529528
<httpclient.version>4.5</httpclient.version>

performance-tests/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,6 @@
147147
<artifactId>maven-source-plugin</artifactId>
148148
<version>${source.plugin.version}</version>
149149
</plugin>
150-
<plugin>
151-
<artifactId>maven-surefire-plugin</artifactId>
152-
<version>${surefire.plugin.version}</version>
153-
</plugin>
154150
</plugins>
155151
</pluginManagement>
156152
</build>
@@ -181,7 +177,6 @@
181177
<resources.plugin.version>3.1.0</resources.plugin.version>
182178
<site.plugin.version>3.9.1</site.plugin.version>
183179
<source.plugin.version>3.2.1</source.plugin.version>
184-
<surefire.plugin.version>2.17</surefire.plugin.version>
185180
</properties>
186181

187182
</project>

spring-5-reactive-client/pom.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -150,21 +150,6 @@
150150
<target>1.8</target>
151151
</configuration>
152152
</plugin>
153-
<plugin>
154-
<artifactId>maven-surefire-plugin</artifactId>
155-
<version>2.22.0</version>
156-
</plugin>
157-
<plugin>
158-
<artifactId>maven-surefire-plugin</artifactId>
159-
<version>2.19.1</version>
160-
<dependencies>
161-
<dependency>
162-
<groupId>org.junit.platform</groupId>
163-
<artifactId>junit-platform-surefire-provider</artifactId>
164-
<version>1.0.1</version>
165-
</dependency>
166-
</dependencies>
167-
</plugin>
168153
</plugins>
169154
</build>
170155

spring-boot-modules/pom.xml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,8 @@
106106
</dependency>
107107
</dependencies>
108108

109-
<build>
110-
<plugins>
111-
<plugin>
112-
<groupId>org.apache.maven.plugins</groupId>
113-
<artifactId>maven-surefire-plugin</artifactId>
114-
<version>2.22.2</version>
115-
</plugin>
116-
</plugins>
117-
</build>
118-
119109
<properties>
120110
<junit-jupiter.version>5.6.2</junit-jupiter.version>
111+
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
121112
</properties>
122113
</project>

spring-core-5/pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,9 @@
2727
</dependency>
2828
</dependencies>
2929

30-
<build>
31-
<plugins>
32-
<plugin>
33-
<groupId>org.apache.maven.plugins</groupId>
34-
<artifactId>maven-surefire-plugin</artifactId>
35-
<version>${maven.surefire.version}</version>
36-
</plugin>
37-
</plugins>
38-
</build>
39-
4030
<properties>
4131
<spring.version>5.3.3</spring.version>
4232
<spring-boot-starter.version>2.4.2</spring-boot-starter.version>
43-
<maven.surefire.version>2.22.1</maven.surefire.version>
4433
</properties>
4534

4635
</project>

testing-modules/junit-5-advanced/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,8 @@
3535
</dependency>
3636
</dependencies>
3737

38-
<build>
39-
<plugins>
40-
<plugin>
41-
<artifactId>maven-surefire-plugin</artifactId>
42-
<version>${maven-surefire-plugin.version}</version>
43-
</plugin>
44-
</plugins>
45-
</build>
46-
4738
<properties>
4839
<junit-jupiter.version>5.4.2</junit-jupiter.version>
49-
<maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
5040
<junit.vintage.version>5.4.2</junit.vintage.version>
5141
</properties>
5242

testing-modules/junit-5-basics/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@
152152
<junit-platform.version>1.2.0</junit-platform.version>
153153
<junit-jupiter.version>5.4.2</junit-jupiter.version>
154154
<spring.version>5.0.6.RELEASE</spring.version>
155-
<maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
156155
</properties>
157156

158157
</project>

0 commit comments

Comments
 (0)