Statistics
| Branch: | Revision:

m2u-upass-ws / pom.xml @ 77:3e65986f3550

History | View | Annotate | Download (21.6 KB)

1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3

    
4
        <modelVersion>4.0.0</modelVersion>
5

    
6
        <groupId>net.penril</groupId>
7
        <artifactId>m2u-upass-ws</artifactId>
8
        <version>2.0-SNAPSHOT</version>
9
        <packaging>war</packaging>
10
        <name>M2U UPass Web Services</name>
11
        <properties>
12
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13
                <cobertura.version>1.9.4.1</cobertura.version>
14
                <config.postfix />
15
                <tomcat.home>/var/lib/jenkins/apache-tomcat-5.5.33</tomcat.home>
16
                <m2u-upass-classifier></m2u-upass-classifier>
17
        </properties>
18
        <pluginRepositories>
19
                <pluginRepository>
20
                        <id>eviwarePluginRepository</id>
21
                        <url>http://www.eviware.com/repository/maven2/</url>
22
                </pluginRepository>
23
        </pluginRepositories>
24
        <distributionManagement>
25
                <snapshotRepository>
26
                        <id>penril.nexus.repo</id>
27
                        <name>Penril Nexus Repo</name>
28
                        <url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots</url>
29
                        <uniqueVersion>false</uniqueVersion>
30
                </snapshotRepository>
31
        </distributionManagement>
32
        <build>
33
                <pluginManagement>
34
                        <plugins>
35
                                <plugin>
36
                                        <groupId>org.codehaus.mojo</groupId>
37
                                        <artifactId>cobertura-maven-plugin</artifactId>
38
                                        <version>2.5.1</version>
39
                                </plugin>
40
                                <plugin>
41
                                        <groupId>org.apache.maven.plugins</groupId>
42
                                        <artifactId>maven-antrun-plugin</artifactId>
43
                                        <version>1.6</version>
44
                                </plugin>
45
                                <plugin>
46
                                        <groupId>org.mortbay.jetty</groupId>
47
                                        <artifactId>maven-jetty-plugin</artifactId>
48
                                        <version>6.1.16</version>
49
                                        <configuration>
50
                                                <connectors>
51
                                                        <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
52
                                                                <port>9090</port>
53
                                                                <maxIdleTime>60000</maxIdleTime>
54
                                                        </connector>
55
                                                </connectors>
56
                                                <stopPort>9005</stopPort>
57
                                                <stopKey>STOP</stopKey>
58
                                                <contextPath>${project.artifactId}</contextPath>
59
                                                <jettyConfig>target/classes/jetty.xml</jettyConfig>
60
                                        </configuration>
61
                                </plugin>
62
                                <plugin>
63
                                        <groupId>org.glassfish</groupId>
64
                                        <artifactId>maven-embedded-glassfish-plugin</artifactId>
65
                                        <version>3.1.1</version>
66
                                        <configuration>
67
                                                <goalPrefix>embedded-glassfish</goalPrefix>
68
                                                <autoDelete>true</autoDelete>
69
                                                <port>9090</port>
70
                                                <contextRoot>${project.artifactId}</contextRoot>
71
                                                <autoDelete>yes</autoDelete>
72
                                        </configuration>
73
                                </plugin>
74
                        </plugins>
75
                </pluginManagement>
76
                <sourceDirectory>src</sourceDirectory>
77
                <resources>
78
                        <resource>
79
                                <directory>src</directory>
80
                                <excludes>
