Skip to content

Commit b0176d8

Browse files
author
chaos2418
committed
JAVA-1672: removing surefire configurations from parents
1 parent 1070bc3 commit b0176d8

File tree

9 files changed

+0
-74
lines changed

9 files changed

+0
-74
lines changed

guest/junit5-example/pom.xml

-7
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,6 @@
4242
<plugin>
4343
<artifactId>maven-surefire-plugin</artifactId>
4444
<version>${maven-surefire-plugin.version}</version>
45-
<dependencies>
46-
<dependency>
47-
<groupId>org.junit.platform</groupId>
48-
<artifactId>junit-platform-surefire-provider</artifactId>
49-
<version>${junit-platform-surefire-provider.version}</version>
50-
</dependency>
51-
</dependencies>
5245
<configuration>
5346
<properties>
5447
<excludeTags>math</excludeTags>

parent-boot-2/pom.xml

-6
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@
5858
<!-- this is necessary as we're not using the Boot parent -->
5959
</configuration>
6060
</plugin>
61-
<plugin>
62-
<groupId>org.apache.maven.plugins</groupId>
63-
<artifactId>maven-surefire-plugin</artifactId>
64-
<version>${maven-surefire-plugin.version}</version>
65-
</plugin>
6661
</plugins>
6762
</pluginManagement>
6863
</build>
@@ -97,7 +92,6 @@
9792
<aspectjweaver.version>1.9.1</aspectjweaver.version>
9893
<!-- this property can be removed once we update Mockito version in the main pom.xml -->
9994
<mockito.version>3.4.0</mockito.version>
100-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
10195
</properties>
10296

10397
</project>

parent-java/pom.xml

-13
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,10 @@
4040
</dependency>
4141
</dependencies>
4242

43-
<build>
44-
<pluginManagement>
45-
<plugins>
46-
<plugin>
47-
<groupId>org.apache.maven.plugins</groupId>
48-
<artifactId>maven-surefire-plugin</artifactId>
49-
<version>${maven-surefire-plugin.version}</version>
50-
</plugin>
51-
</plugins>
52-
</pluginManagement>
53-
</build>
54-
5543
<properties>
5644
<guava.version>31.0.1-jre</guava.version>
5745
<modelmapper.version>2.3.7</modelmapper.version>
5846
<hamcrest.version>2.2</hamcrest.version>
59-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
6047
</properties>
6148

6249
</project>

parent-spring-4/pom.xml

-10
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@
2424
</dependencies>
2525

2626
<build>
27-
<pluginManagement>
28-
<plugins>
29-
<plugin>
30-
<groupId>org.apache.maven.plugins</groupId>
31-
<artifactId>maven-surefire-plugin</artifactId>
32-
<version>${maven-surefire-plugin.version}</version>
33-
</plugin>
34-
</plugins>
35-
</pluginManagement>
3627
<plugins>
3728
<plugin>
3829
<groupId>org.codehaus.cargo</groupId>
@@ -57,7 +48,6 @@
5748
<properties>
5849
<spring.version>4.3.27.RELEASE</spring.version>
5950
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
60-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
6151
</properties>
6252

6353
</project>

parent-spring-5/pom.xml

-13
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,10 @@
2323
</dependency>
2424
</dependencies>
2525

26-
<build>
27-
<pluginManagement>
28-
<plugins>
29-
<plugin>
30-
<groupId>org.apache.maven.plugins</groupId>
31-
<artifactId>maven-surefire-plugin</artifactId>
32-
<version>${maven-surefire-plugin.version}</version>
33-
</plugin>
34-
</plugins>
35-
</pluginManagement>
36-
</build>
37-
3826
<properties>
3927
<spring.version>5.3.9</spring.version>
4028
<spring-security.version>5.2.3.RELEASE</spring-security.version>
4129
<spring-boot-starter-test.version>1.5.10.RELEASE</spring-boot-starter-test.version>
42-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
4330
</properties>
4431

4532
</project>

persistence-modules/pom.xml

-3
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@
9999
<hibernate.version>5.2.17.Final</hibernate.version>
100100

101101
<postgresql.version>42.2.20</postgresql.version>
102-
103-
<!-- testing -->
104-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
105102
</properties>
106103

107104
</project>

pom.xml

-5
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,6 @@
113113
</excludes>
114114
</configuration>
115115
<dependencies>
116-
<dependency>
117-
<groupId>org.junit.platform</groupId>
118-
<artifactId>junit-platform-surefire-provider</artifactId>
119-
<version>${junit-platform-surefire-provider.version}</version>
120-
</dependency>
121116
<dependency>
122117
<groupId>org.junit.jupiter</groupId>
123118
<artifactId>junit-jupiter-engine</artifactId>

spring-web-modules/spring-boot-jsp/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@
9292
<properties>
9393
<jstl.version>1.2</jstl.version>
9494
<spring-boot.version>2.4.4</spring-boot.version>
95-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
9695
</properties>
9796

9897
</project>

testing-modules/pom.xml

-16
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,4 @@
5050
<module>zerocode</module>
5151
</modules>
5252

53-
<build>
54-
<pluginManagement>
55-
<plugins>
56-
<plugin>
57-
<groupId>org.apache.maven.plugins</groupId>
58-
<artifactId>maven-surefire-plugin</artifactId>
59-
<version>${maven-surefire-plugin.version}</version>
60-
</plugin>
61-
</plugins>
62-
</pluginManagement>
63-
</build>
64-
65-
<properties>
66-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
67-
</properties>
68-
6953
</project>

0 commit comments

Comments
 (0)