Skip to content

Commit

Permalink
[#472] Use JUnit 5 instead of JUnit 4
Browse files Browse the repository at this point in the history
  • Loading branch information
obfischer committed Jul 18, 2021
1 parent 4fd669c commit 25040fd
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions pom.xml
Expand Up @@ -99,6 +99,13 @@
<mojo.java.target>1.8</mojo.java.target>
<maven.compiler.source>${mojo.java.target}</maven.compiler.source>

<!--
! Version 64 of the parent POM will provide the dependency
! information for JUnit. Therefore the entry in the dependency management
! section can be removed if version 64 will be released.
! Oliver B. Fischer // 2021-07-18
!-->
<junitBomVersion>5.7.2</junitBomVersion>
<mavenVersion>3.0.5</mavenVersion>
<wagonVersion>3.4.0</wagonVersion>
<doxiaVersion>1.9.1</doxiaVersion>
Expand All @@ -108,6 +115,18 @@
<project.build.outputTimestamp>2020-08-07T21:31:00Z</project.build.outputTimestamp>
</properties>

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

<dependencies>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
Expand Down Expand Up @@ -227,8 +246,13 @@
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 25040fd

Please sign in to comment.