Skip to content

Commit

Permalink
JAVA-1672: removing surefire configurations from parents
Browse files Browse the repository at this point in the history
  • Loading branch information
chaos2418 committed Nov 7, 2021
1 parent 7bf13de commit bc2b301
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 74 deletions.
7 changes: 0 additions & 7 deletions guest/junit5-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,6 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>${junit-platform-surefire-provider.version}</version>
</dependency>
</dependencies>
<configuration>
<properties>
<excludeTags>math</excludeTags>
Expand Down
6 changes: 0 additions & 6 deletions parent-boot-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@
<!-- this is necessary as we're not using the Boot parent -->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down Expand Up @@ -97,7 +92,6 @@
<aspectjweaver.version>1.9.1</aspectjweaver.version>
<!-- this property can be removed once we update Mockito version in the main pom.xml -->
<mockito.version>3.4.0</mockito.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
</properties>

</project>
13 changes: 0 additions & 13 deletions parent-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,10 @@
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>

<properties>
<guava.version>31.0.1-jre</guava.version>
<modelmapper.version>2.3.7</modelmapper.version>
<hamcrest.version>2.2</hamcrest.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
</properties>

</project>
10 changes: 0 additions & 10 deletions parent-spring-4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,6 @@
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.cargo</groupId>
Expand All @@ -57,7 +48,6 @@
<properties>
<spring.version>4.3.27.RELEASE</spring.version>
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
</properties>

</project>
13 changes: 0 additions & 13 deletions parent-spring-5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,10 @@
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>

<properties>
<spring.version>5.3.9</spring.version>
<spring-security.version>5.2.3.RELEASE</spring-security.version>
<spring-boot-starter-test.version>1.5.10.RELEASE</spring-boot-starter-test.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
</properties>

</project>
3 changes: 0 additions & 3 deletions persistence-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,6 @@
<hibernate.version>5.2.17.Final</hibernate.version>

<postgresql.version>42.2.20</postgresql.version>

<!-- testing -->
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
</properties>

</project>
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,6 @@
</excludes>
</configuration>
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>${junit-platform-surefire-provider.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
Expand Down
1 change: 0 additions & 1 deletion spring-web-modules/spring-boot-jsp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
<properties>
<jstl.version>1.2</jstl.version>
<spring-boot.version>2.4.4</spring-boot.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
</properties>

</project>
16 changes: 0 additions & 16 deletions testing-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,4 @@
<module>zerocode</module>
</modules>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>

<properties>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
</properties>

</project>

0 comments on commit bc2b301

Please sign in to comment.