Revision 49:4b668c7b5357 pom.xml
pom.xml | ||
---|---|---|
248 | 248 |
</build> |
249 | 249 |
</profile> |
250 | 250 |
<profile> |
251 |
<id>env-maybank-dev</id> |
|
252 |
<activation> |
|
253 |
<property> |
|
254 |
<name>env</name> |
|
255 |
<value>maybank-dev</value> |
|
256 |
</property> |
|
257 |
</activation> |
|
258 |
<properties> |
|
259 |
<config.postfix>.maybank-dev</config.postfix> |
|
260 |
</properties> |
|
261 |
<build> |
|
262 |
<plugins> |
|
263 |
<plugin> |
|
264 |
<groupId>org.mortbay.jetty</groupId> |
|
265 |
<artifactId>maven-jetty-plugin</artifactId> |
|
266 |
<configuration> |
|
267 |
<webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory> |
|
268 |
<classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory> |
|
269 |
<!-- <webApp>${project.build.directory}/${project.artifactId}-instrument.${project.packaging}</webApp> --> |
|
270 |
</configuration> |
|
271 |
<executions> |
|
272 |
<execution> |
|
273 |
<id>start-jetty</id> |
|
274 |
<phase>pre-integration-test</phase> |
|
275 |
<goals> |
|
276 |
<goal>run</goal> |
|
277 |
</goals> |
|
278 |
<configuration> |
|
279 |
<scanIntervalSeconds>0</scanIntervalSeconds> |
|
280 |
<daemon>true</daemon> |
|
281 |
</configuration> |
|
282 |
</execution> |
|
283 |
<execution> |
|
284 |
<id>stop-jetty</id> |
|
285 |
<phase>post-integration-test</phase> |
|
286 |
<goals> |
|
287 |
<goal>stop</goal> |
|
288 |
</goals> |
|
289 |
</execution> |
|
290 |
</executions> |
|
291 |
<dependencies> |
|
292 |
<dependency> |
|
293 |
<groupId>net.sourceforge.cobertura</groupId> |
|
294 |
<artifactId>cobertura-runtime</artifactId> |
|
295 |
<version>${cobertura.version}</version> |
|
296 |
<!-- <scope>provided</scope> --> |
|
297 |
<scope>compile</scope> |
|
298 |
<type>pom</type> |
|
299 |
</dependency> |
|
300 |
</dependencies> |
|
301 |
</plugin> |
|
302 |
<plugin> |
|
303 |
<artifactId>maven-surefire-plugin</artifactId> |
|
304 |
<configuration> |
|
305 |
<classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory> |
|
306 |
<forkMode>none</forkMode> |
|
307 |
</configuration> |
|
308 |
</plugin> |
|
309 |
<plugin> |
|
310 |
<groupId>eviware</groupId> |
|
311 |
<artifactId>maven-soapui-plugin</artifactId> |
|
312 |
<version>4.5.1</version> |
|
313 |
<executions> |
|
314 |
<execution> |
|
315 |
<id>UPassWsTests</id> |
|
316 |
<goals> |
|
317 |
<goal>test</goal> |
|
318 |
</goals> |
|
319 |
<phase>integration-test</phase> |
|
320 |
</execution> |
|
321 |
</executions> |
|
322 |
<configuration> |
|
323 |
<projectFile>${basedir}/test/soap-ui/UPass-soapui-project.xml</projectFile> |
|
324 |
<host>localhost</host> |
|
325 |
<!-- <port>8080</port> --> |
|
326 |
<port>9090</port> |
|
327 |
<outputFolder>${project.build.directory}/surefire-reports</outputFolder> |
|
328 |
<junitReport>true</junitReport> |
|
329 |
<printReport>false</printReport> |
|
330 |
<projectProperties> |
|
331 |
<projectProperty>invokerUsername=UpassAdmin</projectProperty> |
|
332 |
<projectProperty>invokerPassword=password</projectProperty> |
|
333 |
</projectProperties> |
|
334 |
</configuration> |
|
335 |
</plugin> |
|
336 |
</plugins> |
|
337 |
</build> |
|
338 |
</profile> |
|
339 |
<profile> |
|
251 | 340 |
<id>cobertura-instrument</id> |
252 | 341 |
<activation> |
253 | 342 |
<property> |
Also available in: Unified diff