81
                                        <exclude>**/*.java</exclude>
82
                                </excludes>
83
                        </resource>
84
                        <resource>
85
                                <directory>resources</directory>
86
                        </resource>
87
                </resources>
88
                <testSourceDirectory>test/java</testSourceDirectory>
89
                <testResources>
90
                        <testResource>
91
                                <directory>test/resources</directory>
92
                        </testResource>
93
                </testResources>
94
                <plugins>
95
                        <plugin>
96
                                <groupId>org.apache.maven.plugins</groupId>
97
                                <artifactId>maven-war-plugin</artifactId>
98
                                <version>2.1.1</version>
99
                                <configuration>
100
                                        <warSourceDirectory>${basedir}/WebContent</warSourceDirectory>
101
                                </configuration>
102
                        </plugin>
103
                        <plugin>
104
                                <groupId>org.apache.maven.plugins</groupId>
105
                                <artifactId>maven-compiler-plugin</artifactId>
106
                                <version>2.3.2</version>
107
                                <configuration>
108
                                        <source>1.6</source>
109
                                        <target>1.6</target>
110
                                </configuration>
111
                        </plugin>
112
                        <plugin>
113
                                <artifactId>maven-antrun-plugin</artifactId>
114
                                <executions>
115
                                        <execution>
116
                                                <id>env-config</id>
117
                                                <phase>process-resources</phase>
118
                                                <configuration>
119
                                                        <target>
120
                                                                <delete file="${project.build.outputDirectory}/log4j.xml" />
121
                                                                <copy file="resources/log4j${config.postfix}.xml" tofile="${project.build.outputDirectory}/log4j.xml" />
122

    
123
                                                                <delete>
124
                                                                        <fileset dir="${project.build.outputDirectory}"
125
                                                                                includes="log4j.*.xml" />
126
                                                                </delete>
127
                                                        </target>
128
                                                </configuration>
129
                                                <goals>
130
                                                        <goal>run</goal>
131
                                                </goals>
132
                                        </execution>
133
                                </executions>
134
                        </plugin>
135
                        <plugin>
136
                                <artifactId>maven-failsafe-plugin</artifactId>
137
                                <version>2.6</version>
138
                                <executions>
139
                                        <execution>
140
                                                <goals>
141
                                                        <goal>integration-test</goal>
142
                                                        <goal>verify</goal>
143
                                                </goals>
144
                                        </execution>
145
                                </executions>
146
                                <dependencies>
147
                                        <dependency>
148
                                                <groupId>net.sourceforge.cobertura</groupId>
149
                                                <artifactId>cobertura-runtime</artifactId>
150
                                                <version>${cobertura.version}</version>
151
                                                <!-- <scope>provided</scope> -->
152
                                                <scope>compile</scope>
153
                                                <type>pom</type>
154
                                        </dependency>
155
                                </dependencies>
156
                        </plugin>
157
                </plugins>
158
        </build>
159
        <profiles>
160
                <profile>
161
                        <id>env-dev-penril</id>
162
                        <activation>
163
                                <property>
164
                                        <name>env</name>
165
                                        <value>dev-penril</value>
166
                                </property>
167
                        </activation>
168
                        <properties>
169
                                <config.postfix>.dev-penril</config.postfix>
170
                        </properties>
171
                        <dependencies>
172
                                <dependency>
173
                                        <groupId>axis</groupId>
174
                                        <artifactId>axis</artifactId>
175
                                        <version>1.4</version>
176
                                        <type>jar</type>
177
                                        <scope>compile</scope>
178
                                </dependency>
179
                        </dependencies>
180
                </profile>
181
                <profile>
182
                        <id>env-staging-ci</id>
183
                        <activation>
184
                                <property>
185
                                        <name>env</name>
186
                                        <value>staging-ci</value>
187
                                </property>
188
                        </activation>
189
                        <properties>
190
                                <config.postfix>.staging-ci</config.postfix>
191
                        </properties>
192
                        <build>
193
                                <plugins>
194
                                        <!-- <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> 
195
                                                <configuration> <webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory> 
196
                                                <classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory> 
197
                                                </configuration> <executions> <execution> <id>start-jetty</id> <phase>pre-integration-test</phase> 
198
                                                <goals> <goal>run</goal> </goals> <configuration> <scanIntervalSeconds>0</scanIntervalSeconds> 
199
                                                <daemon>true</daemon> </configuration> </execution> <execution> <id>stop-jetty</id> 
200
                                                <phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> </execution> 
201
                                                </executions> <dependencies> <dependency> <groupId>net.sourceforge.cobertura</groupId> 
202
                                                <artifactId>cobertura-runtime</artifactId> <version>${cobertura.version}</version> 
203
                                                <scope>compile</scope> <type>pom</type> </dependency> </dependencies> </plugin> -->
204
                                        <plugin>
205
                                                <groupId>org.glassfish</groupId>
206
                                                <artifactId>maven-embedded-glassfish-plugin</artifactId>
207
                                                <configuration>
208
                                                        <app>${project.build.directory}/${project.artifactId}-${project.version}-${m2u-upass-classifier}.war</app>
209
                                                </configuration>
210
                                                <executions>
211
                                                        <execution>
212
                                                                <id>start-glassfish</id>
213
                                                                <phase>pre-integration-test</phase>
214
                                                                <goals>
215
                                                                        <goal>start</goal>
216
                                                                </goals>
217
                                                        </execution>
218
                                                        <execution>
219
                                                                <id>glassfish-deploy</id>
220
                                                                <phase>pre-integration-test</phase>
221
                                                                <goals>
222
                                                                        <goal>deploy</goal>
223
                                                                </goals>
224
                                                        </execution>
225
                                                        <execution>
226
                                                                <id>glassfish-undeploy</id>
227
                                                                <phase>post-integration-test</phase>
228
                                                                <goals>
229
                                                                        <goal>undeploy</goal>
230
                                                                </goals>
231
                                                        </execution>
232
                                                        <execution>
233
                                                                <id>stop-glassfish</id>
234
                                                                <phase>post-integration-test</phase>
235
                                                                <goals>
236
                                                                        <goal>stop</goal>
237
                                                                </goals>
238
                                                        </execution>
239
                                                </executions>
240
                                                <dependencies>
241
                                                        <dependency>
242
                                                                <groupId>net.sourceforge.cobertura</groupId>
243
                                                                <artifactId>cobertura-runtime</artifactId>
244
                                                                <version>${cobertura.version}</version>
245
                                                                <!-- <scope>provided</scope> -->
246
                                                                <scope>compile</scope>
247
                                                                <type>pom</type>
248
                                                        </dependency>
249
                                                </dependencies>
250
                                        </plugin>
251
                                        <plugin>
252
                                                <artifactId>maven-surefire-plugin</artifactId>
253
                                                <configuration>
254
                                                        <classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory>
255
                                                        <forkMode>none</forkMode>
256
                                                </configuration>
257
                                        </plugin>
258
                                        <plugin>
259
                                                <groupId>eviware</groupId>
260
                                                <artifactId>maven-soapui-plugin</artifactId>
261
                                                <version>4.5.1</version>
262
                                                <executions>
263
                                                        <execution>
264
                                                                <id>UPassWsTests</id>
265
                                                                <goals>
266
                                                                        <goal>test</goal>
267
                                                                </goals>
268
                                                                <phase>integration-test</phase>
269
                                                                <configuration>
270
                                                                        <projectFile>${basedir}/test/soap-ui/UPass-soapui-project.xml</projectFile>
271
<!--                                                                         
272
                                                                        <projectProperties>
273
                                                                                <projectProperty>invokerUsername=UpassAdmin</projectProperty>
274
                                                                                <projectProperty>invokerPassword=password</projectProperty>
275
                                                                        </projectProperties>
276
 -->
277
                                                                 </configuration>
278
                                                        </execution>
279
                                                        <execution>
280
                                                                <id>MaybankFacadeTests</id>
281
                                                                <goals>
282
                                                                        <goal>test</goal>
283
                                                                </goals>
284
                                                                <phase>integration-test</phase>
285
                                                                <configuration>
286
                                                                        <projectFile>${basedir}/test/soap-ui/MaybankFacade-soapui-project.xml</projectFile>
287
                                                                </configuration>
288
                                                        </execution>
289
                                                </executions>
290
                                                <configuration>
291
                                                        <host>localhost</host>
292
                                                        <!-- <port>8080</port> -->
293
                                                        <port>9090</port>
294
                                                        <outputFolder>${project.build.directory}/surefire-reports</outputFolder>
295
                                                        <junitReport>true</junitReport>
296
                                                        <printReport>false</printReport>
297
                                                </configuration>
298
                                        </plugin>
299
                                </plugins>
300
                        </build>
301
                        <dependencies>
302
                                <dependency>
303
                                        <groupId>axis</groupId>
304
                                        <artifactId>axis</artifactId>
305
                                        <version>1.4</version>
306
                                        <type>jar</type>
307
                                        <scope>compile</scope>
308
                                </dependency>
309
                        </dependencies>
310
                </profile>
311
                <profile>
312
                        <id>env-maybank-dev</id>
313
                        <activation>
314
                                <property>
315
                                        <name>env</name>
316
                                        <value>maybank-dev</value>
317
                                </property>
318
                        </activation>
319
                        <properties>
320
                                <config.postfix>.maybank-dev</config.postfix>
321
                        </properties>
322
                        <dependencies>
323
                                <dependency>
324
                                        <groupId>axis</groupId>
325
                                        <artifactId>axis</artifactId>
326
                                        <version>1.4</version>
327
                                        <type>jar</type>
328
                                        <scope>compile</scope>
329
                                        <exclusions>
330
                                                <exclusion>
331
                                                        <artifactId>axis-jaxrpc</artifactId>
332
                                                        <groupId>org.apache.axis</groupId>
333
                                                </exclusion>
334
                                                <exclusion>
335
                                                        <artifactId>axis-saaj</artifactId>
336
                                                        <groupId>org.apache.axis</groupId>
337
                                                </exclusion>
338
                                        </exclusions>
339
                                </dependency>
340
                        </dependencies>
341
                </profile>
342
                <profile>
343
                        <id>cobertura-instrument</id>
344
                        <activation>
345
                                <property>
346
                                        <name>cobertura-build</name>
347
                                </property>
348
                        </activation>
349
                        <properties>
350
                                <m2u-upass-classifier>instrumented</m2u-upass-classifier>
351
                        </properties>
352
                        <distributionManagement>
353
                                <snapshotRepository>
354
                                        <id>penril.nexus.repo.coverage</id>
355
                                        <name>Penril Nexus Repo Coverage</name>
356
                                        <url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots-coverage</url>
357
                                </snapshotRepository>
358
                        </distributionManagement>
359
                        <build>
360
                                <plugins>
361
                                        <plugin>
362
                                                <artifactId>maven-war-plugin</artifactId>
363
                                                <configuration>
364
                                                        <classifier>${m2u-upass-classifier}</classifier>
365
                                                        <packagingExcludes>WEB-INF/lib/m2u-upass-*SNAPSHOT.jar</packagingExcludes>
366
                                                </configuration>
367
                                        </plugin>
368
                                        <plugin>
369
                                                <groupId>org.codehaus.mojo</groupId>
370
                                                <artifactId>cobertura-maven-plugin</artifactId>
371
                                                <configuration>
372
                                                        <formats>
373
                                                                <format>html</format>
374
                                                                <format>xml</format>
375
                                                        </formats>
376

    
377
                                                        <!-- TODO: To be configured... -->
378
                                                        <instrumentation>
379
                                                                <ignores>
380
                                                                        <ignore>com.example.boringcode.*</ignore>
381
                                                                </ignores>
382
                                                                <excludes>
383
                                                                        <exclude>com/example/dullcode/**/*.class</exclude>
