Browse Source

Polish "Add JUnit Jupiter sample application"

Closes gh-8048
pull/9855/head
Stephane Nicoll 9 years ago
parent
commit
dbce7d8935
  1. 11
      spring-boot-samples/spring-boot-sample-junit-jupiter/pom.xml
  2. 1
      spring-boot-samples/spring-boot-sample-junit-jupiter/src/main/java/sample/SampleJunitJupiterApplication.java

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

@ -1,5 +1,7 @@ @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<!-- Your own application should inherit from spring-boot-starter-parent -->
@ -17,17 +19,16 @@ @@ -17,17 +19,16 @@
</organization>
<properties>
<main.basedir>${basedir}/../..</main.basedir>
<junit.jupiter.version>5.0.0-M5</junit.jupiter.version>
<junit.platform.version>1.0.0-M5</junit.platform.version>
<junit.jupiter.version>5.0.0-M6</junit.jupiter.version>
<junit.platform.version>1.0.0-M6</junit.platform.version>
</properties>
<dependencies>
<!-- Compile -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- Test -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>

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

@ -25,4 +25,5 @@ public class SampleJunitJupiterApplication { @@ -25,4 +25,5 @@ public class SampleJunitJupiterApplication {
public static void main(String[] args) {
SpringApplication.run(SampleJunitJupiterApplication.class, args);
}
}

Loading…
Cancel
Save