|
25 | 25 | <parent> |
26 | 26 | <groupId>io.wcm.maven</groupId> |
27 | 27 | <artifactId>io.wcm.maven.global-parent</artifactId> |
28 | | - <version>19</version> |
| 28 | + <version>20-SNAPSHOT</version> |
29 | 29 | <relativePath /> |
30 | 30 | </parent> |
31 | 31 |
|
|
88 | 88 | <site.url>http://devops.wcm.io</site.url> |
89 | 89 | <site.deploy.id>ssh-wcm.io</site.deploy.id> |
90 | 90 | <site.deploy.url /> |
91 | | - |
92 | | - <!-- junit5 versions --> |
93 | | - <org.junit.jupiter.version>5.0.2</org.junit.jupiter.version> |
94 | | - <org.junit.vintage.version>4.12.2</org.junit.vintage.version> |
95 | | - <org.junit.platform.version>1.0.2</org.junit.platform.version> |
96 | | - |
97 | | - <!-- we'll have to switch back to 2.19.1 because JUnit 5 provider is not yet compatbile with surefire 2.20/2.20.1 - see https://github.com/junit-team/junit5-samples/pull/27 --> |
98 | | - <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> |
99 | 91 |
|
100 | 92 | </properties> |
101 | 93 |
|
|
112 | 104 | <artifactId>mockito-core</artifactId> |
113 | 105 | <scope>test</scope> |
114 | 106 | </dependency> |
115 | | - <dependency> |
116 | | - <groupId>org.junit.jupiter</groupId> |
117 | | - <artifactId>junit-jupiter-api</artifactId> |
118 | | - <scope>test</scope> |
119 | | - </dependency> |
120 | | - |
121 | | - <!-- Required to run tests in an IDE that bundles an older version - also required for Eclipse 4.7 --> |
122 | | - <dependency> |
123 | | - <groupId>org.junit.platform</groupId> |
124 | | - <artifactId>junit-platform-launcher</artifactId> |
125 | | - <scope>test</scope> |
126 | | - </dependency> |
127 | | - <dependency> |
128 | | - <groupId>org.junit.jupiter</groupId> |
129 | | - <artifactId>junit-jupiter-engine</artifactId> |
130 | | - <scope>test</scope> |
131 | | - </dependency> |
| 107 | + <dependency> |
| 108 | + <groupId>org.junit.jupiter</groupId> |
| 109 | + <artifactId>junit-jupiter-api</artifactId> |
| 110 | + <scope>test</scope> |
| 111 | + </dependency> |
| 112 | + <dependency> |
| 113 | + <groupId>org.junit.jupiter</groupId> |
| 114 | + <artifactId>junit-jupiter-params</artifactId> |
| 115 | + <scope>test</scope> |
| 116 | + </dependency> |
| 117 | + <dependency> |
| 118 | + <groupId>org.junit.jupiter</groupId> |
| 119 | + <artifactId>junit-jupiter-engine</artifactId> |
| 120 | + <scope>test</scope> |
| 121 | + </dependency> |
132 | 122 |
|
133 | 123 | </dependencies> |
134 | 124 | <dependencyManagement> |
|
167 | 157 | <artifactId>mockito-core</artifactId> |
168 | 158 | <version>2.13.0</version> |
169 | 159 | </dependency> |
170 | | - |
171 | | - <dependency> |
172 | | - <groupId>org.junit.jupiter</groupId> |
173 | | - <artifactId>junit-jupiter-api</artifactId> |
174 | | - <version>${org.junit.jupiter.version}</version> |
175 | | - </dependency> |
176 | | - |
177 | | - <!-- Required when the project contains JUnit 4 tests --> |
178 | | - <dependency> |
179 | | - <groupId>org.junit.vintage</groupId> |
180 | | - <artifactId>junit-vintage-engine</artifactId> |
181 | | - <version>${org.junit.vintage.version}</version> |
182 | | - </dependency> |
183 | | - |
184 | | - <!-- Required to run tests in an IDE that bundles an older version - also required for Eclipse 4.7 --> |
185 | | - <dependency> |
186 | | - <groupId>org.junit.platform</groupId> |
187 | | - <artifactId>junit-platform-launcher</artifactId> |
188 | | - <version>${org.junit.platform.version}</version> |
189 | | - </dependency> |
| 160 | + <!-- Import all JUnit 5 dependencies --> |
190 | 161 | <dependency> |
191 | | - <groupId>org.junit.jupiter</groupId> |
192 | | - <artifactId>junit-jupiter-engine</artifactId> |
193 | | - <version>${org.junit.jupiter.version}</version> |
| 162 | + <groupId>org.junit</groupId> |
| 163 | + <artifactId>junit-bom</artifactId> |
| 164 | + <version>5.2.0</version> |
| 165 | + <type>pom</type> |
| 166 | + <scope>import</scope> |
194 | 167 | </dependency> |
195 | 168 |
|
196 | 169 | </dependencies> |
|
312 | 285 | </dependencies> |
313 | 286 | </plugin> |
314 | 287 |
|
315 | | - <plugin> |
316 | | - <groupId>org.apache.maven.plugins</groupId> |
317 | | - <artifactId>maven-surefire-plugin</artifactId> |
318 | | - |
319 | | - <!-- TODO: move this to global-parent once the surefire-junit5 integration is stable? --> |
320 | | - <dependencies> |
321 | | - <dependency> |
322 | | - <groupId>org.junit.platform</groupId> |
323 | | - <artifactId>junit-platform-surefire-provider</artifactId> |
324 | | - <version>${org.junit.platform.version}</version> |
325 | | - </dependency> |
326 | | - <dependency> |
327 | | - <groupId>org.junit.jupiter</groupId> |
328 | | - <artifactId>junit-jupiter-engine</artifactId> |
329 | | - <version>${org.junit.jupiter.version}</version> |
330 | | - </dependency> |
331 | | - </dependencies> |
332 | | - </plugin> |
333 | | - |
334 | 288 | </plugins> |
335 | 289 |
|
336 | 290 | </pluginManagement> |
|
0 commit comments