384
                                                                        <exclude>com/example/**/*Test.class</exclude>
385
                                                                </excludes>
386
                                                        </instrumentation>
387

    
388
                                                        <!-- TODO: To be configured... -->
389
                                                        <check>
390
                                                                <branchRate>85</branchRate>
391
                                                                <lineRate>85</lineRate>
392
                                                                <haltOnFailure>true</haltOnFailure>
393
                                                                <totalBranchRate>85</totalBranchRate>
394
                                                                <totalLineRate>85</totalLineRate>
395
                                                                <packageLineRate>85</packageLineRate>
396
                                                                <packageBranchRate>85</packageBranchRate>
397
                                                                <regexes>
398
                                                                        <regex>
399
                                                                                <pattern>com.example.reallyimportant.*</pattern>
400
                                                                                <branchRate>90</branchRate>
401
                                                                                <lineRate>80</lineRate>
402
                                                                        </regex>
403
                                                                        <regex>
404
                                                                                <pattern>com.example.boringcode.*</pattern>
405
                                                                                <branchRate>40</branchRate>
406
                                                                                <lineRate>30</lineRate>
407
                                                                        </regex>
408
                                                                </regexes>
409
                                                        </check>
410
                                                </configuration>
411
                                                <executions>
412
                                                        <execution>
