m2u-upass-ws / pom.xml @ 111:ad31a1303f10
History | View | Annotate | Download (28.6 KB)
1 | 104:1ae0392e1378 | hadi | <?xml version="1.0"?>
|
---|---|---|---|
2 | 0:53910be9bd5d | hadi | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||
4 | |||
5 | <modelVersion>4.0.0</modelVersion> |
||
6 | |||
7 | <groupId>net.penril</groupId> |
||
8 | 1:de3237f0578f | hadi | <artifactId>m2u-upass-ws</artifactId> |
9 | 0:53910be9bd5d | hadi | <version>2.0-SNAPSHOT</version> |
10 | <packaging>war</packaging> |
||
11 | 1:de3237f0578f | hadi | <name>M2U UPass Web Services</name> |
12 | 0:53910be9bd5d | hadi | <properties>
|
13 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||
14 | <cobertura.version>1.9.4.1</cobertura.version> |
||
15 | <config.postfix /> |
||
16 | <tomcat.home>/var/lib/jenkins/apache-tomcat-5.5.33</tomcat.home> |
||
17 | 41:82f9226695ca | hadi | <m2u-upass-classifier></m2u-upass-classifier> |
18 | 0:53910be9bd5d | hadi | </properties>
|
19 | <pluginRepositories>
|
||
20 | <pluginRepository>
|
||
21 | <id>eviwarePluginRepository</id> |
||
22 | <url>http://www.eviware.com/repository/maven2/</url> |
||
23 | </pluginRepository>
|
||
24 | </pluginRepositories>
|
||
25 | 42:bc281010aa2b | hadi | <distributionManagement>
|
26 | <snapshotRepository>
|
||
27 | <id>penril.nexus.repo</id> |
||
28 | <name>Penril Nexus Repo</name> |
||
29 | <url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots</url> |
||
30 | 43:8cf1379b4214 | hadi | <uniqueVersion>false</uniqueVersion> |
31 | 42:bc281010aa2b | hadi | </snapshotRepository>
|
32 | </distributionManagement>
|
||
33 | 0:53910be9bd5d | hadi | <build>
|
34 | <pluginManagement>
|
||
35 | <plugins>
|
||
36 | <plugin>
|
||
37 | <groupId>org.codehaus.mojo</groupId> |
||
38 | <artifactId>cobertura-maven-plugin</artifactId> |
||
39 | <version>2.5.1</version> |
||
40 | </plugin>
|
||
41 | <plugin>
|
||
42 | <groupId>org.apache.maven.plugins</groupId> |
||
43 | <artifactId>maven-antrun-plugin</artifactId> |
||
44 | <version>1.6</version> |
||
45 | </plugin>
|
||
46 | <plugin>
|
||
47 | <groupId>org.mortbay.jetty</groupId> |
||
48 | <artifactId>maven-jetty-plugin</artifactId> |
||
49 | <version>6.1.16</version> |
||
50 | <configuration>
|
||
51 | <connectors>
|
||
52 | <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> |
||
53 | <port>9090</port> |
||
54 | <maxIdleTime>60000</maxIdleTime> |
||
55 | </connector>
|
||
56 | </connectors>
|
||
57 | <stopPort>9005</stopPort> |
||
58 | <stopKey>STOP</stopKey> |
||
59 | <contextPath>${project.artifactId}</contextPath> |
||
60 | 38:346f2a2fb939 | hadi | <jettyConfig>target/classes/jetty.xml</jettyConfig> |
61 | 0:53910be9bd5d | hadi | </configuration>
|
62 | </plugin>
|
||
63 | 53:ea0221651efe | hadi | <plugin>
|
64 | <groupId>org.glassfish</groupId> |
||
65 | <artifactId>maven-embedded-glassfish-plugin</artifactId> |
||
66 | 55:4d457cd85dc2 | hadi | <version>3.1.1</version> |
67 | 53:ea0221651efe | hadi | <configuration>
|
68 | <goalPrefix>embedded-glassfish</goalPrefix> |
||
69 | <autoDelete>true</autoDelete> |
||
70 | 85:b99ad245c984 | hadi | <ports>
|
71 | <http-listener>9090</http-listener> |
||
72 | <https-listener>9093</https-listener> |
||
73 | </ports>
|
||
74 | 54:3bb2b0f70a0c | hadi | <contextRoot>${project.artifactId}</contextRoot> |
75 | 53:ea0221651efe | hadi | </configuration>
|
76 | </plugin>
|
||
77 | 0:53910be9bd5d | hadi | </plugins>
|
78 | </pluginManagement>
|
||
79 | <sourceDirectory>src</sourceDirectory> |
||
80 | <resources>
|
||
81 | <resource>
|
||
82 | <directory>src</directory> |
||
83 | <excludes>
|
||
84 | <exclude>**/*.java</exclude> |
||
85 | </excludes>
|
||
86 | </resource>
|
||
87 | <resource>
|
||
88 | <directory>resources</directory> |
||
89 | </resource>
|
||
90 | </resources>
|
||
91 | <testSourceDirectory>test/java</testSourceDirectory> |
||
92 | <testResources>
|
||
93 | <testResource>
|
||
94 | <directory>test/resources</directory> |
||
95 | </testResource>
|
||
96 | </testResources>
|
||
97 | <plugins>
|
||
98 | <plugin>
|
||
99 | <groupId>org.apache.maven.plugins</groupId> |
||
100 | <artifactId>maven-war-plugin</artifactId> |
||
101 | <version>2.1.1</version> |
||
102 | <configuration>
|
||
103 | <warSourceDirectory>${basedir}/WebContent</warSourceDirectory> |
||
104 | </configuration>
|
||
105 | </plugin>
|
||
106 | <plugin>
|
||
107 | <groupId>org.apache.maven.plugins</groupId> |
||
108 | <artifactId>maven-compiler-plugin</artifactId> |
||
109 | <version>2.3.2</version> |
||
110 | <configuration>
|
||
111 | 50:0a34b4a7fa41 | hadi | <source>1.6</source> |
112 | <target>1.6</target> |
||
113 | 0:53910be9bd5d | hadi | </configuration>
|
114 | </plugin>
|
||
115 | <plugin>
|
||
116 | <artifactId>maven-failsafe-plugin</artifactId> |
||
117 | <version>2.6</version> |
||
118 | <executions>
|
||
119 | <execution>
|
||
120 | <goals>
|
||
121 | <goal>integration-test</goal> |
||
122 | <goal>verify</goal> |
||
123 | </goals>
|
||
124 | </execution>
|
||
125 | </executions>
|
||
126 | <dependencies>
|
||
127 | <dependency>
|
||
128 | <groupId>net.sourceforge.cobertura</groupId> |
||
129 | <artifactId>cobertura-runtime</artifactId> |
||
130 | <version>${cobertura.version}</version> |
||
131 | <!-- <scope>provided</scope> -->
|
||
132 | <scope>compile</scope> |
||
133 | <type>pom</type> |
||
134 | </dependency>
|
||
135 | </dependencies>
|
||
136 | </plugin>
|
||
137 | </plugins>
|
||
138 | </build>
|
||
139 | <profiles>
|
||
140 | <profile>
|
||
141 | <id>env-staging-ci</id> |
||
142 | <activation>
|
||
143 | <property>
|
||
144 | <name>env</name> |
||
145 | <value>staging-ci</value> |
||
146 | </property>
|
||
147 | </activation>
|
||
148 | <properties>
|
||
149 | <config.postfix>.staging-ci</config.postfix> |
||
150 | </properties>
|
||
151 | 110:479f2fec2270 | hadi | <dependencies>
|
152 | <dependency>
|
||
153 | <groupId>org.hibernate</groupId> |
||
154 | <artifactId>hibernate-core</artifactId> |
||
155 | <version>3.3.1.GA</version> |
||
156 | <type>jar</type> |
||
157 | <scope>compile</scope> |
||
158 | </dependency>
|
||
159 | <dependency>
|
||
160 | <groupId>org.hibernate</groupId> |
||
161 | <artifactId>hibernate-c3p0</artifactId> |
||
162 | <version>3.3.1.GA</version> |
||
163 | </dependency>
|
||
164 | <dependency>
|
||
165 | <groupId>axis</groupId> |
||
166 | <artifactId>axis</artifactId> |
||
167 | <version>1.4</version> |
||
168 | <type>jar</type> |
||
169 | <scope>compile</scope> |
||
170 | </dependency>
|
||
171 | </dependencies>
|
||
172 | 0:53910be9bd5d | hadi | <build>
|
173 | <plugins>
|
||
174 | 83:7924ebcf5539 | hadi | <!--
|
175 | <plugin>
|
||
176 | <groupId>org.mortbay.jetty</groupId>
|
||
177 | <artifactId>maven-jetty-plugin</artifactId>
|
||
178 | <configuration>
|
||
179 | <webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory>
|
||
180 | <classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory>
|
||
181 | </configuration>
|
||
182 | <executions>
|
||
183 | <execution>
|
||
184 | <id>start-jetty</id>
|
||
185 | <phase>pre-integration-test</phase>
|
||
186 | <goals>
|
||
187 | <goal>run</goal>
|
||
188 | </goals>
|
||
189 | <configuration>
|
||
190 | <scanIntervalSeconds>0</scanIntervalSeconds>
|
||
191 | <daemon>true</daemon>
|
||
192 | </configuration>
|
||
193 | </execution>
|
||
194 | <execution>
|
||
195 | <id>stop-jetty</id>
|
||
196 | <phase>post-integration-test</phase>
|
||
197 | <goals>
|
||
198 | <goal>stop</goal>
|
||
199 | </goals>
|
||
200 | </execution>
|
||
201 | </executions>
|
||
202 | <dependencies>
|
||
203 | <dependency>
|
||
204 | <groupId>net.sourceforge.cobertura</groupId>
|
||
205 | <artifactId>cobertura-runtime</artifactId>
|
||
206 | <version>${cobertura.version}</version>
|
||
207 | <scope>compile</scope>
|
||
208 | <type>pom</type>
|
||
209 | </dependency>
|
||
210 | </dependencies>
|
||
211 | </plugin>
|
||
212 | -->
|
||
213 | 53:ea0221651efe | hadi | <plugin>
|
214 | <groupId>org.glassfish</groupId> |
||
215 | <artifactId>maven-embedded-glassfish-plugin</artifactId> |
||
216 | <configuration>
|
||
217 | <app>${project.build.directory}/${project.artifactId}-${project.version}-${m2u-upass-classifier}.war</app> |
||
218 | 83:7924ebcf5539 | hadi | <!-- <app>${project.build.directory}/${project.artifactId}-${project.version}</app> -->
|
219 | 53:ea0221651efe | hadi | </configuration>
|
220 | <executions>
|
||
221 | <execution>
|
||
222 | <id>start-glassfish</id> |
||
223 | <phase>pre-integration-test</phase> |
||
224 | <goals>
|
||
225 | <goal>start</goal> |
||
226 | </goals>
|
||
227 | </execution>
|
||
228 | <execution>
|
||
229 | <id>glassfish-deploy</id> |
||
230 | <phase>pre-integration-test</phase> |
||
231 | <goals>
|
||
232 | <goal>deploy</goal> |
||
233 | </goals>
|
||
234 | </execution>
|
||
235 | 83:7924ebcf5539 | hadi | <!--
|
236 | <execution>
|
||
237 | 53:ea0221651efe | hadi | <id>glassfish-undeploy</id>
|
238 | <phase>post-integration-test</phase>
|
||
239 | <goals>
|
||
240 | <goal>undeploy</goal>
|
||
241 | </goals>
|
||
242 | </execution>
|
||
243 | <execution>
|
||
244 | <id>stop-glassfish</id>
|
||
245 | <phase>post-integration-test</phase>
|
||
246 | <goals>
|
||
247 | <goal>stop</goal>
|
||
248 | </goals>
|
||
249 | </execution>
|
||
250 | 83:7924ebcf5539 | hadi | -->
|
251 | 53:ea0221651efe | hadi | </executions>
|
252 | <dependencies>
|
||
253 | <dependency>
|
||
254 | <groupId>net.sourceforge.cobertura</groupId> |
||
255 | <artifactId>cobertura-runtime</artifactId> |
||
256 | <version>${cobertura.version}</version> |
||
257 | 0:53910be9bd5d | hadi | <!-- <scope>provided</scope> -->
|
258 | <scope>compile</scope> |
||
259 | <type>pom</type> |
||
260 | </dependency>
|
||
261 | </dependencies>
|
||
262 | </plugin>
|
||
263 | <plugin>
|
||
264 | <artifactId>maven-surefire-plugin</artifactId> |
||
265 | <configuration>
|
||
266 | <classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory> |
||
267 | <forkMode>none</forkMode> |
||
268 | </configuration>
|
||
269 | </plugin>
|
||
270 | <plugin>
|
||
271 | <groupId>eviware</groupId> |
||
272 | <artifactId>maven-soapui-plugin</artifactId> |
||
273 | <version>4.5.1</version> |
||
274 | <executions>
|
||
275 | <execution>
|
||
276 | <id>UPassWsTests</id> |
||
277 | <goals>
|
||
278 | <goal>test</goal> |
||
279 | </goals>
|
||
280 | <phase>integration-test</phase> |
||
281 | 59:aec66d83d091 | hadi | <configuration>
|
282 | <projectFile>${basedir}/test/soap-ui/UPass-soapui-project.xml</projectFile> |
||
283 | 77:3e65986f3550 | hadi | <!--
|
284 | 59:aec66d83d091 | hadi | <projectProperties>
|
285 | <projectProperty>invokerUsername=UpassAdmin</projectProperty>
|
||
286 | <projectProperty>invokerPassword=password</projectProperty>
|
||
287 | </projectProperties>
|
||
288 | 77:3e65986f3550 | hadi | -->
|
289 | 83:7924ebcf5539 | hadi | </configuration>
|
290 | 59:aec66d83d091 | hadi | </execution>
|
291 | <execution>
|
||
292 | <id>MaybankFacadeTests</id> |
||
293 | <goals>
|
||
294 | <goal>test</goal> |
||
295 | </goals>
|
||
296 | <phase>integration-test</phase> |
||
297 | <configuration>
|
||
298 | <projectFile>${basedir}/test/soap-ui/MaybankFacade-soapui-project.xml</projectFile> |
||
299 | </configuration>
|
||
300 | 0:53910be9bd5d | hadi | </execution>
|
301 | </executions>
|
||
302 | <configuration>
|
||
303 | <host>localhost</host> |
||
304 | <!-- <port>8080</port> -->
|
||
305 | <port>9090</port> |
||
306 | <outputFolder>${project.build.directory}/surefire-reports</outputFolder> |
||
307 | <junitReport>true</junitReport> |
||
308 | <printReport>false</printReport> |
||
309 | </configuration>
|
||
310 | </plugin>
|
||
311 | </plugins>
|
||
312 | </build>
|
||
313 | </profile>
|
||
314 | <profile>
|
||
315 | 104:1ae0392e1378 | hadi | <id>env-ant</id> |
316 | <activation>
|
||
317 | <property>
|
||
318 | <name>env</name> |
||
319 | </property>
|
||
320 | </activation>
|
||
321 | <build>
|
||
322 | <plugins>
|
||
323 | <plugin>
|
||
324 | <artifactId>maven-antrun-plugin</artifactId> |
||
325 | <executions>
|
||
326 | <execution>
|
||
327 | <id>env-config</id> |
||
328 | <phase>process-resources</phase> |
||
329 | <configuration>
|
||
330 | <target>
|
||
331 | 110:479f2fec2270 | hadi | <delete file="${project.build.outputDirectory}/upassMin.properties" /> |
332 | <copy file="src/main/resources/upassMin${config.postfix}.properties" tofile="${project.build.outputDirectory}/upassMin.properties" /> |
||
333 | |||
334 | <delete>
|
||
335 | <fileset dir="${project.build.outputDirectory}" includes="upassMin.*.properties" /> |
||
336 | </delete>
|
||
337 | <delete file="${project.build.outputDirectory}/hibernate.cfg.xml" /> |
||
338 | <copy file="src/main/resources/hibernate${config.postfix}.cfg.xml" tofile="${project.build.outputDirectory}/hibernate.cfg.xml" /> |
||
339 | |||
340 | <delete>
|
||
341 | <fileset dir="${project.build.outputDirectory}" includes="hibernate.*.cfg.xml" /> |
||
342 | </delete>
|
||
343 | |||
344 | <delete file="${project.build.outputDirectory}/spring-ldap.xml" /> |
||
345 | <copy file="src/main/resources/spring-ldap.xml" tofile="${project.build.outputDirectory}/spring-ldap.xml" /> |
||
346 | <delete>
|
||
347 | <fileset dir="${project.build.outputDirectory}" includes="spring-ldap.*.xml" /> |
||
348 | </delete>
|
||
349 | |||
350 | 104:1ae0392e1378 | hadi | <delete file="${project.build.outputDirectory}/log4j.xml" /> |
351 | <copy file="resources/log4j${config.postfix}.xml" tofile="${project.build.outputDirectory}/log4j.xml" /> |
||
352 | |||
353 | <delete>
|
||
354 | <fileset dir="${project.build.outputDirectory}" includes="log4j.*.xml" /> |
||
355 | </delete>
|
||
356 | </target>
|
||
357 | </configuration>
|
||
358 | <goals>
|
||
359 | <goal>run</goal> |
||
360 | </goals>
|
||
361 | </execution>
|
||
362 | </executions>
|
||
363 | </plugin>
|
||
364 | </plugins>
|
||
365 | </build>
|
||
366 | </profile>
|
||
367 | <profile>
|
||
368 | <id>env-dev-penril</id> |
||
369 | <activation>
|
||
370 | <property>
|
||
371 | <name>env</name> |
||
372 | <value>dev-penril</value> |
||
373 | </property>
|
||
374 | </activation>
|
||
375 | <properties>
|
||
376 | <config.postfix>.dev-penril</config.postfix> |
||
377 | </properties>
|
||
378 | 105:f50e2622bf1e | hadi | <dependencies>
|
379 | <dependency>
|
||
380 | 110:479f2fec2270 | hadi | <groupId>org.hibernate</groupId> |
381 | <artifactId>hibernate-core</artifactId> |
||
382 | <version>3.3.1.GA</version> |
||
383 | <type>jar</type> |
||
384 | <scope>compile</scope> |
||
385 | </dependency>
|
||
386 | <dependency>
|
||
387 | 105:f50e2622bf1e | hadi | <groupId>axis</groupId> |
388 | <artifactId>axis</artifactId> |
||
389 | <version>1.4</version> |
||
390 | <type>jar</type> |
||
391 | <scope>compile</scope> |
||
392 | </dependency>
|
||
393 | </dependencies>
|
||
394 | 104:1ae0392e1378 | hadi | </profile>
|
395 | <profile>
|
||
396 | 49:4b668c7b5357 | mohd | <id>env-maybank-dev</id> |
397 | <activation>
|
||
398 | <property>
|
||
399 | <name>env</name> |
||
400 | <value>maybank-dev</value> |
||
401 | </property>
|
||
402 | </activation>
|
||
403 | <properties>
|
||
404 | <config.postfix>.maybank-dev</config.postfix> |
||
405 | </properties>
|
||
406 | 62:82ddd2d32001 | hadi | <dependencies>
|
407 | <dependency>
|
||
408 | 110:479f2fec2270 | hadi | <groupId>org.hibernate</groupId> |
409 | 111:ad31a1303f10 | hadi | <artifactId>hibernate-c3p0</artifactId> |
410 | <version>3.3.1.GA</version> |
||
411 | </dependency>
|
||
412 | </dependencies>
|
||
413 | <build>
|
||
414 | <plugins>
|
||
415 | <plugin>
|
||
416 | <groupId>org.glassfish</groupId> |
||
417 | <artifactId>maven-embedded-glassfish-plugin</artifactId> |
||
418 | <configuration>
|
||
419 | <app>${project.build.directory}/${project.artifactId}-${project.version}.war</app> |
||
420 | </configuration>
|
||
421 | </plugin>
|
||
422 | </plugins>
|
||
423 | </build>
|
||
424 | </profile>
|
||
425 | <profile>
|
||
426 | <id>env-maybank-dev-jndi</id> |
||
427 | <activation>
|
||
428 | <property>
|
||
429 | <name>env</name> |
||
430 | <value>maybank-dev-jndi</value> |
||
431 | </property>
|
||
432 | </activation>
|
||
433 | <properties>
|
||
434 | <config.postfix>.maybank-dev-jndi</config.postfix> |
||
435 | </properties>
|
||
436 | <dependencies>
|
||
437 | <dependency>
|
||
438 | <groupId>org.hibernate</groupId> |
||
439 | 110:479f2fec2270 | hadi | <artifactId>hibernate-core</artifactId> |
440 | <version>3.3.1.GA</version> |
||
441 | 62:82ddd2d32001 | hadi | <type>jar</type> |
442 | <scope>compile</scope> |
||
443 | <exclusions>
|
||
444 | <exclusion>
|
||
445 | 110:479f2fec2270 | hadi | <groupId>xml-apis</groupId> |
446 | <artifactId>xml-apis</artifactId> |
||
447 | 62:82ddd2d32001 | hadi | </exclusion>
|
448 | </exclusions>
|
||
449 | </dependency>
|
||
450 | 110:479f2fec2270 | hadi | <dependency>
|
451 | <groupId>org.hibernate</groupId> |
||
452 | <artifactId>hibernate-c3p0</artifactId> |
||
453 | <version>3.3.1.GA</version> |
||
454 | </dependency>
|
||
455 | 108:e2fa9e416abd | mohd | <dependency>
|
456 | <groupId>axis</groupId> |
||
457 | <artifactId>axis</artifactId> |
||
458 | <version>1.4</version> |
||
459 | <type>jar</type> |
||
460 | <scope>compile</scope> |
||
461 | <exclusions>
|
||
462 | <exclusion>
|
||
463 | <artifactId>axis-jaxrpc</artifactId> |
||
464 | <groupId>org.apache.axis</groupId> |
||
465 | </exclusion>
|
||
466 | <exclusion>
|
||
467 | <artifactId>axis-saaj</artifactId> |
||
468 | <groupId>org.apache.axis</groupId> |
||
469 | </exclusion>
|
||
470 | </exclusions>
|
||
471 | </dependency>
|
||
472 | </dependencies>
|
||
473 | 110:479f2fec2270 | hadi | </profile>
|
474 | <profile>
|
||
475 | <id>env-maybank-prod</id> |
||
476 | <activation>
|
||
477 | <property>
|
||
478 | <name>env</name> |
||
479 | <value>maybank-prod</value> |
||
480 | </property>
|
||
481 | </activation>
|
||
482 | <properties>
|
||
483 | <config.postfix>.maybank-prod</config.postfix> |
||
484 | </properties>
|
||
485 | <dependencies>
|
||
486 | <dependency>
|
||
487 | <groupId>org.hibernate</groupId> |
||
488 | <artifactId>hibernate-core</artifactId> |
||
489 | <version>3.3.1.GA</version> |
||
490 | <type>jar</type> |
||
491 | <scope>compile</scope> |
||
492 | <exclusions>
|
||
493 | <exclusion>
|
||
494 | <groupId>xml-apis</groupId> |
||
495 | <artifactId>xml-apis</artifactId> |
||
496 | </exclusion>
|
||
497 | </exclusions>
|
||
498 | </dependency>
|
||
499 | <dependency>
|
||
500 | <groupId>org.hibernate</groupId> |
||
501 | <artifactId>hibernate-c3p0</artifactId> |
||
502 | <version>3.3.1.GA</version> |
||
503 | </dependency>
|
||
504 | <dependency>
|
||
505 | <groupId>axis</groupId> |
||
506 | <artifactId>axis</artifactId> |
||
507 | <version>1.4</version> |
||
508 | <type>jar</type> |
||
509 | <scope>compile</scope> |
||
510 | <exclusions>
|
||
511 | <exclusion>
|
||
512 | <artifactId>axis-jaxrpc</artifactId> |
||
513 | <groupId>org.apache.axis</groupId> |
||
514 | </exclusion>
|
||
515 | <exclusion>
|
||
516 | <artifactId>axis-saaj</artifactId> |
||
517 | <groupId>org.apache.axis</groupId> |
||
518 | </exclusion>
|
||
519 | </exclusions>
|
||
520 | </dependency>
|
||
521 | </dependencies>
|
||
522 | 111:ad31a1303f10 | hadi | <dependencies>
|
523 | <dependency>
|
||
524 | <groupId>org.hibernate</groupId> |
||
525 | <artifactId>hibernate-core</artifactId> |
||
526 | <version>3.3.1.GA</version> |
||
527 | <type>jar</type> |
||
528 | <scope>compile</scope> |
||
529 | <exclusions>
|
||
530 | <exclusion>
|
||
531 | <groupId>xml-apis</groupId> |
||
532 | <artifactId>xml-apis</artifactId> |
||
533 | </exclusion>
|
||
534 | </exclusions>
|
||
535 | </dependency>
|
||
536 | <dependency>
|
||
537 | <groupId>org.hibernate</groupId> |
||
538 | <artifactId>hibernate-c3p0</artifactId> |
||
539 | <version>3.3.1.GA</version> |
||
540 | </dependency>
|
||
541 | <dependency>
|
||
542 | <groupId>axis</groupId> |
||
543 | <artifactId>axis</artifactId> |
||
544 | <version>1.4</version> |
||
545 | <type>jar</type> |
||
546 | <scope>compile</scope> |
||
547 | <exclusions>
|
||
548 | <exclusion>
|
||
549 | <artifactId>axis-jaxrpc</artifactId> |
||
550 | <groupId>org.apache.axis</groupId> |
||
551 | </exclusion>
|
||
552 | <exclusion>
|
||
553 | <artifactId>axis-saaj</artifactId> |
||
554 | <groupId>org.apache.axis</groupId> |
||
555 | </exclusion>
|
||
556 | </exclusions>
|
||
557 | </dependency>
|
||
558 | </dependencies>
|
||
559 | 110:479f2fec2270 | hadi | </profile>
|
560 | <profile>
|
||
561 | <id>env-maybank-prod-jndi</id> |
||
562 | <activation>
|
||
563 | <property>
|
||
564 | <name>env</name> |
||
565 | <value>maybank-prod-jndi</value> |
||
566 | </property>
|
||
567 | </activation>
|
||
568 | <properties>
|
||
569 | <config.postfix>.maybank-prod-jndi</config.postfix> |
||
570 | </properties>
|
||
571 | <dependencies>
|
||
572 | <dependency>
|
||
573 | <groupId>org.hibernate</groupId> |
||
574 | <artifactId>hibernate-core</artifactId> |
||
575 | <version>3.3.1.GA</version> |
||
576 | <type>jar</type> |
||
577 | <scope>compile</scope> |
||
578 | <exclusions>
|
||
579 | <exclusion>
|
||
580 | <groupId>xml-apis</groupId> |
||
581 | <artifactId>xml-apis</artifactId> |
||
582 | </exclusion>
|
||
583 | </exclusions>
|
||
584 | </dependency>
|
||
585 | </dependencies>
|
||
586 | </profile>
|
||
587 | 49:4b668c7b5357 | mohd | <profile>
|
588 | 0:53910be9bd5d | hadi | <id>cobertura-instrument</id> |
589 | <activation>
|
||
590 | <property>
|
||
591 | <name>cobertura-build</name> |
||
592 | </property>
|
||
593 | </activation>
|
||
594 | 41:82f9226695ca | hadi | <properties>
|
595 | <m2u-upass-classifier>instrumented</m2u-upass-classifier> |
||
596 | </properties>
|
||
597 | 0:53910be9bd5d | hadi | <distributionManagement>
|
598 | <snapshotRepository>
|
||
599 | <id>penril.nexus.repo.coverage</id> |
||
600 | <name>Penril Nexus Repo Coverage</name> |
||
601 | <url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots-coverage</url> |
||
602 | </snapshotRepository>
|
||
603 | </distributionManagement>
|
||
604 | <build>
|
||
605 | <plugins>
|
||
606 | <plugin>
|
||
607 | 41:82f9226695ca | hadi | <artifactId>maven-war-plugin</artifactId> |
608 | <configuration>
|
||
609 | <classifier>${m2u-upass-classifier}</classifier> |
||
610 | <packagingExcludes>WEB-INF/lib/m2u-upass-*SNAPSHOT.jar</packagingExcludes> |
||
611 | </configuration>
|
||
612 | </plugin>
|
||
613 | <plugin>
|
||
614 | 0:53910be9bd5d | hadi | <groupId>org.codehaus.mojo</groupId> |
615 | <artifactId>cobertura-maven-plugin</artifactId> |
||
616 | <configuration>
|
||
617 | <formats>
|
||
618 | <format>html</format> |
||
619 | <format>xml</format> |
||
620 | </formats>
|
||
621 | |||
622 | <!-- TODO: To be configured... -->
|
||
623 | <instrumentation>
|
||
624 | <ignores>
|
||
625 | <ignore>com.example.boringcode.*</ignore> |
||
626 | </ignores>
|
||
627 | <excludes>
|
||
628 | <exclude>com/example/dullcode/**/*.class</exclude> |
||
629 | <exclude>com/example/**/*Test.class</exclude> |
||
630 | </excludes>
|
||
631 | </instrumentation>
|
||
632 | |||
633 | <!-- TODO: To be configured... -->
|
||
634 | <check>
|
||
635 | <branchRate>85</branchRate> |
||
636 | <lineRate>85</lineRate> |
||
637 | <haltOnFailure>true</haltOnFailure> |
||
638 | <totalBranchRate>85</totalBranchRate> |
||
639 | <totalLineRate>85</totalLineRate> |
||
640 | <packageLineRate>85</packageLineRate> |
||
641 | <packageBranchRate>85</packageBranchRate> |
||
642 | <regexes>
|
||
643 | <regex>
|
||
644 | <pattern>com.example.reallyimportant.*</pattern> |
||
645 | <branchRate>90</branchRate> |
||
646 | <lineRate>80</lineRate> |
||
647 | </regex>
|
||
648 | <regex>
|
||
649 | <pattern>com.example.boringcode.*</pattern> |
||
650 | <branchRate>40</branchRate> |
||
651 | <lineRate>30</lineRate> |
||
652 | </regex>
|
||
653 | </regexes>
|
||
654 | </check>
|
||
655 | </configuration>
|
||
656 | <executions>
|
||
657 | <execution>
|
||
658 | <id>instrument-code</id> |
||
659 | <phase>process-classes</phase> |
||
660 | <goals>
|
||
661 | <goal>instrument</goal> |
||
662 | </goals>
|
||
663 | <configuration>
|
||
664 | <attach>true</attach> |
||
665 | </configuration>
|
||
666 | </execution>
|
||
667 | </executions>
|
||
668 | </plugin>
|
||
669 | <plugin>
|
||
670 | <artifactId>maven-source-plugin</artifactId> |
||
671 | <executions>
|
||
672 | <execution>
|
||
673 | <id>attach-sources</id> |
||
674 | <goals>
|
||
675 | <goal>jar</goal> |
||
676 | </goals>
|
||
677 | </execution>
|
||
678 | </executions>
|
||
679 | <inherited>true</inherited> |
||
680 | </plugin>
|
||
681 | </plugins>
|
||
682 | </build>
|
||
683 | <dependencies>
|
||
684 | <dependency>
|
||
685 | <groupId>net.sourceforge.cobertura</groupId> |
||
686 | <artifactId>cobertura-runtime</artifactId> |
||
687 | <version>${cobertura.version}</version> |
||
688 | <!-- <scope>provided</scope> -->
|
||
689 | <scope>compile</scope> |
||
690 | <type>pom</type> |
||
691 | </dependency>
|
||
692 | </dependencies>
|
||
693 | </profile>
|
||
694 | <profile>
|
||
695 | <id>custom-war-deploy</id> |
||
696 | <activation>
|
||
697 | <property>
|
||
698 | <name>custom-war-deploy</name> |
||
699 | </property>
|
||
700 | </activation>
|
||
701 | <build>
|
||
702 | <plugins>
|
||
703 | <plugin>
|
||
704 | <artifactId>maven-antrun-plugin</artifactId> |
||
705 | <executions>
|
||
706 | <execution>
|
||
707 | <id>tomcat-deployment</id> |
||
708 | <phase>install</phase> |
||
709 | <configuration>
|
||
710 | <target>
|
||
711 | <!-- <echo>Shutting down the Tomcat</echo> <exec dir="${tomcat.home}/bin"
|
||
712 | executable="${tomcat.home}/bin/shutdown.sh" /> -->
|
||
713 | 83:7924ebcf5539 | hadi | <copy file="${basedir}/target/${project.artifactId}-${project.version}.war" tofile="${tomcat.home}/webapps/${project.artifactId}.war" |
714 | 0:53910be9bd5d | hadi | overwrite="true" /> |
715 | <!-- <echo>Starting up the Tomcat</echo> <exec dir="${tomcat.home}/bin"
|
||
716 | executable="${tomcat.home}/bin/startup.sh" /> -->
|
||
717 | </target>
|
||
718 | </configuration>
|
||
719 | <goals>
|
||
720 | <goal>run</goal> |
||
721 | </goals>
|
||
722 | </execution>
|
||
723 | </executions>
|
||
724 | </plugin>
|
||
725 | </plugins>
|
||
726 | </build>
|
||
727 | </profile>
|
||
728 | <profile>
|
||
729 | <id>load-test</id> |
||
730 | <build>
|
||
731 | <plugins>
|
||
732 | <plugin>
|
||
733 | <groupId>org.mortbay.jetty</groupId> |
||
734 | <artifactId>maven-jetty-plugin</artifactId> |
||
735 | <configuration>
|
||
736 | <webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory> |
||
737 | <classesDirectory>${project.build.directory}/classes</classesDirectory> |
||
738 | <daemon>true</daemon> |
||
739 | </configuration>
|
||
740 | </plugin>
|
||
741 | <plugin>
|
||
742 | 67:19444c2942ad | mohd | <groupId>org.glassfish</groupId> |
743 | <artifactId>maven-embedded-glassfish-plugin</artifactId> |
||
744 | <configuration>
|
||
745 | <app>${project.build.directory}/${project.artifactId}-${project.version}-${m2u-upass-classifier}.war</app> |
||
746 | </configuration>
|
||
747 | <executions>
|
||
748 | <execution>
|
||
749 | <id>start-glassfish</id> |
||
750 | <phase>pre-integration-test</phase> |
||
751 | <goals>
|
||
752 | <goal>start</goal> |
||
753 | </goals>
|
||
754 | </execution>
|
||
755 | <execution>
|
||
756 | <id>glassfish-deploy</id> |
||
757 | <phase>pre-integration-test</phase> |
||
758 | <goals>
|
||
759 | <goal>deploy</goal> |
||
760 | </goals>
|
||
761 | </execution>
|
||
762 | <execution>
|
||
763 | <id>glassfish-undeploy</id> |
||
764 | <phase>post-integration-test</phase> |
||
765 | <goals>
|
||
766 | <goal>undeploy</goal> |
||
767 | </goals>
|
||
768 | </execution>
|
||
769 | <execution>
|
||
770 | <id>stop-glassfish</id> |
||
771 | <phase>post-integration-test</phase> |
||
772 | <goals>
|
||
773 | <goal>stop</goal> |
||
774 | </goals>
|
||
775 | </execution>
|
||
776 | </executions>
|
||
777 | <dependencies>
|
||
778 | <dependency>
|
||
779 | <groupId>net.sourceforge.cobertura</groupId> |
||
780 | <artifactId>cobertura-runtime</artifactId> |
||
781 | <version>${cobertura.version}</version> |
||
782 | <!-- <scope>provided</scope> -->
|
||
783 | <scope>compile</scope> |
||
784 | <type>pom</type> |
||
785 | </dependency>
|
||
786 | </dependencies>
|
||
787 | </plugin>
|
||
788 | <plugin>
|
||
789 | 0:53910be9bd5d | hadi | <artifactId>maven-antrun-plugin</artifactId> |
790 | <executions>
|
||
791 | <execution>
|
||
792 | <phase>process-resources</phase> |
||
793 | <configuration>
|
||
794 | <target>
|
||
795 | <echo message="Creating a directory required by our JMeter test plan." /> |
||
796 | 26:d47f87ecfdb6 | hadi | <mkdir dir="${basedir}/target/jmeter/responses/add" /> |
797 | <mkdir dir="${basedir}/target/jmeter/responses/auth" /> |
||
798 | 0:53910be9bd5d | hadi | </target>
|
799 | </configuration>
|
||
800 | <goals>
|
||
801 | <goal>run</goal> |
||
802 | </goals>
|
||
803 | </execution>
|
||
804 | </executions>
|
||
805 | 38:346f2a2fb939 | hadi | </plugin>
|
806 | 0:53910be9bd5d | hadi | <plugin>
|
807 | <groupId>org.codehaus.mojo</groupId> |
||
808 | <artifactId>exec-maven-plugin</artifactId> |
||
809 | 67:19444c2942ad | mohd | <executions>
|
810 | <execution>
|
||
811 | <id>upass-load-test</id> |
||
812 | <phase>integration-test</phase> |
||
813 | <goals>
|
||
814 | <goal>exec</goal> |
||
815 | </goals>
|
||
816 | <configuration>
|
||
817 | <executable>${JMETER_HOME}/bin/jmeter.sh</executable> |
||
818 | <arguments>
|
||
819 | <argument>-n</argument> |
||
820 | <argument>-t</argument> |
||
821 | <argument>${basedir}/test/jmeter/UPass-test-plan.jmx</argument> |
||
822 | <argument>-l</argument> |
||
823 | <argument>${project.build.directory}/jmeter/result.jtl</argument> |
||
824 | <argument>-J</argument> |
||
825 | <argument>jmeter.save.saveservice.output_format=xml</argument> |
||
826 | <argument>-J</argument> |
||
827 | <argument>jmeter.save.saveservice.thread_counts=true</argument> |
||
828 | <argument>-j</argument> |
||
829 | <argument>${project.build.directory}/jmeter/jmeter.log</argument> |
||
830 | </arguments>
|
||
831 | </configuration>
|
||
832 | </execution>
|
||
833 | <execution>
|
||
834 | <id>maybank-load-test</id> |
||
835 | <phase>integration-test</phase> |
||
836 | <goals>
|
||
837 | <goal>exec</goal> |
||
838 | </goals>
|
||
839 | <configuration>
|
||
840 | <executable>${JMETER_HOME}/bin/jmeter.sh</executable> |
||
841 | <arguments>
|
||
842 | <argument>-n</argument> |
||
843 | <argument>-t</argument> |
||
844 | <argument>${basedir}/test/jmeter/Maybank-facade-test-plan.jmx</argument> |
||
845 | <argument>-l</argument> |
||
846 | <argument>${project.build.directory}/jmeter/resultMaybank.jtl</argument> |
||
847 | <argument>-J</argument> |
||
848 | <argument>jmeter.save.saveservice.output_format=xml</argument> |
||
849 | <argument>-J</argument> |
||
850 | <argument>jmeter.save.saveservice.thread_counts=true</argument> |
||
851 | <argument>-j</argument> |
||
852 | <argument>${project.build.directory}/jmeter/jmeterMaybank.log</argument> |
||
853 | </arguments>
|
||
854 | </configuration>
|
||
855 | </execution>
|
||
856 | </executions>
|
||
857 | 0:53910be9bd5d | hadi | </plugin>
|
858 | </plugins>
|
||
859 | </build>
|
||
860 | 62:82ddd2d32001 | hadi | <dependencies>
|
861 | <dependency>
|
||
862 | <groupId>axis</groupId> |
||
863 | <artifactId>axis</artifactId> |
||
864 | <version>1.4</version> |
||
865 | <type>jar</type> |
||
866 | <scope>compile</scope> |
||
867 | </dependency>
|
||
868 | </dependencies>
|
||
869 | 0:53910be9bd5d | hadi | </profile>
|
870 | 61:d98a1f2ddb58 | hadi | <profile>
|
871 | <id>wstools</id> |
||
872 | <build>
|
||
873 | <plugins>
|
||
874 | <plugin>
|
||
875 | <groupId>org.apache.maven.plugins</groupId> |
||
876 | <artifactId>maven-antrun-plugin</artifactId> |
||
877 | <executions>
|
||
878 | <execution>
|
||
879 | <phase>generate-resources</phase> |
||
880 | <configuration>
|
||
881 | <target>
|
||
882 | <mkdir dir="${project.build.directory}/wsdl" /> |
||
883 | <property name="compile_classpath" refid="maven.compile.classpath" /> |
||
884 | <taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen" /> |
||
885 | 83:7924ebcf5539 | hadi | <wsgen sei="my.com.upass.maybank.MaybankFacadeImpl" classpath="${compile_classpath}" genWsdl="true" |
886 | encoding="UTF-8" keep="false" verbose="true" inlineSchemas="false" resourcedestdir="${project.build.directory}/wsdl" |
||
887 | xendorsed="true" /> |
||
888 | <replace file="${project.build.directory}/wsdl/MaybankFacade.wsdl" token="REPLACE_WITH_ACTUAL_URL" |
||
889 | value="http://dummy.endpoint.url" /> |
||
890 | 61:d98a1f2ddb58 | hadi | </target>
|
891 | </configuration>
|
||
892 | <goals>
|
||
893 | <goal>run</goal> |
||
894 | </goals>
|
||
895 | </execution>
|
||
896 | </executions>
|
||
897 | <dependencies>
|
||
898 | <dependency>
|
||
899 | <groupId>com.sun.xml.ws</groupId> |
||
900 | <artifactId>jaxws-tools</artifactId> |
||
901 | <version>2.2.6</version> |
||
902 | </dependency>
|
||
903 | </dependencies>
|
||
904 | </plugin>
|
||
905 | </plugins>
|
||
906 | </build>
|
||
907 | </profile>
|
||
908 | 0:53910be9bd5d | hadi | </profiles>
|
909 | <dependencies>
|
||
910 | <dependency>
|
||
911 | <groupId>junit</groupId> |
||
912 | <artifactId>junit</artifactId> |
||
913 | <version>3.8.1</version> |
||
914 | <scope>test</scope> |
||
915 | </dependency>
|
||
916 | <dependency>
|
||
917 | <groupId>net.penril</groupId> |
||
918 | 4:6929b881e172 | hadi | <artifactId>m2u-upass-core</artifactId> |
919 | 0:53910be9bd5d | hadi | <version>2.0-SNAPSHOT</version> |
920 | 41:82f9226695ca | hadi | <classifier>${m2u-upass-classifier}</classifier> |
921 | <exclusions>
|
||
922 | <exclusion>
|
||
923 | <groupId>net.penril</groupId> |
||
924 | <artifactId>m2u-upass-min</artifactId> |
||
925 | </exclusion>
|
||
926 | </exclusions>
|
||
927 | </dependency>
|
||
928 | <dependency>
|
||
929 | <groupId>net.penril</groupId> |
||
930 | <artifactId>m2u-upass-min</artifactId> |
||
931 | <version>2.0-SNAPSHOT</version> |
||
932 | <classifier>${m2u-upass-classifier}</classifier> |
||
933 | 89:93929e2a5d85 | mohd | <exclusions>
|
934 | <exclusion>
|
||
935 | <artifactId>xml-apis</artifactId> |
||
936 | <groupId>xml-apis</groupId> |
||
937 | </exclusion>
|
||
938 | </exclusions>
|
||
939 | 0:53910be9bd5d | hadi | </dependency>
|
940 | <dependency>
|
||
941 | <groupId>commons-discovery</groupId> |
||
942 | <artifactId>commons-discovery</artifactId> |
||
943 | <version>0.2</version> |
||
944 | <type>jar</type> |
||
945 | <scope>compile</scope> |
||
946 | </dependency>
|
||
947 | <dependency>
|
||
948 | <groupId>commons-logging</groupId> |
||
949 | <artifactId>commons-logging</artifactId> |
||
950 | <version>1.1.1</version> |
||
951 | <type>jar</type> |
||
952 | <scope>compile</scope> |
||
953 | </dependency>
|
||
954 | <dependency>
|
||
955 | <groupId>wsdl4j</groupId> |
||
956 | <artifactId>wsdl4j</artifactId> |
||
957 | <version>1.6.2</version> |
||
958 | <type>jar</type> |
||
959 | <scope>compile</scope> |
||
960 | </dependency>
|
||
961 | <dependency>
|
||
962 | <groupId>commons-io</groupId> |
||
963 | <artifactId>commons-io</artifactId> |
||
964 | <version>1.4</version> |
||
965 | </dependency>
|
||
966 | <dependency>
|
||
967 | <groupId>net.sourceforge.cobertura</groupId> |
||
968 | <artifactId>cobertura-runtime</artifactId> |
||
969 | <version>${cobertura.version}</version> |
||
970 | <!-- <scope>provided</scope> -->
|
||
971 | <scope>test</scope> |
||
972 | <type>pom</type> |
||
973 | </dependency>
|
||
974 | 86:31691154086a | mohd | <dependency>
|
975 | <groupId>com.sun.jersey</groupId> |
||
976 | 93:1809b4f5940b | mohd | <artifactId>jersey-core</artifactId> |
977 | 86:31691154086a | mohd | <version>1.8</version> |
978 | 93:1809b4f5940b | mohd | <scope>provided</scope> |
979 | 86:31691154086a | mohd | </dependency>
|
980 | <dependency>
|
||
981 | <groupId>com.sun.jersey</groupId> |
||
982 | <artifactId>jersey-json</artifactId> |
||
983 | <version>1.8</version> |
||
984 | 93:1809b4f5940b | mohd | <scope>provided</scope> |
985 | 86:31691154086a | mohd | </dependency>
|
986 | 107:63dd8c2cdfa8 | hadi | <dependency>
|
987 | <groupId>javax.servlet</groupId> |
||
988 | <artifactId>servlet-api</artifactId> |
||
989 | <version>2.4</version> |
||
990 | <scope>provided</scope> |
||
991 | </dependency>
|
||
992 | <dependency>
|
||
993 | <groupId>javax.annotation</groupId> |
||
994 | <artifactId>jsr250-api</artifactId> |
||
995 | <version>1.0</version> |
||
996 | <scope>provided</scope> |
||
997 | </dependency>
|
||
998 | 0:53910be9bd5d | hadi | </dependencies>
|
999 | </project> |