Skip to content

Commit dbce7d8

Browse files
committed
Polish "Add JUnit Jupiter sample application"
Closes spring-projectsgh-8048
1 parent f1664db commit dbce7d8

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

spring-boot-samples/spring-boot-sample-junit-jupiter/pom.xml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
35
<modelVersion>4.0.0</modelVersion>
46
<parent>
57
<!-- Your own application should inherit from spring-boot-starter-parent -->
@@ -17,17 +19,16 @@
1719
</organization>
1820
<properties>
1921
<main.basedir>${basedir}/../..</main.basedir>
20-
<junit.jupiter.version>5.0.0-M5</junit.jupiter.version>
21-
<junit.platform.version>1.0.0-M5</junit.platform.version>
22+
<junit.jupiter.version>5.0.0-M6</junit.jupiter.version>
23+
<junit.platform.version>1.0.0-M6</junit.platform.version>
2224
</properties>
2325

2426
<dependencies>
25-
<!-- Compile -->
2627
<dependency>
2728
<groupId>org.springframework.boot</groupId>
2829
<artifactId>spring-boot-starter-web</artifactId>
2930
</dependency>
30-
<!-- Test -->
31+
3132
<dependency>
3233
<groupId>org.springframework.boot</groupId>
3334
<artifactId>spring-boot-starter-test</artifactId>

spring-boot-samples/spring-boot-sample-junit-jupiter/src/main/java/sample/SampleJunitJupiterApplication.java

+1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ public class SampleJunitJupiterApplication {
2525
public static void main(String[] args) {
2626
SpringApplication.run(SampleJunitJupiterApplication.class, args);
2727
}
28+
2829
}

0 commit comments

Comments
 (0)