413
                                                                <id>instrument-code</id>
414
                                                                <phase>process-classes</phase>
415
                                                                <goals>
416
                                                                        <goal>instrument</goal>
417
                                                                </goals>
418
                                                                <configuration>
419
                                                                        <attach>true</attach>
420
                                                                </configuration>
421
                                                        </execution>
422
                                                </executions>
423
                                        </plugin>
424
                                        <plugin>
425
                                                <artifactId>maven-source-plugin</artifactId>
426
                                                <executions>
427
                                                        <execution>
428
                                                                <id>attach-sources</id>
429
                                                                <goals>
430
                                                                        <goal>jar</goal>
431
                                                                </goals>
432
                                                        </execution>
433
                                                </executions>
434
                                                <inherited>true</inherited>
435
                                        </plugin>
436
                                </plugins>
437
                        </build>
438
                        <dependencies>
439
                                <dependency>
440
                                        <groupId>net.sourceforge.cobertura</groupId>
441
                                        <artifactId>cobertura-runtime</artifactId>
442
                                        <version>${cobertura.version}</version>
443
                                        <!-- <scope>provided</scope> -->
444
                                        <scope>compile</scope>
445
                                        <type>pom</type>
446
                                </dependency>
447
                        </dependencies>
448
                </profile>
449
                <profile>
