m2u-upass-ws / pom.xml @ 73:826efb1a1218
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 |
<projectProperties>
|
272 |
<projectProperty>invokerUsername=UpassAdmin</projectProperty> |
273 |
<projectProperty>invokerPassword=password</projectProperty> |
274 |
</projectProperties>
|
275 |
</configuration>
|
276 |
</execution>
|
277 |
<execution>
|
278 |
<id>MaybankFacadeTests</id> |
279 |
<goals>
|
280 |
<goal>test</goal> |
281 |
</goals>
|
282 |
<phase>integration-test</phase> |
283 |
<configuration>
|
284 |
<projectFile>${basedir}/test/soap-ui/MaybankFacade-soapui-project.xml</projectFile> |
285 |
</configuration>
|
286 |
</execution>
|
287 |
</executions>
|
288 |
<configuration>
|
289 |
<host>localhost</host> |
290 |
<!-- <port>8080</port> -->
|
291 |
<port>9090</port> |
292 |
<outputFolder>${project.build.directory}/surefire-reports</outputFolder> |
293 |
<junitReport>true</junitReport> |
294 |
<printReport>false</printReport> |
295 |
</configuration>
|
296 |
</plugin>
|
297 |
</plugins>
|
298 |
</build>
|
299 |
<dependencies>
|
300 |
<dependency>
|
301 |
<groupId>axis</groupId> |
302 |
<artifactId>axis</artifactId> |
303 |
<version>1.4</version> |
304 |
<type>jar</type> |
305 |
<scope>compile</scope> |
306 |
</dependency>
|
307 |
</dependencies>
|
308 |
</profile>
|
309 |
<profile>
|
310 |
<id>env-maybank-dev</id> |
311 |
<activation>
|
312 |
<property>
|
313 |
<name>env</name> |
314 |
<value>maybank-dev</value> |
315 |
</property>
|
316 |
</activation>
|
317 |
<properties>
|
318 |
<config.postfix>.maybank-dev</config.postfix> |
319 |
</properties>
|
320 |
<dependencies>
|
321 |
<dependency>
|
322 |
<groupId>axis</groupId> |
323 |
<artifactId>axis</artifactId> |
324 |
<version>1.4</version> |
325 |
<type>jar</type> |
326 |
<scope>compile</scope> |
327 |
<exclusions>
|
328 |
<exclusion>
|
329 |
<artifactId>axis-jaxrpc</artifactId> |
330 |
<groupId>org.apache.axis</groupId> |
331 |
</exclusion>
|
332 |
<exclusion>
|
333 |
<artifactId>axis-saaj</artifactId> |
334 |
<groupId>org.apache.axis</groupId> |
335 |
</exclusion>
|
336 |
</exclusions>
|
337 |
</dependency>
|
338 |
</dependencies>
|
339 |
</profile>
|
340 |
<profile>
|
341 |
<id>cobertura-instrument</id> |
342 |
<activation>
|
343 |
<property>
|
344 |
<name>cobertura-build</name> |
345 |
</property>
|
346 |
</activation>
|
347 |
<properties>
|
348 |
<m2u-upass-classifier>instrumented</m2u-upass-classifier> |
349 |
</properties>
|
350 |
<distributionManagement>
|
351 |
<snapshotRepository>
|
352 |
<id>penril.nexus.repo.coverage</id> |
353 |
<name>Penril Nexus Repo Coverage</name> |
354 |
<url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots-coverage</url> |
355 |
</snapshotRepository>
|
356 |
</distributionManagement>
|
357 |
<build>
|
358 |
<plugins>
|
359 |
<plugin>
|
360 |
<artifactId>maven-war-plugin</artifactId> |
361 |
<configuration>
|
362 |
<classifier>${m2u-upass-classifier}</classifier> |
363 |
<packagingExcludes>WEB-INF/lib/m2u-upass-*SNAPSHOT.jar</packagingExcludes> |
364 |
</configuration>
|
365 |
</plugin>
|
366 |
<plugin>
|
367 |
<groupId>org.codehaus.mojo</groupId> |
368 |
<artifactId>cobertura-maven-plugin</artifactId> |
369 |
<configuration>
|
370 |
<formats>
|
371 |
<format>html</format> |
372 |
<format>xml</format> |
373 |
</formats>
|
374 |
|
375 |
<!-- TODO: To be configured... -->
|
376 |
<instrumentation>
|
377 |
<ignores>
|
378 |
<ignore>com.example.boringcode.*</ignore> |
379 |
</ignores>
|
380 |
<excludes>
|
381 |
<exclude>com/example/dullcode/**/*.class</exclude> |
382 |
<exclude>com/example/**/*Test.class</exclude> |
383 |
</excludes>
|
384 |
</instrumentation>
|
385 |
|
386 |
<!-- TODO: To be configured... -->
|
387 |
<check>
|
388 |
<branchRate>85</branchRate> |
389 |
<lineRate>85</lineRate> |
390 |
<haltOnFailure>true</haltOnFailure> |
391 |
<totalBranchRate>85</totalBranchRate> |
392 |
<totalLineRate>85</totalLineRate> |
393 |
<packageLineRate>85</packageLineRate> |
394 |
<packageBranchRate>85</packageBranchRate> |
395 |
<regexes>
|
396 |
<regex>
|
397 |
<pattern>com.example.reallyimportant.*</pattern> |
398 |
<branchRate>90</branchRate> |
399 |
<lineRate>80</lineRate> |
400 |
</regex>
|
401 |
<regex>
|
402 |
<pattern>com.example.boringcode.*</pattern> |
403 |
<branchRate>40</branchRate> |
404 |
<lineRate>30</lineRate> |
405 |
</regex>
|
406 |
</regexes>
|
407 |
</check>
|
408 |
</configuration>
|
409 |
<executions>
|
410 |
<execution>
|
411 |
<id>instrument-code</id> |
412 |
<phase>process-classes</phase> |
413 |
<goals>
|
414 |
<goal>instrument</goal> |
415 |
</goals>
|
416 |
<configuration>
|
417 |
<attach>true</attach> |
418 |
</configuration>
|
419 |
</execution>
|
420 |
</executions>
|
421 |
</plugin>
|
422 |
<plugin>
|
423 |
<artifactId>maven-source-plugin</artifactId> |
424 |
<executions>
|
425 |
<execution>
|
426 |
<id>attach-sources</id> |
427 |
<goals>
|
428 |
<goal>jar</goal> |
429 |
</goals>
|
430 |
</execution>
|
431 |
</executions>
|
432 |
<inherited>true</inherited> |
433 |
</plugin>
|
434 |
</plugins>
|
435 |
</build>
|
436 |
<dependencies>
|
437 |
<dependency>
|
438 |
<groupId>net.sourceforge.cobertura</groupId> |
439 |
<artifactId>cobertura-runtime</artifactId> |
440 |
<version>${cobertura.version}</version> |
441 |
<!-- <scope>provided</scope> -->
|
442 |
<scope>compile</scope> |
443 |
<type>pom</type> |
444 |
</dependency>
|
445 |
</dependencies>
|
446 |
</profile>
|
447 |
<profile>
|
448 |
<id>custom-war-deploy</id> |
449 |
<activation>
|
450 |
<property>
|
451 |
<name>custom-war-deploy</name> |
452 |
</property>
|
453 |
</activation>
|
454 |
<build>
|
455 |
<plugins>
|
456 |
<plugin>
|
457 |
<artifactId>maven-antrun-plugin</artifactId> |
458 |
<executions>
|
459 |
<execution>
|
460 |
<id>tomcat-deployment</id> |
461 |
<phase>install</phase> |
462 |
<configuration>
|
463 |
<target>
|
464 |
<!-- <echo>Shutting down the Tomcat</echo> <exec dir="${tomcat.home}/bin"
|
465 |
executable="${tomcat.home}/bin/shutdown.sh" /> -->
|
466 |
<copy
|
467 |
file="${basedir}/target/${project.artifactId}-${project.version}.war" |
468 |
tofile="${tomcat.home}/webapps/${project.artifactId}.war" |
469 |
overwrite="true" /> |
470 |
<!-- <echo>Starting up the Tomcat</echo> <exec dir="${tomcat.home}/bin"
|
471 |
executable="${tomcat.home}/bin/startup.sh" /> -->
|
472 |
</target>
|
473 |
</configuration>
|
474 |
<goals>
|
475 |
<goal>run</goal> |
476 |
</goals>
|
477 |
</execution>
|
478 |
</executions>
|
479 |
</plugin>
|
480 |
</plugins>
|
481 |
</build>
|
482 |
</profile>
|
483 |
<profile>
|
484 |
<id>load-test</id> |
485 |
<build>
|
486 |
<plugins>
|
487 |
<plugin>
|
488 |
<groupId>org.mortbay.jetty</groupId> |
489 |
<artifactId>maven-jetty-plugin</artifactId> |
490 |
<configuration>
|
491 |
<webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory> |
492 |
<classesDirectory>${project.build.directory}/classes</classesDirectory> |
493 |
<daemon>true</daemon> |
494 |
</configuration>
|
495 |
</plugin>
|
496 |
<plugin>
|
497 |
<groupId>org.glassfish</groupId> |
498 |
<artifactId>maven-embedded-glassfish-plugin</artifactId> |
499 |
<configuration>
|
500 |
<app>${project.build.directory}/${project.artifactId}-${project.version}-${m2u-upass-classifier}.war</app> |
501 |
</configuration>
|
502 |
<executions>
|
503 |
<execution>
|
504 |
<id>start-glassfish</id> |
505 |
<phase>pre-integration-test</phase> |
506 |
<goals>
|
507 |
<goal>start</goal> |
508 |
</goals>
|
509 |
</execution>
|
510 |
<execution>
|
511 |
<id>glassfish-deploy</id> |
512 |
<phase>pre-integration-test</phase> |
513 |
<goals>
|
514 |
<goal>deploy</goal> |
515 |
</goals>
|
516 |
</execution>
|
517 |
<execution>
|
518 |
<id>glassfish-undeploy</id> |
519 |
<phase>post-integration-test</phase> |
520 |
<goals>
|
521 |
<goal>undeploy</goal> |
522 |
</goals>
|
523 |
</execution>
|
524 |
<execution>
|
525 |
<id>stop-glassfish</id> |
526 |
<phase>post-integration-test</phase> |
527 |
<goals>
|
528 |
<goal>stop</goal> |
529 |
</goals>
|
530 |
</execution>
|
531 |
</executions>
|
532 |
<dependencies>
|
533 |
<dependency>
|
534 |
<groupId>net.sourceforge.cobertura</groupId> |
535 |
<artifactId>cobertura-runtime</artifactId> |
536 |
<version>${cobertura.version}</version> |
537 |
<!-- <scope>provided</scope> -->
|
538 |
<scope>compile</scope> |
539 |
<type>pom</type> |
540 |
</dependency>
|
541 |
</dependencies>
|
542 |
</plugin>
|
543 |
<plugin>
|
544 |
<artifactId>maven-antrun-plugin</artifactId> |
545 |
<executions>
|
546 |
<execution>
|
547 |
<phase>process-resources</phase> |
548 |
<configuration>
|
549 |
<target>
|
550 |
<echo message="Creating a directory required by our JMeter test plan." /> |
551 |
<mkdir dir="${basedir}/target/jmeter/responses/add" /> |
552 |
<mkdir dir="${basedir}/target/jmeter/responses/auth" /> |
553 |
</target>
|
554 |
</configuration>
|
555 |
<goals>
|
556 |
<goal>run</goal> |
557 |
</goals>
|
558 |
</execution>
|
559 |
</executions>
|
560 |
</plugin>
|
561 |
<plugin>
|
562 |
<groupId>org.codehaus.mojo</groupId> |
563 |
<artifactId>exec-maven-plugin</artifactId> |
564 |
<executions>
|
565 |
<execution>
|
566 |
<id>upass-load-test</id> |
567 |
<phase>integration-test</phase> |
568 |
<goals>
|
569 |
<goal>exec</goal> |
570 |
</goals>
|
571 |
<configuration>
|
572 |
<executable>${JMETER_HOME}/bin/jmeter.sh</executable> |
573 |
<arguments>
|
574 |
<argument>-n</argument> |
575 |
<argument>-t</argument> |
576 |
<argument>${basedir}/test/jmeter/UPass-test-plan.jmx</argument> |
577 |
<argument>-l</argument> |
578 |
<argument>${project.build.directory}/jmeter/result.jtl</argument> |
579 |
<argument>-J</argument> |
580 |
<argument>jmeter.save.saveservice.output_format=xml</argument> |
581 |
<argument>-J</argument> |
582 |
<argument>jmeter.save.saveservice.thread_counts=true</argument> |
583 |
<argument>-j</argument> |
584 |
<argument>${project.build.directory}/jmeter/jmeter.log</argument> |
585 |
</arguments>
|
586 |
</configuration>
|
587 |
</execution>
|
588 |
<execution>
|
589 |
<id>maybank-load-test</id> |
590 |
<phase>integration-test</phase> |
591 |
<goals>
|
592 |
<goal>exec</goal> |
593 |
</goals>
|
594 |
<configuration>
|
595 |
<executable>${JMETER_HOME}/bin/jmeter.sh</executable> |
596 |
<arguments>
|
597 |
<argument>-n</argument> |
598 |
<argument>-t</argument> |
599 |
<argument>${basedir}/test/jmeter/Maybank-facade-test-plan.jmx</argument> |
600 |
<argument>-l</argument> |
601 |
<argument>${project.build.directory}/jmeter/resultMaybank.jtl</argument> |
602 |
<argument>-J</argument> |
603 |
<argument>jmeter.save.saveservice.output_format=xml</argument> |
604 |
<argument>-J</argument> |
605 |
<argument>jmeter.save.saveservice.thread_counts=true</argument> |
606 |
<argument>-j</argument> |
607 |
<argument>${project.build.directory}/jmeter/jmeterMaybank.log</argument> |
608 |
</arguments>
|
609 |
</configuration>
|
610 |
</execution>
|
611 |
</executions>
|
612 |
</plugin>
|
613 |
</plugins>
|
614 |
</build>
|
615 |
<dependencies>
|
616 |
<dependency>
|
617 |
<groupId>axis</groupId> |
618 |
<artifactId>axis</artifactId> |
619 |
<version>1.4</version> |
620 |
<type>jar</type> |
621 |
<scope>compile</scope> |
622 |
</dependency>
|
623 |
</dependencies>
|
624 |
</profile>
|
625 |
<profile>
|
626 |
<id>wstools</id> |
627 |
<build>
|
628 |
<plugins>
|
629 |
<plugin>
|
630 |
<groupId>org.apache.maven.plugins</groupId> |
631 |
<artifactId>maven-antrun-plugin</artifactId> |
632 |
<executions>
|
633 |
<execution>
|
634 |
<phase>generate-resources</phase> |
635 |
<configuration>
|
636 |
<target>
|
637 |
<mkdir dir="${project.build.directory}/wsdl" /> |
638 |
<property name="compile_classpath" refid="maven.compile.classpath" /> |
639 |
<taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen" /> |
640 |
<wsgen sei="my.com.upass.maybank.MaybankFacadeImpl" |
641 |
classpath="${compile_classpath}" genWsdl="true" encoding="UTF-8" |
642 |
keep="false" verbose="true" inlineSchemas="false" |
643 |
resourcedestdir="${project.build.directory}/wsdl" xendorsed="true" /> |
644 |
<replace file="${project.build.directory}/wsdl/MaybankFacade.wsdl" |
645 |
token="REPLACE_WITH_ACTUAL_URL" value="http://dummy.endpoint.url" /> |
646 |
</target>
|
647 |
</configuration>
|
648 |
<goals>
|
649 |
<goal>run</goal> |
650 |
</goals>
|
651 |
</execution>
|
652 |
</executions>
|
653 |
<dependencies>
|
654 |
<dependency>
|
655 |
<groupId>com.sun.xml.ws</groupId> |
656 |
<artifactId>jaxws-tools</artifactId> |
657 |
<version>2.2.6</version> |
658 |
</dependency>
|
659 |
</dependencies>
|
660 |
</plugin>
|
661 |
</plugins>
|
662 |
</build>
|
663 |
</profile>
|
664 |
</profiles>
|
665 |
<dependencies>
|
666 |
<dependency>
|
667 |
<groupId>junit</groupId> |
668 |
<artifactId>junit</artifactId> |
669 |
<version>3.8.1</version> |
670 |
<scope>test</scope> |
671 |
</dependency>
|
672 |
<dependency>
|
673 |
<groupId>net.penril</groupId> |
674 |
<artifactId>m2u-upass-core</artifactId> |
675 |
<version>2.0-SNAPSHOT</version> |
676 |
<classifier>${m2u-upass-classifier}</classifier> |
677 |
<exclusions>
|
678 |
<exclusion>
|
679 |
<groupId>net.penril</groupId> |
680 |
<artifactId>m2u-upass-min</artifactId> |
681 |
</exclusion>
|
682 |
</exclusions>
|
683 |
</dependency>
|
684 |
<dependency>
|
685 |
<groupId>net.penril</groupId> |
686 |
<artifactId>m2u-upass-min</artifactId> |
687 |
<version>2.0-SNAPSHOT</version> |
688 |
<classifier>${m2u-upass-classifier}</classifier> |
689 |
</dependency>
|
690 |
<dependency>
|
691 |
<groupId>commons-discovery</groupId> |
692 |
<artifactId>commons-discovery</artifactId> |
693 |
<version>0.2</version> |
694 |
<type>jar</type> |
695 |
<scope>compile</scope> |
696 |
</dependency>
|
697 |
<dependency>
|
698 |
<groupId>commons-logging</groupId> |
699 |
<artifactId>commons-logging</artifactId> |
700 |
<version>1.1.1</version> |
701 |
<type>jar</type> |
702 |
<scope>compile</scope> |
703 |
</dependency>
|
704 |
<dependency>
|
705 |
<groupId>wsdl4j</groupId> |
706 |
<artifactId>wsdl4j</artifactId> |
707 |
<version>1.6.2</version> |
708 |
<type>jar</type> |
709 |
<scope>compile</scope> |
710 |
</dependency>
|
711 |
<dependency>
|
712 |
<groupId>commons-io</groupId> |
713 |
<artifactId>commons-io</artifactId> |
714 |
<version>1.4</version> |
715 |
</dependency>
|
716 |
<dependency>
|
717 |
<groupId>net.sourceforge.cobertura</groupId> |
718 |
<artifactId>cobertura-runtime</artifactId> |
719 |
<version>${cobertura.version}</version> |
720 |
<!-- <scope>provided</scope> -->
|
721 |
<scope>test</scope> |
722 |
<type>pom</type> |
723 |
</dependency>
|
724 |
</dependencies>
|
725 |
</project>
|