Skip to content

Commit

Permalink
[JAVA-1659] Upgraded Maven Surefire Plugin and JUnit versions
Browse files Browse the repository at this point in the history
* Upgraded Maven Surefire Plugin version to 2.22.2

* Upgraded JUnit version to 5.6.2
  * Imported JUnit BOM before Spring Boot Dependencies BOM (as explained
  [here](https://docs.spring.io/spring-boot/docs/2.3.0.RELEASE/maven-plugin/reference/html/#using))
  • Loading branch information
dupirefr committed Jun 1, 2020
1 parent 5e6a060 commit bdebcac
Showing 1 changed file with 33 additions and 19 deletions.
52 changes: 33 additions & 19 deletions ddd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,35 @@
<relativePath>../parent-boot-2</relativePath>
</parent>

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

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${junit-jupiter.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand All @@ -26,24 +55,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-cassandra</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<!-- JUnit platform launcher -->
<!-- To be able to run tests from IDE directly -->
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>${junit-platform.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.joda</groupId>
<artifactId>joda-money</artifactId>
Expand Down Expand Up @@ -95,7 +106,10 @@
</dependencies>

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

<joda-money.version>1.0.1</joda-money.version>
</properties>

<junit-jupiter.version>5.6.2</junit-jupiter.version>
</properties>
</project>

0 comments on commit bdebcac

Please sign in to comment.