450
                        <id>custom-war-deploy</id>
451
                        <activation>
452
                                <property>
453
                                        <name>custom-war-deploy</name>
454
                                </property>
455
                        </activation>
456
                        <build>
457
                                <plugins>
458
                                        <plugin>
459
                                                <artifactId>maven-antrun-plugin</artifactId>
460
                                                <executions>
461
                                                        <execution>
462
                                                                <id>tomcat-deployment</id>
463
                                                                <phase>install</phase>
464
                                                                <configuration>
465
                                                                        <target>
466
                                                                                <!-- <echo>Shutting down the Tomcat</echo> <exec dir="${tomcat.home}/bin" 
467
                                                                                        executable="${tomcat.home}/bin/shutdown.sh" /> -->
468
                                                                                <copy
469
                                                                                        file="${basedir}/target/${project.artifactId}-${project.version}.war"
470
                                                                                        tofile="${tomcat.home}/webapps/${project.artifactId}.war"
471
                                                                                        overwrite="true" />
472
                                                                                <!-- <echo>Starting up the Tomcat</echo> <exec dir="${tomcat.home}/bin" 
473
                                                                                        executable="${tomcat.home}/bin/startup.sh" /> -->
474
                                                                        </target>
475
                                                                </configuration>
476
                                                                <goals>
477
                                                                        <goal>run</goal>
478
                                                                </goals>
479
                                                        </execution>
480
                                                </executions>
481
                                        </plugin>
482
                                </plugins>
483
                        </build>
484
                </profile>
485
                <profile>
486
                        <id>load-test</id>
487
                        <build>
488
                                <plugins>
489
                                        <plugin>
490
                                                <groupId>org.mortbay.jetty</groupId>
491
                                                <artifactId>maven-jetty-plugin</artifactId>
492
                                                <configuration>
493
                                                        <webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory>
494
                                                        <classesDirectory>${project.build.directory}/classes</classesDirectory>
495
                                                        <daemon>true</daemon>
496
                                                </configuration>
497
                                        </plugin>
498
                                        <plugin>
499
                                                <groupId>org.glassfish</groupId>
500
                                                <artifactId>maven-embedded-glassfish-plugin</artifactId>
501
                                                <configuration>
502
                                                        <app>${project.build.directory}/${project.artifactId}-${project.version}-${m2u-upass-classifier}.war</app>
503
                                                </configuration>
504
                                                <executions>
505
                                                        <execution>
506
                                                                <id>start-glassfish</id>
507
                                                                <phase>pre-integration-test</phase>
508
                                                                <goals>
509
                                                                        <goal>start</goal>
510
                                                                </goals>
511
                                                        </execution>
512
                                                        <execution>
513
                                                                <id>glassfish-deploy</id>
514
                                                                <phase>pre-integration-test</phase>
515
                                                                <goals>
516
                                                                        <goal>deploy</goal>
517
                                                                </goals>
518
                                                        </execution>
519
                                                        <execution>
520
                                                                <id>glassfish-undeploy</id>
521
                                                                <phase>post-integration-test</phase>
522
                                                                <goals>
523
                                                                        <goal>undeploy</goal>
524
                                                                </goals>
525
                                                        </execution>
526
                                                        <execution>
527
                                                                <id>stop-glassfish</id>
528
                                                                <phase>post-integration-test</phase>
529
                                                                <goals>
530
                                                                        <goal>stop</goal>
