Skip to content

Instantly share code, notes, and snippets.

@sw-samuraj
Last active June 2, 2018 17:41
Show Gist options
  • Save sw-samuraj/41d2f6e4779bc712e240f42c96c79989 to your computer and use it in GitHub Desktop.
Save sw-samuraj/41d2f6e4779bc712e240f42c96c79989 to your computer and use it in GitHub Desktop.
A minimalistic Maven configuration for JUnit 5.
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.0.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.0.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment