Revision 63:bebfe25c483b

View differences:

pom.xml
345 345
			<properties>
346 346
				<config.postfix>.maybank-dev</config.postfix>
347 347
			</properties>
348
			<build>
349
				<plugins>
350
					<plugin>
351
						<groupId>org.mortbay.jetty</groupId>
352
						<artifactId>maven-jetty-plugin</artifactId>
353
						<configuration>
354
							<webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory>
355
							<classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory>
356
							<!-- <webApp>${project.build.directory}/${project.artifactId}-instrument.${project.packaging}</webApp> -->
357
						</configuration>
358
						<executions>
359
							<execution>
360
								<id>start-jetty</id>
361
								<phase>pre-integration-test</phase>
362
								<goals>
363
									<goal>run</goal>
364
								</goals>
365
								<configuration>
366
									<scanIntervalSeconds>0</scanIntervalSeconds>
367
									<daemon>true</daemon>
368
								</configuration>
369
							</execution>
370
							<execution>
371
								<id>stop-jetty</id>
372
								<phase>post-integration-test</phase>
373
								<goals>
374
									<goal>stop</goal>
375
								</goals>
376
							</execution>
377
						</executions>
378
						<dependencies>
379
							<dependency>
380
								<groupId>net.sourceforge.cobertura</groupId>
381
								<artifactId>cobertura-runtime</artifactId>
382
								<version>${cobertura.version}</version>
383
								<!-- <scope>provided</scope> -->
384
								<scope>compile</scope>
385
								<type>pom</type>
386
							</dependency>
387
						</dependencies>
388
					</plugin>
389
					<plugin>
390
						<artifactId>maven-surefire-plugin</artifactId>
391
						<configuration>
392
							<classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory>
393
							<forkMode>none</forkMode>
394
						</configuration>
395
					</plugin>
396
					<plugin>
397
						<groupId>eviware</groupId>
398
						<artifactId>maven-soapui-plugin</artifactId>
399
						<version>4.5.1</version>
400
						<executions>
401
							<execution>
402
								<id>UPassWsTests</id>
403
								<goals>
404
									<goal>test</goal>
405
								</goals>
406
								<phase>integration-test</phase>
407
							</execution>
408
						</executions>
409
						<configuration>
410
							<projectFile>${basedir}/test/soap-ui/UPass-soapui-project.xml</projectFile>
411
							<host>localhost</host>
412
							<!-- <port>8080</port> -->
413
							<port>9090</port>
414
							<outputFolder>${project.build.directory}/surefire-reports</outputFolder>
415
							<junitReport>true</junitReport>
416
							<printReport>false</printReport>
417
							<projectProperties>
418
								<projectProperty>invokerUsername=UpassAdmin</projectProperty>
419
								<projectProperty>invokerPassword=password</projectProperty>
420
							</projectProperties>
421
						</configuration>
422
					</plugin>
423
				</plugins>
424
			</build>
425 348
			<dependencies>
426 349
				<dependency>
427 350
					<groupId>axis</groupId>

Also available in: Unified diff