531
                                                                </goals>
532
                                                        </execution>
533
                                                </executions>
534
                                                <dependencies>
535
                                                        <dependency>
536
                                                                <groupId>net.sourceforge.cobertura</groupId>
537
                                                                <artifactId>cobertura-runtime</artifactId>
538
                                                                <version>${cobertura.version}</version>
539
                                                                <!-- <scope>provided</scope> -->
540
                                                                <scope>compile</scope>
541
                                                                <type>pom</type>
542
                                                        </dependency>
543
                                                </dependencies>
544
                                        </plugin>
545
                                        <plugin>
546
                                                <artifactId>maven-antrun-plugin</artifactId>
547
                                                <executions>
548
                                                        <execution>
549
                                                                <phase>process-resources</phase>
550
                                                                <configuration>
551
                                                                        <target>
552
                                                                                <echo message="Creating a directory required by our JMeter test plan." />
553
                                                                                <mkdir dir="${basedir}/target/jmeter/responses/add" />
554
                                                                                <mkdir dir="${basedir}/target/jmeter/responses/auth" />
555
                                                                        </target>
556
                                                                </configuration>
557
                                                                <goals>
558
                                                                        <goal>run</goal>
559
                                                                </goals>
560
                                                        </execution>
561
                                                </executions>
562
                                        </plugin>
563
                                        <plugin>
564
                                                <groupId>org.codehaus.mojo</groupId>
565
                                                <artifactId>exec-maven-plugin</artifactId>
566
                                                <executions>
567
                                                        <execution>
568
                                                                <id>upass-load-test</id>
569
                                                                <phase>integration-test</phase>
570
                                                                <goals>
571
                                                                        <goal>exec</goal>
572
                                                                </goals>
573
                                                                <configuration>
574
                                                                        <executable>${JMETER_HOME}/bin/jmeter.sh</executable>
575
                                                                        <arguments>
576
                                                                                <argument>-n</argument>
577
                                                                                <argument>-t</argument>
578
                                                                                <argument>${basedir}/test/jmeter/UPass-test-plan.jmx</argument>
579
                                                                                <argument>-l</argument>
580
                                                                                <argument>${project.build.directory}/jmeter/result.jtl</argument>
581
                                                                                <argument>-J</argument>
582
                                                                                <argument>jmeter.save.saveservice.output_format=xml</argument>
583
                                                                                <argument>-J</argument>
584
                                                                                <argument>jmeter.save.saveservice.thread_counts=true</argument>
585
                                                                                <argument>-j</argument>
586
                                                                                <argument>${project.build.directory}/jmeter/jmeter.log</argument>
587
                                                                        </arguments>
588
                                                                </configuration>
589
                                                        </execution>
590
                                                        <execution>
591
                                                                <id>maybank-load-test</id>
592
                                                                <phase>integration-test</phase>
593
                                                                <goals>
594
                                                                        <goal>exec</goal>
595
                                                                </goals>
596
                                                                <configuration>
597
                                                                        <executable>${JMETER_HOME}/bin/jmeter.sh</executable>
598
                                                                        <arguments>
599
                                                                                <argument>-n</argument>
600
                                                                                <argument>-t</argument>
601
                                                                                <argument>${basedir}/test/jmeter/Maybank-facade-test-plan.jmx</argument>
602
                                                                                <argument>-l</argument>
603
                                                                                <argument>${project.build.directory}/jmeter/resultMaybank.jtl</argument>
604
                                                                                <argument>-J</argument>
605
                                                                                <argument>jmeter.save.saveservice.output_format=xml</argument>
606
                                                                                <argument>-J</argument>
607
                                                                                <argument>jmeter.save.saveservice.thread_counts=true</argument>
608
                                                                                <argument>-j</argument>
609
                                                                                <argument>${project.build.directory}/jmeter/jmeterMaybank.log</argument>
610
                                                                        </arguments>
611
                                                                </configuration>
612
                                                        </execution>
613
                                                </executions>
614
                                        </plugin>
615
                                </plugins>
616
                        </build>
617
                        <dependencies>
618
                                <dependency>
619
                                        <groupId>axis</groupId>
620
                                        <artifactId>axis</artifactId>
621
                                        <version>1.4</version>
622
                                        <type>jar</type>
623
                                        <scope>compile</scope>
