m2u-upass-ws / pom.xml @ 66:af142030a686
History | View | Annotate | Download (19.3 KB)
1 | 0:53910be9bd5d | hadi | <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 | 1:de3237f0578f | hadi | <artifactId>m2u-upass-ws</artifactId> |
8 | 0:53910be9bd5d | hadi | <version>2.0-SNAPSHOT</version> |
9 | <packaging>war</packaging> |
||
10 | 1:de3237f0578f | hadi | <name>M2U UPass Web Services</name> |
11 | 0:53910be9bd5d | hadi | <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 | 41:82f9226695ca | hadi | <m2u-upass-classifier></m2u-upass-classifier> |
17 | 0:53910be9bd5d | hadi | </properties>
|
18 | <pluginRepositories>
|
||
19 | <pluginRepository>
|
||
20 | <id>eviwarePluginRepository</id> |
||
21 | <url>http://www.eviware.com/repository/maven2/</url> |
||
22 | </pluginRepository>
|
||
23 | </pluginRepositories>
|
||
24 | 42:bc281010aa2b | hadi | <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 | 43:8cf1379b4214 | hadi | <uniqueVersion>false</uniqueVersion> |
30 | 42:bc281010aa2b | hadi | </snapshotRepository>
|
31 | </distributionManagement>
|
||
32 | 0:53910be9bd5d | hadi | <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 | 38:346f2a2fb939 | hadi | <jettyConfig>target/classes/jetty.xml</jettyConfig> |
60 | 0:53910be9bd5d | hadi | </configuration>
|
61 | </plugin>
|
||
62 | 53:ea0221651efe | hadi | <plugin>
|
63 | <groupId>org.glassfish</groupId> |
||
64 | <artifactId>maven-embedded-glassfish-plugin</artifactId> |
||
65 | 55:4d457cd85dc2 | hadi | <version>3.1.1</version> |
66 | 53:ea0221651efe | hadi | <configuration>
|
67 | <goalPrefix>embedded-glassfish</goalPrefix> |
||
68 | <autoDelete>true</autoDelete> |
||
69 | <port>9090</port> |
||
70 | 54:3bb2b0f70a0c | hadi | <contextRoot>${project.artifactId}</contextRoot> |
71 | 55:4d457cd85dc2 | hadi | <autoDelete>yes</autoDelete> |
72 | 53:ea0221651efe | hadi | </configuration>
|
73 | </plugin>
|
||
74 | 0:53910be9bd5d | hadi | </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 | 50:0a34b4a7fa41 | hadi | <source>1.6</source> |
109 | <target>1.6</target> |
||
110 | 0:53910be9bd5d | hadi | </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 | 53:ea0221651efe | hadi | <fileset dir="${project.build.outputDirectory}" includes="log4j.*.xml" /> |
125 | 0:53910be9bd5d | hadi | </delete>
|
126 | </target>
|
||
127 | </configuration>
|
||
128 | <goals>
|
||
129 | <goal>run</goal> |
||
130 | </goals>
|
||
131 | </execution>
|
||
132 | </executions>
|
||
133 | </plugin>
|
||
134 | <plugin>
|
||
135 | <artifactId>maven-failsafe-plugin</artifactId> |
||
136 | <version>2.6</version> |
||
137 | <executions>
|
||
138 | <execution>
|
||
139 | <goals>
|
||
140 | <goal>integration-test</goal> |
||
141 | <goal>verify</goal> |
||
142 | </goals>
|
||
143 | </execution>
|
||
144 | </executions>
|
||
145 | <dependencies>
|
||
146 | <dependency>
|
||
147 | <groupId>net.sourceforge.cobertura</groupId> |
||
148 | <artifactId>cobertura-runtime</artifactId> |
||
149 | <version>${cobertura.version}</version> |
||
150 | <!-- <scope>provided</scope> -->
|
||
151 | <scope>compile</scope> |
||
152 | <type>pom</type> |
||
153 | </dependency>
|
||
154 | </dependencies>
|
||
155 | </plugin>
|
||
156 | </plugins>
|
||
157 | </build>
|
||
158 | <profiles>
|
||
159 | <profile>
|
||
160 | <id>env-dev-penril</id> |
||
161 | <activation>
|
||
162 | <property>
|
||
163 | <name>env</name> |
||
164 | <value>dev-penril</value> |
||
165 | </property>
|
||
166 | </activation>
|
||
167 | <properties>
|
||
168 | <config.postfix>.dev-penril</config.postfix> |
||
169 | </properties>
|
||
170 | 62:82ddd2d32001 | hadi | <dependencies>
|
171 | <dependency>
|
||
172 | <groupId>axis</groupId> |
||
173 | <artifactId>axis</artifactId> |
||
174 | <version>1.4</version> |
||
175 | <type>jar</type> |
||
176 | <scope>compile</scope> |
||
177 | </dependency>
|
||
178 | </dependencies>
|
||
179 | 0:53910be9bd5d | hadi | </profile>
|
180 | <profile>
|
||
181 | <id>env-staging-ci</id> |
||
182 | <activation>
|
||
183 | <property>
|
||
184 | <name>env</name> |
||
185 | <value>staging-ci</value> |
||
186 | </property>
|
||
187 | </activation>
|
||
188 | <properties>
|
||
189 | <config.postfix>.staging-ci</config.postfix> |
||
190 | </properties>
|
||
191 | <build>
|
||
192 | <plugins>
|
||
193 | 53:ea0221651efe | hadi | <!--
|
194 | <plugin>
|
||
195 | 0:53910be9bd5d | hadi | <groupId>org.mortbay.jetty</groupId>
|
196 | <artifactId>maven-jetty-plugin</artifactId>
|
||
197 | <configuration>
|
||
198 | <webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory>
|
||
199 | <classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory>
|
||
200 | </configuration>
|
||
201 | <executions>
|
||
202 | <execution>
|
||
203 | <id>start-jetty</id>
|
||
204 | <phase>pre-integration-test</phase>
|
||
205 | <goals>
|
||
206 | <goal>run</goal>
|
||
207 | </goals>
|
||
208 | <configuration>
|
||
209 | <scanIntervalSeconds>0</scanIntervalSeconds>
|
||
210 | <daemon>true</daemon>
|
||
211 | </configuration>
|
||
212 | </execution>
|
||
213 | <execution>
|
||
214 | <id>stop-jetty</id>
|
||
215 | <phase>post-integration-test</phase>
|
||
216 | <goals>
|
||
217 | <goal>stop</goal>
|
||
218 | </goals>
|
||
219 | </execution>
|
||
220 | </executions>
|
||
221 | <dependencies>
|
||
222 | <dependency>
|
||
223 | <groupId>net.sourceforge.cobertura</groupId>
|
||
224 | <artifactId>cobertura-runtime</artifactId>
|
||
225 | <version>${cobertura.version}</version>
|
||
226 | 53:ea0221651efe | hadi | <scope>compile</scope>
|
227 | <type>pom</type>
|
||
228 | </dependency>
|
||
229 | </dependencies>
|
||
230 | </plugin>
|
||
231 | -->
|
||
232 | <plugin>
|
||
233 | <groupId>org.glassfish</groupId> |
||
234 | <artifactId>maven-embedded-glassfish-plugin</artifactId> |
||
235 | <configuration>
|
||
236 | <app>${project.build.directory}/${project.artifactId}-${project.version}-${m2u-upass-classifier}.war</app> |
||
237 | </configuration>
|
||
238 | <executions>
|
||
239 | <execution>
|
||
240 | <id>start-glassfish</id> |
||
241 | <phase>pre-integration-test</phase> |
||
242 | <goals>
|
||
243 | <goal>start</goal> |
||
244 | </goals>
|
||
245 | </execution>
|
||
246 | <execution>
|
||
247 | <id>glassfish-deploy</id> |
||
248 | <phase>pre-integration-test</phase> |
||
249 | <goals>
|
||
250 | <goal>deploy</goal> |
||
251 | </goals>
|
||
252 | </execution>
|
||
253 | <execution>
|
||
254 | <id>glassfish-undeploy</id> |
||
255 | <phase>post-integration-test</phase> |
||
256 | <goals>
|
||
257 | <goal>undeploy</goal> |
||
258 | </goals>
|
||
259 | </execution>
|
||
260 | <execution>
|
||
261 | <id>stop-glassfish</id> |
||
262 | <phase>post-integration-test</phase> |
||
263 | <goals>
|
||
264 | <goal>stop</goal> |
||
265 | </goals>
|
||
266 | </execution>
|
||
267 | </executions>
|
||
268 | <dependencies>
|
||
269 | <dependency>
|
||
270 | <groupId>net.sourceforge.cobertura</groupId> |
||
271 | <artifactId>cobertura-runtime</artifactId> |
||
272 | <version>${cobertura.version}</version> |
||
273 | 0:53910be9bd5d | hadi | <!-- <scope>provided</scope> -->
|
274 | <scope>compile</scope> |
||
275 | <type>pom</type> |
||
276 | </dependency>
|
||
277 | </dependencies>
|
||
278 | </plugin>
|
||
279 | <plugin>
|
||
280 | <artifactId>maven-surefire-plugin</artifactId> |
||
281 | <configuration>
|
||
282 | <classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory> |
||
283 | <forkMode>none</forkMode> |
||
284 | </configuration>
|
||
285 | </plugin>
|
||
286 | <plugin>
|
||
287 | <groupId>eviware</groupId> |
||
288 | <artifactId>maven-soapui-plugin</artifactId> |
||
289 | <version>4.5.1</version> |
||
290 | <executions>
|
||
291 | <execution>
|
||
292 | <id>UPassWsTests</id> |
||
293 | <goals>
|
||
294 | <goal>test</goal> |
||
295 | </goals>
|
||
296 | <phase>integration-test</phase> |
||
297 | 59:aec66d83d091 | hadi | <configuration>
|
298 | <projectFile>${basedir}/test/soap-ui/UPass-soapui-project.xml</projectFile> |
||
299 | <projectProperties>
|
||
300 | <projectProperty>invokerUsername=UpassAdmin</projectProperty> |
||
301 | <projectProperty>invokerPassword=password</projectProperty> |
||
302 | </projectProperties>
|
||
303 | </configuration>
|
||
304 | </execution>
|
||
305 | <execution>
|
||
306 | <id>MaybankFacadeTests</id> |
||
307 | <goals>
|
||
308 | <goal>test</goal> |
||
309 | </goals>
|
||
310 | <phase>integration-test</phase> |
||
311 | <configuration>
|
||
312 | <projectFile>${basedir}/test/soap-ui/MaybankFacade-soapui-project.xml</projectFile> |
||
313 | </configuration>
|
||
314 | 0:53910be9bd5d | hadi | </execution>
|
315 | </executions>
|
||
316 | <configuration>
|
||
317 | <host>localhost</host> |
||
318 | <!-- <port>8080</port> -->
|
||
319 | <port>9090</port> |
||
320 | <outputFolder>${project.build.directory}/surefire-reports</outputFolder> |
||
321 | <junitReport>true</junitReport> |
||
322 | <printReport>false</printReport> |
||
323 | </configuration>
|
||
324 | </plugin>
|
||
325 | </plugins>
|
||
326 | </build>
|
||
327 | 62:82ddd2d32001 | hadi | <dependencies>
|
328 | <dependency>
|
||
329 | <groupId>axis</groupId> |
||
330 | <artifactId>axis</artifactId> |
||
331 | <version>1.4</version> |
||
332 | <type>jar</type> |
||
333 | <scope>compile</scope> |
||
334 | </dependency>
|
||
335 | </dependencies>
|
||
336 | 0:53910be9bd5d | hadi | </profile>
|
337 | <profile>
|
||
338 | 49:4b668c7b5357 | mohd | <id>env-maybank-dev</id> |
339 | <activation>
|
||
340 | <property>
|
||
341 | <name>env</name> |
||
342 | <value>maybank-dev</value> |
||
343 | </property>
|
||
344 | </activation>
|
||
345 | <properties>
|
||
346 | <config.postfix>.maybank-dev</config.postfix> |
||
347 | </properties>
|
||
348 | 62:82ddd2d32001 | hadi | <dependencies>
|
349 | <dependency>
|
||
350 | <groupId>axis</groupId> |
||
351 | <artifactId>axis</artifactId> |
||
352 | <version>1.4</version> |
||
353 | <type>jar</type> |
||
354 | <scope>compile</scope> |
||
355 | <exclusions>
|
||
356 | <exclusion>
|
||
357 | <artifactId>axis-jaxrpc</artifactId> |
||
358 | <groupId>org.apache.axis</groupId> |
||
359 | </exclusion>
|
||
360 | <exclusion>
|
||
361 | <artifactId>axis-saaj</artifactId> |
||
362 | <groupId>org.apache.axis</groupId> |
||
363 | </exclusion>
|
||
364 | </exclusions>
|
||
365 | </dependency>
|
||
366 | </dependencies>
|
||
367 | 49:4b668c7b5357 | mohd | </profile>
|
368 | <profile>
|
||
369 | 0:53910be9bd5d | hadi | <id>cobertura-instrument</id> |
370 | <activation>
|
||
371 | <property>
|
||
372 | <name>cobertura-build</name> |
||
373 | </property>
|
||
374 | </activation>
|
||
375 | 41:82f9226695ca | hadi | <properties>
|
376 | <m2u-upass-classifier>instrumented</m2u-upass-classifier> |
||
377 | </properties>
|
||
378 | 0:53910be9bd5d | hadi | <distributionManagement>
|
379 | <snapshotRepository>
|
||
380 | <id>penril.nexus.repo.coverage</id> |
||
381 | <name>Penril Nexus Repo Coverage</name> |
||
382 | <url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots-coverage</url> |
||
383 | </snapshotRepository>
|
||
384 | </distributionManagement>
|
||
385 | <build>
|
||
386 | <plugins>
|
||
387 | <plugin>
|
||
388 | 41:82f9226695ca | hadi | <artifactId>maven-war-plugin</artifactId> |
389 | <configuration>
|
||
390 | <classifier>${m2u-upass-classifier}</classifier> |
||
391 | <packagingExcludes>WEB-INF/lib/m2u-upass-*SNAPSHOT.jar</packagingExcludes> |
||
392 | </configuration>
|
||
393 | </plugin>
|
||
394 | <plugin>
|
||
395 | 0:53910be9bd5d | hadi | <groupId>org.codehaus.mojo</groupId> |
396 | <artifactId>cobertura-maven-plugin</artifactId> |
||
397 | <configuration>
|
||
398 | <formats>
|
||
399 | <format>html</format> |
||
400 | <format>xml</format> |
||
401 | </formats>
|
||
402 | |||
403 | <!-- TODO: To be configured... -->
|
||
404 | <instrumentation>
|
||
405 | <ignores>
|
||
406 | <ignore>com.example.boringcode.*</ignore> |
||
407 | </ignores>
|
||
408 | <excludes>
|
||
409 | <exclude>com/example/dullcode/**/*.class</exclude> |
||
410 | <exclude>com/example/**/*Test.class</exclude> |
||
411 | </excludes>
|
||
412 | </instrumentation>
|
||
413 | |||
414 | <!-- TODO: To be configured... -->
|
||
415 | <check>
|
||
416 | <branchRate>85</branchRate> |
||
417 | <lineRate>85</lineRate> |
||
418 | <haltOnFailure>true</haltOnFailure> |
||
419 | <totalBranchRate>85</totalBranchRate> |
||
420 | <totalLineRate>85</totalLineRate> |
||
421 | <packageLineRate>85</packageLineRate> |
||
422 | <packageBranchRate>85</packageBranchRate> |
||
423 | <regexes>
|
||
424 | <regex>
|
||
425 | <pattern>com.example.reallyimportant.*</pattern> |
||
426 | <branchRate>90</branchRate> |
||
427 | <lineRate>80</lineRate> |
||
428 | </regex>
|
||
429 | <regex>
|
||
430 | <pattern>com.example.boringcode.*</pattern> |
||
431 | <branchRate>40</branchRate> |
||
432 | <lineRate>30</lineRate> |
||
433 | </regex>
|
||
434 | </regexes>
|
||
435 | </check>
|
||
436 | </configuration>
|
||
437 | <executions>
|
||
438 | <execution>
|
||
439 | <id>instrument-code</id> |
||
440 | <phase>process-classes</phase> |
||
441 | <goals>
|
||
442 | <goal>instrument</goal> |
||
443 | </goals>
|
||
444 | <configuration>
|
||
445 | <attach>true</attach> |
||
446 | </configuration>
|
||
447 | </execution>
|
||
448 | </executions>
|
||
449 | </plugin>
|
||
450 | <plugin>
|
||
451 | <artifactId>maven-source-plugin</artifactId> |
||
452 | <executions>
|
||
453 | <execution>
|
||
454 | <id>attach-sources</id> |
||
455 | <goals>
|
||
456 | <goal>jar</goal> |
||
457 | </goals>
|
||
458 | </execution>
|
||
459 | </executions>
|
||
460 | <inherited>true</inherited> |
||
461 | </plugin>
|
||
462 | </plugins>
|
||
463 | </build>
|
||
464 | <dependencies>
|
||
465 | <dependency>
|
||
466 | <groupId>net.sourceforge.cobertura</groupId> |
||
467 | <artifactId>cobertura-runtime</artifactId> |
||
468 | <version>${cobertura.version}</version> |
||
469 | <!-- <scope>provided</scope> -->
|
||
470 | <scope>compile</scope> |
||
471 | <type>pom</type> |
||
472 | </dependency>
|
||
473 | </dependencies>
|
||
474 | </profile>
|
||
475 | <profile>
|
||
476 | <id>custom-war-deploy</id> |
||
477 | <activation>
|
||
478 | <property>
|
||
479 | <name>custom-war-deploy</name> |
||
480 | </property>
|
||
481 | </activation>
|
||
482 | <build>
|
||
483 | <plugins>
|
||
484 | <plugin>
|
||
485 | <artifactId>maven-antrun-plugin</artifactId> |
||
486 | <executions>
|
||
487 | <execution>
|
||
488 | <id>tomcat-deployment</id> |
||
489 | <phase>install</phase> |
||
490 | <configuration>
|
||
491 | <target>
|
||
492 | <!-- <echo>Shutting down the Tomcat</echo> <exec dir="${tomcat.home}/bin"
|
||
493 | executable="${tomcat.home}/bin/shutdown.sh" /> -->
|
||
494 | 53:ea0221651efe | hadi | <copy file="${basedir}/target/${project.artifactId}-${project.version}.war" tofile="${tomcat.home}/webapps/${project.artifactId}.war" |
495 | 0:53910be9bd5d | hadi | overwrite="true" /> |
496 | <!-- <echo>Starting up the Tomcat</echo> <exec dir="${tomcat.home}/bin"
|
||
497 | executable="${tomcat.home}/bin/startup.sh" /> -->
|
||
498 | </target>
|
||
499 | </configuration>
|
||
500 | <goals>
|
||
501 | <goal>run</goal> |
||
502 | </goals>
|
||
503 | </execution>
|
||
504 | </executions>
|
||
505 | </plugin>
|
||
506 | </plugins>
|
||
507 | </build>
|
||
508 | </profile>
|
||
509 | <profile>
|
||
510 | <id>load-test</id> |
||
511 | <build>
|
||
512 | <plugins>
|
||
513 | <plugin>
|
||
514 | <groupId>org.mortbay.jetty</groupId> |
||
515 | <artifactId>maven-jetty-plugin</artifactId> |
||
516 | <configuration>
|
||
517 | <webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory> |
||
518 | <classesDirectory>${project.build.directory}/classes</classesDirectory> |
||
519 | <daemon>true</daemon> |
||
520 | </configuration>
|
||
521 | </plugin>
|
||
522 | <plugin>
|
||
523 | <artifactId>maven-antrun-plugin</artifactId> |
||
524 | <executions>
|
||
525 | <execution>
|
||
526 | <phase>process-resources</phase> |
||
527 | <configuration>
|
||
528 | <target>
|
||
529 | <echo message="Creating a directory required by our JMeter test plan." /> |
||
530 | 26:d47f87ecfdb6 | hadi | <mkdir dir="${basedir}/target/jmeter/responses/add" /> |
531 | <mkdir dir="${basedir}/target/jmeter/responses/auth" /> |
||
532 | 0:53910be9bd5d | hadi | </target>
|
533 | </configuration>
|
||
534 | <goals>
|
||
535 | <goal>run</goal> |
||
536 | </goals>
|
||
537 | </execution>
|
||
538 | </executions>
|
||
539 | 38:346f2a2fb939 | hadi | </plugin>
|
540 | 0:53910be9bd5d | hadi | <plugin>
|
541 | <groupId>org.codehaus.mojo</groupId> |
||
542 | <artifactId>exec-maven-plugin</artifactId> |
||
543 | <configuration>
|
||
544 | <executable>${JMETER_HOME}/bin/jmeter.sh</executable> |
||
545 | <arguments>
|
||
546 | <argument>-n</argument> |
||
547 | <argument>-t</argument> |
||
548 | <argument>${basedir}/test/jmeter/UPass-test-plan.jmx</argument> |
||
549 | <argument>-l</argument> |
||
550 | <argument>${project.build.directory}/jmeter/result.jtl</argument> |
||
551 | <argument>-J</argument> |
||
552 | <argument>jmeter.save.saveservice.output_format=xml</argument> |
||
553 | 18:4ebe1871686b | hadi | <argument>-J</argument> |
554 | <argument>jmeter.save.saveservice.thread_counts=true</argument> |
||
555 | 0:53910be9bd5d | hadi | <argument>-j</argument> |
556 | <argument>${project.build.directory}/jmeter/jmeter.log</argument> |
||
557 | </arguments>
|
||
558 | </configuration>
|
||
559 | </plugin>
|
||
560 | </plugins>
|
||
561 | </build>
|
||
562 | 62:82ddd2d32001 | hadi | <dependencies>
|
563 | <dependency>
|
||
564 | <groupId>axis</groupId> |
||
565 | <artifactId>axis</artifactId> |
||
566 | <version>1.4</version> |
||
567 | <type>jar</type> |
||
568 | <scope>compile</scope> |
||
569 | </dependency>
|
||
570 | </dependencies>
|
||
571 | 0:53910be9bd5d | hadi | </profile>
|
572 | 61:d98a1f2ddb58 | hadi | <profile>
|
573 | <id>wstools</id> |
||
574 | <build>
|
||
575 | <plugins>
|
||
576 | <plugin>
|
||
577 | <groupId>org.apache.maven.plugins</groupId> |
||
578 | <artifactId>maven-antrun-plugin</artifactId> |
||
579 | <executions>
|
||
580 | <execution>
|
||
581 | <phase>generate-resources</phase> |
||
582 | <configuration>
|
||
583 | <target>
|
||
584 | <mkdir dir="${project.build.directory}/wsdl" /> |
||
585 | <property name="compile_classpath" refid="maven.compile.classpath" /> |
||
586 | <taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen" /> |
||
587 | <wsgen sei="my.com.upass.maybank.MaybankFacadeImpl" classpath="${compile_classpath}" genWsdl="true" |
||
588 | encoding="UTF-8" keep="false" verbose="true" inlineSchemas="false" resourcedestdir="${project.build.directory}/wsdl" |
||
589 | xendorsed="true" /> |
||
590 | <replace file="${project.build.directory}/wsdl/MaybankFacade.wsdl" token="REPLACE_WITH_ACTUAL_URL" |
||
591 | value="http://dummy.endpoint.url" /> |
||
592 | </target>
|
||
593 | </configuration>
|
||
594 | <goals>
|
||
595 | <goal>run</goal> |
||
596 | </goals>
|
||
597 | </execution>
|
||
598 | </executions>
|
||
599 | <dependencies>
|
||
600 | <dependency>
|
||
601 | <groupId>com.sun.xml.ws</groupId> |
||
602 | <artifactId>jaxws-tools</artifactId> |
||
603 | <version>2.2.6</version> |
||
604 | </dependency>
|
||
605 | </dependencies>
|
||
606 | </plugin>
|
||
607 | </plugins>
|
||
608 | </build>
|
||
609 | </profile>
|
||
610 | 0:53910be9bd5d | hadi | </profiles>
|
611 | <dependencies>
|
||
612 | <dependency>
|
||
613 | <groupId>junit</groupId> |
||
614 | <artifactId>junit</artifactId> |
||
615 | <version>3.8.1</version> |
||
616 | <scope>test</scope> |
||
617 | </dependency>
|
||
618 | <dependency>
|
||
619 | <groupId>net.penril</groupId> |
||
620 | 4:6929b881e172 | hadi | <artifactId>m2u-upass-core</artifactId> |
621 | 0:53910be9bd5d | hadi | <version>2.0-SNAPSHOT</version> |
622 | 41:82f9226695ca | hadi | <classifier>${m2u-upass-classifier}</classifier> |
623 | <exclusions>
|
||
624 | <exclusion>
|
||
625 | <groupId>net.penril</groupId> |
||
626 | <artifactId>m2u-upass-min</artifactId> |
||
627 | </exclusion>
|
||
628 | </exclusions>
|
||
629 | </dependency>
|
||
630 | <dependency>
|
||
631 | <groupId>net.penril</groupId> |
||
632 | <artifactId>m2u-upass-min</artifactId> |
||
633 | <version>2.0-SNAPSHOT</version> |
||
634 | <classifier>${m2u-upass-classifier}</classifier> |
||
635 | 0:53910be9bd5d | hadi | </dependency>
|
636 | <dependency>
|
||
637 | <groupId>commons-discovery</groupId> |
||
638 | <artifactId>commons-discovery</artifactId> |
||
639 | <version>0.2</version> |
||
640 | <type>jar</type> |
||
641 | <scope>compile</scope> |
||
642 | </dependency>
|
||
643 | <dependency>
|
||
644 | <groupId>commons-logging</groupId> |
||
645 | <artifactId>commons-logging</artifactId> |
||
646 | <version>1.1.1</version> |
||
647 | <type>jar</type> |
||
648 | <scope>compile</scope> |
||
649 | </dependency>
|
||
650 | <dependency>
|
||
651 | <groupId>wsdl4j</groupId> |
||
652 | <artifactId>wsdl4j</artifactId> |
||
653 | <version>1.6.2</version> |
||
654 | <type>jar</type> |
||
655 | <scope>compile</scope> |
||
656 | </dependency>
|
||
657 | <dependency>
|
||
658 | <groupId>commons-io</groupId> |
||
659 | <artifactId>commons-io</artifactId> |
||
660 | <version>1.4</version> |
||
661 | </dependency>
|
||
662 | <dependency>
|
||
663 | <groupId>net.sourceforge.cobertura</groupId> |
||
664 | <artifactId>cobertura-runtime</artifactId> |
||
665 | <version>${cobertura.version}</version> |
||
666 | <!-- <scope>provided</scope> -->
|
||
667 | <scope>test</scope> |
||
668 | <type>pom</type> |
||
669 | </dependency>
|
||
670 | </dependencies>
|
||
671 | </project> |