|
214 | 214 | </archive> |
215 | 215 | </configuration> |
216 | 216 | </plugin> |
217 | | - <plugin> |
218 | | - <groupId>org.codehaus.mojo</groupId> |
219 | | - <artifactId>build-helper-maven-plugin</artifactId> |
220 | | - <version>${build-helper-maven-plugin.version}</version> |
221 | | - <executions> |
222 | | - <execution> |
223 | | - <id>reserve-network-port</id> |
224 | | - <goals> |
225 | | - <goal>reserve-network-port</goal> |
226 | | - </goals> |
227 | | - <phase>initialize</phase> |
228 | | - <configuration> |
229 | | - <portNames> |
230 | | - <portName>mockServerClient.port</portName> |
231 | | - </portNames> |
232 | | - </configuration> |
233 | | - </execution> |
234 | | - </executions> |
235 | | - </plugin> |
236 | | - <plugin> |
237 | | - <groupId>org.mock-server</groupId> |
238 | | - <artifactId>mockserver-maven-plugin</artifactId> |
239 | | - <version>${mockserver.version}</version> |
240 | | - <configuration> |
241 | | - <serverPort>${mockServerClient.port}</serverPort> |
242 | | - <logLevel>WARN</logLevel> |
243 | | - <skip>${skip-mockserver}</skip> |
244 | | - </configuration> |
245 | | - <executions> |
246 | | - <execution> |
247 | | - <id>process-test-classes</id> |
248 | | - <phase>process-test-classes</phase> |
249 | | - <goals> |
250 | | - <goal>runForked</goal> |
251 | | - </goals> |
252 | | - </execution> |
253 | | - <execution> |
254 | | - <id>verify</id> |
255 | | - <phase>verify</phase> |
256 | | - <goals> |
257 | | - <goal>stopForked</goal> |
258 | | - </goals> |
259 | | - </execution> |
260 | | - </executions> |
261 | | - </plugin> |
262 | 217 | <plugin> |
263 | 218 | <groupId>org.apache.maven.plugins</groupId> |
264 | 219 | <artifactId>maven-surefire-plugin</artifactId> |
265 | | - <configuration> |
266 | | - <argLine>-Xmx1024m</argLine> |
267 | | - </configuration> |
268 | 220 | </plugin> |
269 | 221 | </plugins> |
270 | 222 | <resources> |
|
277 | 229 | </resource> |
278 | 230 | </resources> |
279 | 231 | <testResources> |
280 | | - <testResource> |
281 | | - <directory>src/test/resources</directory> |
282 | | - <includes> |
283 | | - <include>**/*.property</include> |
284 | | - </includes> |
285 | | - <filtering>true</filtering> |
286 | | - </testResource> |
287 | 232 | <testResource> |
288 | 233 | <directory>src/test/resources</directory> |
289 | 234 | <includes> |
|
295 | 240 | </testResource> |
296 | 241 | </testResources> |
297 | 242 | </build> |
298 | | - <profiles> |
299 | | - <profile> |
300 | | - <id>skip-mockserver-tests</id> |
301 | | - <properties> |
302 | | - <skip-mockserver>true</skip-mockserver> |
303 | | - </properties> |
304 | | - <build> |
305 | | - <pluginManagement> |
306 | | - <plugins> |
307 | | - <plugin> |
308 | | - <artifactId>maven-surefire-plugin</artifactId> |
309 | | - <configuration> |
310 | | - <skip>true</skip> |
311 | | - </configuration> |
312 | | - </plugin> |
313 | | - </plugins> |
314 | | - </pluginManagement> |
315 | | - </build> |
316 | | - </profile> |
317 | | - </profiles> |
318 | 243 | </project> |
0 commit comments