Skip to content

Commit

Permalink
- Upgrade pom.xml to make JUnit 5 works with Maven 3.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
alexy committed Sep 5, 2020
1 parent 0ddc6fa commit a803f27
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit>4.11</junit>
<slf4j>1.7.5</slf4j>
</properties>

<licenses>
Expand Down Expand Up @@ -100,6 +98,12 @@
<version>3.2.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<scope>runtime</scope>
</dependency>
</dependencies>

<developers>
Expand Down Expand Up @@ -160,6 +164,24 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<!-- Make JUnit 5 works with Maven 3.6.3 -->
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.6.2</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit a803f27

Please sign in to comment.