|
| 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" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <artifactId>junit5-migration</artifactId> |
| 8 | + <version>1.0-SNAPSHOT</version> |
| 9 | + <name>junit5-migration</name> |
| 10 | + <description>JUnit 4 -> JUnit 5 migration</description> |
| 11 | + |
| 12 | + <parent> |
| 13 | + <groupId>com.baeldung</groupId> |
| 14 | + <artifactId>parent-modules</artifactId> |
| 15 | + <version>1.0.0-SNAPSHOT</version> |
| 16 | + <relativePath>../../</relativePath> |
| 17 | + </parent> |
| 18 | + |
| 19 | + <dependencies> |
| 20 | + <dependency> |
| 21 | + <groupId>org.junit.platform</groupId> |
| 22 | + <artifactId>junit-platform-engine</artifactId> |
| 23 | + <version>${junit.platform.version}</version> |
| 24 | + </dependency> |
| 25 | + <dependency> |
| 26 | + <groupId>org.junit.platform</groupId> |
| 27 | + <artifactId>junit-platform-runner</artifactId> |
| 28 | + <version>${junit.platform.version}</version> |
| 29 | + <scope>test</scope> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>org.junit.vintage</groupId> |
| 33 | + <artifactId>junit-vintage-engine</artifactId> |
| 34 | + <version>${junit.vintage.version}</version> |
| 35 | + <scope>test</scope> |
| 36 | + </dependency> |
| 37 | + <dependency> |
| 38 | + <groupId>org.junit.jupiter</groupId> |
| 39 | + <artifactId>junit-jupiter-migrationsupport</artifactId> |
| 40 | + <version>${junit.vintage.version}</version> |
| 41 | + <scope>test</scope> |
| 42 | + </dependency> |
| 43 | + </dependencies> |
| 44 | + |
| 45 | + <build> |
| 46 | + <resources> |
| 47 | + <resource> |
| 48 | + <directory>src/test/resources</directory> |
| 49 | + <filtering>true</filtering> |
| 50 | + </resource> |
| 51 | + </resources> |
| 52 | + <plugins> |
| 53 | + <plugin> |
| 54 | + <artifactId>maven-surefire-plugin</artifactId> |
| 55 | + <version>${maven-surefire-plugin.version}</version> |
| 56 | + <dependencies> |
| 57 | + <dependency> |
| 58 | + <groupId>org.junit.platform</groupId> |
| 59 | + <artifactId>junit-platform-surefire-provider</artifactId> |
| 60 | + <version>${junit.platform.version}</version> |
| 61 | + </dependency> |
| 62 | + </dependencies> |
| 63 | + </plugin> |
| 64 | + <plugin> |
| 65 | + <groupId>org.codehaus.mojo</groupId> |
| 66 | + <artifactId>exec-maven-plugin</artifactId> |
| 67 | + <version>${exec-maven-plugin.version}</version> |
| 68 | + <executions> |
| 69 | + <execution> |
| 70 | + <goals> |
| 71 | + <goal>java</goal> |
| 72 | + </goals> |
| 73 | + </execution> |
| 74 | + </executions> |
| 75 | + <configuration> |
| 76 | + <mainClass>com.baeldung.TestLauncher</mainClass> |
| 77 | + </configuration> |
| 78 | + </plugin> |
| 79 | + </plugins> |
| 80 | + </build> |
| 81 | + |
| 82 | + <properties> |
| 83 | + <junit.jupiter.version>5.1.0</junit.jupiter.version> |
| 84 | + <junit.platform.version>1.1.0</junit.platform.version> |
| 85 | + <junit.vintage.version>5.2.0</junit.vintage.version> |
| 86 | + <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> |
| 87 | + <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version> |
| 88 | + </properties> |
| 89 | + |
| 90 | +</project> |
0 commit comments