99
1010 <name >junit5</name >
1111 <description >Intro to JUnit 5</description >
12-
12+
1313 <parent >
1414 <groupId >com.baeldung</groupId >
1515 <artifactId >parent-modules</artifactId >
1919 <properties >
2020 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2121 <java .version>1.8</java .version>
22- <junit .jupiter.version>5.0.0-M4</junit .jupiter.version>
23- <junit .platform.version>1.0.0-M4</junit .platform.version>
24- <junit .vintage.version>4.12.0-M4</junit .vintage.version>
25- <junit4 .version>4.12</junit4 .version>
22+ <junit .jupiter.version>5.0.0-M5</junit .jupiter.version>
23+ <junit .platform.version>1.0.0-M5</junit .platform.version>
24+ <junit .vintage.version>4.12.0-M5</junit .vintage.version>
25+ <log4j2 .version>2.8.2</log4j2 .version>
26+ <h2 .version>1.4.196</h2 .version>
2627
2728 <maven-compiler-plugin .version>3.6.0</maven-compiler-plugin .version>
2829 <maven-surefire-plugin .version>2.19.1</maven-surefire-plugin .version>
30+ <junit4 .version>4.12</junit4 .version>
2931 </properties >
3032
3133 <build >
34+ <resources >
35+ <resource >
36+ <directory >src/test/resources</directory >
37+ <filtering >true</filtering >
38+ </resource >
39+ </resources >
3240 <plugins >
3341 <plugin >
3442 <artifactId >maven-compiler-plugin</artifactId >
4957 </dependency >
5058 </dependencies >
5159 </plugin >
60+ <plugin >
61+ <groupId >org.codehaus.mojo</groupId >
62+ <artifactId >exec-maven-plugin</artifactId >
63+ <version >1.6.0</version >
64+ <executions >
65+ <execution >
66+ <goals >
67+ <goal >java</goal >
68+ </goals >
69+ </execution >
70+ </executions >
71+ <configuration >
72+ <mainClass >com.baeldung.TestLauncher</mainClass >
73+ </configuration >
74+ </plugin >
5275 </plugins >
5376 </build >
5477
5578 <dependencies >
56-
57- <dependency >
58- <groupId >junit</groupId >
59- <artifactId >junit</artifactId >
60- <version >${junit4.version} </version >
61- <scope >test</scope >
62- </dependency >
63-
64- <dependency >
65- <groupId >org.junit.jupiter</groupId >
66- <artifactId >junit-jupiter-api</artifactId >
67- <version >${junit.jupiter.version} </version >
68- <scope >test</scope >
69- </dependency >
70-
7179 <dependency >
7280 <groupId >org.junit.jupiter</groupId >
7381 <artifactId >junit-jupiter-engine</artifactId >
7482 <version >${junit.jupiter.version} </version >
7583 <scope >test</scope >
7684 </dependency >
77-
7885 <dependency >
79- <groupId >org.junit.platform</groupId >
80- <artifactId >junit-platform-runner</artifactId >
81- <version >${junit.platform.version} </version >
82- <scope >test</scope >
83- </dependency >
84-
85- <!-- <dependency>
86- <groupId>org.junit.vintage</groupId>
87- <artifactId>junit-vintage-engine</artifactId>
88- <version>${junit.vintage.version}</version>
89- <scope>test</scope>
90- </dependency> -->
86+ <groupId >org.junit.platform</groupId >
87+ <artifactId >junit-platform-runner</artifactId >
88+ <version >${junit.platform.version} </version >
89+ <scope >test</scope >
90+ </dependency >
91+ <dependency >
92+ <groupId >org.junit.vintage</groupId >
93+ <artifactId >junit-vintage-engine</artifactId >
94+ <version >${junit.vintage.version} </version >
95+ <scope >test</scope >
96+ </dependency >
97+ <dependency >
98+ <groupId >org.apache.logging.log4j</groupId >
99+ <artifactId >log4j-core</artifactId >
100+ <version >${log4j2.version} </version >
101+ </dependency >
102+ <dependency >
103+ <groupId >com.h2database</groupId >
104+ <artifactId >h2</artifactId >
105+ <version >${h2.version} </version >
106+ </dependency >
107+ <dependency >
108+ <groupId >junit</groupId >
109+ <artifactId >junit</artifactId >
110+ <version >${junit4.version} </version >
111+ <scope >test</scope >
112+ </dependency >
113+
91114 </dependencies >
115+
92116</project >
0 commit comments