624
                                </dependency>
625
                        </dependencies>
626
                </profile>
627
                <profile>
628
                        <id>wstools</id>
629
                        <build>
630
                                <plugins>
631
                                        <plugin>
632
                                                <groupId>org.apache.maven.plugins</groupId>
633
                                                <artifactId>maven-antrun-plugin</artifactId>
634
                                                <executions>
635
                                                        <execution>
636
                                                                <phase>generate-resources</phase>
637
                                                                <configuration>
638
                                                                        <target>
639
                                                                                <mkdir dir="${project.build.directory}/wsdl" />
640
                                                                                <property name="compile_classpath" refid="maven.compile.classpath" />
641
                                                                                <taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen" />
642
                                                                                <wsgen sei="my.com.upass.maybank.MaybankFacadeImpl"
643
                                                                                        classpath="${compile_classpath}" genWsdl="true" encoding="UTF-8"
644
                                                                                        keep="false" verbose="true" inlineSchemas="false"
645
                                                                                        resourcedestdir="${project.build.directory}/wsdl" xendorsed="true" />
646
                                                                                <replace file="${project.build.directory}/wsdl/MaybankFacade.wsdl"
647
                                                                                        token="REPLACE_WITH_ACTUAL_URL" value="http://dummy.endpoint.url" />
648
                                                                        </target>
649
                                                                </configuration>
650
                                                                <goals>
651
                                                                        <goal>run</goal>
652
                                                                </goals>
653
                                                        </execution>
654
                                                </executions>
655
                                                <dependencies>
656
                                                        <dependency>
657
                                                                <groupId>com.sun.xml.ws</groupId>
658
                                                                <artifactId>jaxws-tools</artifactId>
659
                                                                <version>2.2.6</version>
660
                                                        </dependency>
661
                                                </dependencies>
662
                                        </plugin>
663
                                </plugins>
664
                        </build>
665
                </profile>
666
        </profiles>
667
        <dependencies>
668
                <dependency>
669
                        <groupId>junit</groupId>
670
                        <artifactId>junit</artifactId>
671
                        <version>3.8.1</version>
672
                        <scope>test</scope>
673
                </dependency>
674
                <dependency>
675
                        <groupId>net.penril</groupId>
676
                        <artifactId>m2u-upass-core</artifactId>
677
                        <version>2.0-SNAPSHOT</version>
678
                        <classifier>${m2u-upass-classifier}</classifier>
679
                        <exclusions>
680
                                <exclusion>
681
                                        <groupId>net.penril</groupId>
682
                                        <artifactId>m2u-upass-min</artifactId>
683
                                </exclusion>
684
                        </exclusions>
685
                </dependency>
686
                <dependency>
687
                        <groupId>net.penril</groupId>
688
                        <artifactId>m2u-upass-min</artifactId>
689
                        <version>2.0-SNAPSHOT</version>
690
                        <classifier>${m2u-upass-classifier}</classifier>
691
                </dependency>
692
                <dependency>
693
                        <groupId>commons-discovery</groupId>
694
                        <artifactId>commons-discovery</artifactId>
695
                        <version>0.2</version>
696
                        <type>jar</type>
697
                        <scope>compile</scope>
698
                </dependency>
699
                <dependency>
700
                        <groupId>commons-logging</groupId>
701
                        <artifactId>commons-logging</artifactId>
702
                        <version>1.1.1</version>
703
                        <type>jar</type>
704
                        <scope>compile</scope>
705
                </dependency>
706
                <dependency>
707
                        <groupId>wsdl4j</groupId>
708
                        <artifactId>wsdl4j</artifactId>
709
                        <version>1.6.2</version>
710
                        <type>jar</type>
711
                        <scope>compile</scope>
712
                </dependency>
713
                <dependency>
714
                        <groupId>commons-io</groupId>
715
                        <artifactId>commons-io</artifactId>
716
                        <version>1.4</version>
717
                </dependency>
718
                <dependency>
719
                        <groupId>net.sourceforge.cobertura</groupId>
720
                        <artifactId>cobertura-runtime</artifactId>
721
                        <version>${cobertura.version}</version>
722
                        <!-- <scope>provided</scope> -->
723
                        <scope>test</scope>
724
                        <type>pom</type>
725
                </dependency>
726
        </dependencies>
727
</project>