|
| 1 | +<?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"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <parent> |
| 5 | + <!-- Your own application should inherit from spring-boot-starter-parent --> |
| 6 | + <groupId>org.springframework.boot</groupId> |
| 7 | + <artifactId>spring-boot-samples</artifactId> |
| 8 | + <version>2.0.0.BUILD-SNAPSHOT</version> |
| 9 | + </parent> |
| 10 | + <artifactId>spring-boot-sample-junit-jupiter</artifactId> |
| 11 | + <name>Spring Boot JUnit Jupiter Sample</name> |
| 12 | + <description>Spring Boot JUnit Jupiter Sample</description> |
| 13 | + <url>http://projects.spring.io/spring-boot/</url> |
| 14 | + <organization> |
| 15 | + <name>Pivotal Software, Inc.</name> |
| 16 | + <url>http://www.spring.io</url> |
| 17 | + </organization> |
| 18 | + <properties> |
| 19 | + <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 | + </properties> |
| 23 | + |
| 24 | + <dependencies> |
| 25 | + <!-- Compile --> |
| 26 | + <dependency> |
| 27 | + <groupId>org.springframework.boot</groupId> |
| 28 | + <artifactId>spring-boot-starter-web</artifactId> |
| 29 | + </dependency> |
| 30 | + <!-- Test --> |
| 31 | + <dependency> |
| 32 | + <groupId>org.springframework.boot</groupId> |
| 33 | + <artifactId>spring-boot-starter-test</artifactId> |
| 34 | + <scope>test</scope> |
| 35 | + <exclusions> |
| 36 | + <exclusion> |
| 37 | + <groupId>junit</groupId> |
| 38 | + <artifactId>junit</artifactId> |
| 39 | + </exclusion> |
| 40 | + </exclusions> |
| 41 | + </dependency> |
| 42 | + <dependency> |
| 43 | + <groupId>org.junit.jupiter</groupId> |
| 44 | + <artifactId>junit-jupiter-api</artifactId> |
| 45 | + <version>${junit.jupiter.version}</version> |
| 46 | + <scope>test</scope> |
| 47 | + </dependency> |
| 48 | + </dependencies> |
| 49 | + |
| 50 | + <build> |
| 51 | + <plugins> |
| 52 | + <plugin> |
| 53 | + <groupId>org.springframework.boot</groupId> |
| 54 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 55 | + </plugin> |
| 56 | + <plugin> |
| 57 | + <groupId>org.apache.maven.plugins</groupId> |
| 58 | + <artifactId>maven-surefire-plugin</artifactId> |
| 59 | + <dependencies> |
| 60 | + <dependency> |
| 61 | + <groupId>org.junit.platform</groupId> |
| 62 | + <artifactId>junit-platform-surefire-provider</artifactId> |
| 63 | + <version>${junit.platform.version}</version> |
| 64 | + </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>org.junit.jupiter</groupId> |
| 67 | + <artifactId>junit-jupiter-engine</artifactId> |
| 68 | + <version>${junit.jupiter.version}</version> |
| 69 | + </dependency> |
| 70 | + </dependencies> |
| 71 | + </plugin> |
| 72 | + </plugins> |
| 73 | + </build> |
| 74 | + |
| 75 | +</project> |
0 commit comments