Polish "Add JUnit Jupiter sample application"

Closes gh-8048
This commit is contained in:
Stephane Nicoll 2017-07-25 09:43:05 +02:00
parent f1664db85e
commit dbce7d8935
2 changed files with 7 additions and 5 deletions

View File

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

View File

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