Statistics
| Branch: | Revision:

m2u-upass-admin / pom.xml @ 141:607d60bbd5ec

History | View | Annotate | Download (23.6 KB)

1 0:ea666cc7880e hadi
<?xml version="1.0"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 119:6973002711ef hadi
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 0:ea666cc7880e hadi
5
        <modelVersion>4.0.0</modelVersion>
6
7
        <groupId>net.penril</groupId>
8
        <artifactId>m2u-upass-admin</artifactId>
9
        <version>2.0-SNAPSHOT</version>
10
        <packaging>war</packaging>
11 120:ae1d99468601 hadi
        <name>M2U UPass Admin</name>
12 0:ea666cc7880e hadi
        <properties>
13
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14
                <cobertura.version>1.9.4.1</cobertura.version>
15 120:ae1d99468601 hadi
                <config.postfix />
16
                <m2u-upass-classifier />
17 0:ea666cc7880e hadi
        </properties>
18
        <reporting>
19
                <plugins>
20
                        <plugin>
21
                                <groupId>org.codehaus.mojo</groupId>
22
                                <artifactId>cobertura-maven-plugin</artifactId>
23
                                <version>2.5.1</version>
24
                        </plugin>
25
                </plugins>
26
        </reporting>
27 120:ae1d99468601 hadi
        <distributionManagement>
28
                <snapshotRepository>
29
                        <id>penril.nexus.repo</id>
30
                        <name>Penril Nexus Repo</name>
31
                        <url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots</url>
32
                        <uniqueVersion>false</uniqueVersion>
33
                </snapshotRepository>
34
        </distributionManagement>
35 0:ea666cc7880e hadi
        <build>
36
                <pluginManagement>
37
                        <plugins>
38
                                <plugin>
39 120:ae1d99468601 hadi
                                        <groupId>org.codehaus.mojo</groupId>
40
                                        <artifactId>cobertura-maven-plugin</artifactId>
41
                                        <version>2.5.1</version>
42
                                </plugin>
43
                                <plugin>
44 0:ea666cc7880e hadi
                                        <groupId>org.apache.maven.plugins</groupId>
45
                                        <artifactId>maven-antrun-plugin</artifactId>
46
                                        <version>1.6</version>
47 119:6973002711ef hadi
                                </plugin>
48 0:ea666cc7880e hadi
                                <plugin>
49 119:6973002711ef hadi
                                        <groupId>org.glassfish</groupId>
50
                                        <artifactId>maven-embedded-glassfish-plugin</artifactId>
51
                                        <version>3.1.1</version>
52
                                        <configuration>
53
                                                <goalPrefix>embedded-glassfish</goalPrefix>
54
                                                <autoDelete>true</autoDelete>
55
                                                <ports>
56
                                                        <http-listener>9100</http-listener>
57
                                                        <https-listener>9103</https-listener>
58
                                                </ports>
59
                                                <contextRoot>${project.artifactId}</contextRoot>
60
                                        </configuration>
61
                                </plugin>
62 120:ae1d99468601 hadi
                                <plugin>
63
                                        <groupId>org.apache.maven.plugins</groupId>
64
                                        <artifactId>maven-compiler-plugin</artifactId>
65
                                        <version>2.3.2</version>
66
                                        <configuration>
67
                                                <source>1.6</source>
68
                                                <target>1.6</target>
69
                                        </configuration>
70
                                </plugin>
71 119:6973002711ef hadi
                        </plugins>
72 0:ea666cc7880e hadi
                </pluginManagement>
73 120:ae1d99468601 hadi
                <sourceDirectory>src</sourceDirectory>
74
                <resources>
75
                        <resource>
76
                                <directory>resource</directory>
77
                        </resource>
78
                </resources>
79
                <testSourceDirectory>test</testSourceDirectory>
80
                <!-- <outputDirectory>${basedir}/WebContent/WEB-INF/classes</outputDirectory> -->
81 0:ea666cc7880e hadi
                <plugins>
82
                        <plugin>
83
                                <groupId>org.apache.maven.plugins</groupId>
84
                                <artifactId>maven-war-plugin</artifactId>
85
                                <version>2.1.1</version>
86
                                <configuration>
87
                                        <warSourceDirectory>${basedir}/WebContent</warSourceDirectory>
88
                                </configuration>
89
                        </plugin>
90 1:5b08c0dcf148 hadi
                        <plugin>
91 120:ae1d99468601 hadi
                                <groupId>org.apache.maven.plugins</groupId>
92
                                <artifactId>maven-compiler-plugin</artifactId>
93
                                <version>2.3.2</version>
94 1:5b08c0dcf148 hadi
                                <configuration>
95 120:ae1d99468601 hadi
                                        <source>1.6</source>
96
                                        <target>1.6</target>
97 1:5b08c0dcf148 hadi
                                </configuration>
98
                        </plugin>
99 120:ae1d99468601 hadi
                        <plugin>
100
                                <artifactId>maven-failsafe-plugin</artifactId>
101
                                <version>2.6</version>
102
                                <executions>
103
                                        <execution>
104
                                                <goals>
105
                                                        <goal>integration-test</goal>
106
                                                        <goal>verify</goal>
107
                                                </goals>
108
                                        </execution>
109
                                </executions>
110
                                <configuration>
111
                                <includes>
112
                                        <include>**/FirstTestWithSeleniumBuilder.java</include>
113
                                        <include>**/AnotherTestWithSeleniumBuilder.java</include>
114
                                </includes>
115
                                </configuration>
116
                                <dependencies>
117
                                        <dependency>
118
                                                <groupId>net.sourceforge.cobertura</groupId>
119
                                                <artifactId>cobertura-runtime</artifactId>
120
                                                <version>${cobertura.version}</version>
121
                                                <!-- <scope>provided</scope> -->
122
                                                <scope>compile</scope>
123
                                                <type>pom</type>
124
                                        </dependency>
125
                                </dependencies>
126
                        </plugin>
127 0:ea666cc7880e hadi
                </plugins>
128
        </build>
129 120:ae1d99468601 hadi
130
131
132 0:ea666cc7880e hadi
        <profiles>
133
                <profile>
134 120:ae1d99468601 hadi
                        <id>env-staging-ci</id>
135 0:ea666cc7880e hadi
                        <activation>
136
                                <property>
137
                                        <name>env</name>
138 120:ae1d99468601 hadi
                                        <value>staging-ci</value>
139 0:ea666cc7880e hadi
                                </property>
140
                        </activation>
141
                        <properties>
142 120:ae1d99468601 hadi
                                <config.postfix>.staging-ci</config.postfix>
143 0:ea666cc7880e hadi
                        </properties>
144 138:c7659b3ef38e hadi
                        <dependencies>
145
                                <dependency>
146
                                        <groupId>org.hibernate</groupId>
147
                                        <artifactId>hibernate-core</artifactId>
148
                                        <version>3.3.1.GA</version>
149
                                        <type>jar</type>
150
                                        <scope>compile</scope>
151
                                </dependency>
152
                                <dependency>
153
                                        <groupId>org.hibernate</groupId>
154
                                        <artifactId>hibernate-c3p0</artifactId>
155
                                        <version>3.3.1.GA</version>
156
                                </dependency>
157
                                <dependency>
158
                                        <groupId>axis</groupId>
159
                                        <artifactId>axis</artifactId>
160
                                        <version>1.4</version>
161
                                        <type>jar</type>
162
                                        <scope>compile</scope>
163
                                </dependency>
164
                        </dependencies>
165 120:ae1d99468601 hadi
                        <build>
166
                                <plugins>
167
                                        <plugin>
168
                                                <groupId>org.glassfish</groupId>
169
                                                <artifactId>maven-embedded-glassfish-plugin</artifactId>
170
                                                <configuration>
171
                                                        <app>${project.build.directory}/${project.artifactId}-${project.version}-${m2u-upass-classifier}.war</app>
172
                                                        <!-- <app>${project.build.directory}/${project.artifactId}-${project.version}</app> -->
173
                                                </configuration>
174
                                                <executions>
175
                                                        <execution>
176
                                                                <id>start-glassfish</id>
177
                                                                <phase>pre-integration-test</phase>
178
                                                                <goals>
179
                                                                        <goal>start</goal>
180
                                                                </goals>
181
                                                        </execution>
182
                                                        <execution>
183
                                                                <id>glassfish-deploy</id>
184
                                                                <phase>pre-integration-test</phase>
185
                                                                <goals>
186
                                                                        <goal>deploy</goal>
187
                                                                </goals>
188
                                                        </execution>
189
                                                </executions>
190
                                                <dependencies>
191
                                                        <dependency>
192
                                                                <groupId>net.sourceforge.cobertura</groupId>
193
                                                                <artifactId>cobertura-runtime</artifactId>
194
                                                                <version>${cobertura.version}</version>
195
                                                                <!-- <scope>provided</scope> -->
196
                                                                <scope>compile</scope>
197
                                                                <type>pom</type>
198
                                                        </dependency>
199
                                                </dependencies>
200
                                        </plugin>
201
                                        <plugin>
202
                                                <artifactId>maven-surefire-plugin</artifactId>
203
                                                <configuration>
204
                                                        <classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory>
205
                                                        <forkMode>none</forkMode>
206
                                                        <skipTests>true</skipTests>
207
                                                </configuration>
208
                                        </plugin>
209
                                </plugins>
210
                        </build>
211 119:6973002711ef hadi
                </profile>
212 0:ea666cc7880e hadi
                <profile>
213 119:6973002711ef hadi
                        <id>env-dev-m2u</id>
214
                        <activation>
215 0:ea666cc7880e hadi
                                <property>
216 119:6973002711ef hadi
                                        <name>env</name>
217
                                        <value>dev-m2u</value>
218 0:ea666cc7880e hadi
                                </property>
219 119:6973002711ef hadi
                        </activation>
220
                        <properties>
221 0:ea666cc7880e hadi
                                <config.postfix>.dev-m2u</config.postfix>
222 119:6973002711ef hadi
                        </properties>
223
                </profile>
224 0:ea666cc7880e hadi
                <profile>
225
                        <id>env-ant</id>
226
                        <activation>
227
                                <property>
228
                                        <name>env</name>
229
                                </property>
230
                        </activation>
231
                        <build>
232
                                <plugins>
233
                                        <plugin>
234
                                                <artifactId>maven-antrun-plugin</artifactId>
235
                                                <executions>
236
                                                        <execution>
237
                                                                <id>env-config</id>
238
                                                                <phase>process-resources</phase>
239
                                                                <configuration>
240 119:6973002711ef hadi
                                                                        <target>
241 138:c7659b3ef38e hadi
                                                                                <delete file="${project.build.outputDirectory}/upassMin.properties" />
242 141:607d60bbd5ec hadi
                                                                                <copy file="resource/upassMin${config.postfix}.properties" tofile="${project.build.outputDirectory}/upassMin.properties" />
243 138:c7659b3ef38e hadi
244
                                                                                <delete>
245
                                                                                        <fileset dir="${project.build.outputDirectory}" includes="upassMin.*.properties" />
246
                                                                                </delete>
247 136:0ec4b0eea084 hadi
                                                                                <delete file="${project.build.outputDirectory}/hibernate.cfg.xml" />
248
                                                                                <copy file="resource/hibernate${config.postfix}.cfg.xml" tofile="${project.build.outputDirectory}/hibernate.cfg.xml" />
249 119:6973002711ef hadi
250
                                                                                <delete>
251 136:0ec4b0eea084 hadi
                                                                                        <fileset dir="${project.build.outputDirectory}" includes="hibernate.*.cfg.xml" />
252 119:6973002711ef hadi
                                                                                </delete>
253
254 0:ea666cc7880e hadi
                                                                                <delete file="${project.build.outputDirectory}/UPassClient.cfg" />
255 119:6973002711ef hadi
                                                                                <copy file="resource/UPassClient${config.postfix}.cfg" tofile="${project.build.outputDirectory}/UPassClient.cfg" />
256
257 0:ea666cc7880e hadi
                                                                                <delete>
258
                                                                                        <fileset dir="${project.build.outputDirectory}" includes="UPassClient.*.cfg" />
259
                                                                                </delete>
260 119:6973002711ef hadi
261 0:ea666cc7880e hadi
                                                                                <delete file="${project.build.outputDirectory}/AppConfig.properties" />
262 119:6973002711ef hadi
                                                                                <copy file="resource/AppConfig${config.postfix}.properties" tofile="${project.build.outputDirectory}/AppConfig.properties" />
263
264 0:ea666cc7880e hadi
                                                                                <delete>
265
                                                                                        <fileset dir="${project.build.outputDirectory}" includes="AppConfig.*.properties" />
266 119:6973002711ef hadi
                                                                                </delete>
267
268 138:c7659b3ef38e hadi
                                                                                <delete file="${project.build.outputDirectory}/spring-ldap.xml" />
269 141:607d60bbd5ec hadi
                                                                                <copy file="resource/spring-ldap${config.postfix}.xml" tofile="${project.build.outputDirectory}/spring-ldap.xml" />
270 138:c7659b3ef38e hadi
                                                                                <delete>
271
                                                                                        <fileset dir="${project.build.outputDirectory}" includes="spring-ldap.*.xml" />
272
                                                                                </delete>
273
274 0:ea666cc7880e hadi
                                                                                <delete file="${project.build.outputDirectory}/log4j.xml" />
275 119:6973002711ef hadi
                                                                                <copy file="resource/log4j${config.postfix}.xml" tofile="${project.build.outputDirectory}/log4j.xml" />
276
277 0:ea666cc7880e hadi
                                                                                <delete>
278
                                                                                        <fileset dir="${project.build.outputDirectory}" includes="log4j.*.xml" />
279 119:6973002711ef hadi
                                                                                </delete>
280
281 0:ea666cc7880e hadi
                                                                        </target>
282
                                                                </configuration>
283
                                                                <goals>
284
                                                                        <goal>run</goal>
285
                                                                </goals>
286
                                                        </execution>
287
                                                </executions>
288
                                        </plugin>
289
                                </plugins>
290
                        </build>
291
                </profile>
292
                <profile>
293 120:ae1d99468601 hadi
                        <id>env-dev-penril</id>
294 119:6973002711ef hadi
                        <activation>
295
                                <property>
296
                                        <name>env</name>
297 120:ae1d99468601 hadi
                                        <value>dev-penril</value>
298 119:6973002711ef hadi
                                </property>
299
                        </activation>
300
                        <properties>
301 120:ae1d99468601 hadi
                                <config.postfix>.dev-penril</config.postfix>
302
                        </properties>
303 138:c7659b3ef38e hadi
                        <dependencies>
304
                                <dependency>
305
                                        <groupId>org.hibernate</groupId>
306
                                        <artifactId>hibernate-core</artifactId>
307
                                        <version>3.3.1.GA</version>
308
                                        <type>jar</type>
309
                                        <scope>compile</scope>
310
                                </dependency>
311
                                <dependency>
312
                                        <groupId>axis</groupId>
313
                                        <artifactId>axis</artifactId>
314
                                        <version>1.4</version>
315
                                        <type>jar</type>
316
                                        <scope>compile</scope>
317
                                </dependency>
318
                        </dependencies>
319 120:ae1d99468601 hadi
                </profile>
320
                <profile>
321
                        <id>env-maybank-dev</id>
322
                        <activation>
323
                                <property>
324
                                        <name>env</name>
325
                                        <value>maybank-dev</value>
326
                                </property>
327
                        </activation>
328
                        <properties>
329
                                <config.postfix>.maybank-dev</config.postfix>
330 119:6973002711ef hadi
                        </properties>
331 138:c7659b3ef38e hadi
                        <dependencies>
332
                                <dependency>
333
                                        <groupId>org.hibernate</groupId>
334
                                        <artifactId>hibernate-core</artifactId>
335
                                        <version>3.3.1.GA</version>
336
                                        <type>jar</type>
337
                                        <scope>compile</scope>
338
                                        <exclusions>
339
                                                <exclusion>
340
                                                        <groupId>xml-apis</groupId>
341
                                                        <artifactId>xml-apis</artifactId>
342
                                                </exclusion>
343
                                        </exclusions>
344
                                </dependency>
345
                                <dependency>
346
                                        <groupId>org.hibernate</groupId>
347
                                        <artifactId>hibernate-c3p0</artifactId>
348
                                        <version>3.3.1.GA</version>
349
                                </dependency>
350
                                <dependency>
351
                                        <groupId>axis</groupId>
352
                                        <artifactId>axis</artifactId>
353
                                        <version>1.4</version>
354
                                        <type>jar</type>
355
                                        <scope>compile</scope>
356
                                        <exclusions>
357
                                                <exclusion>
358
                                                        <artifactId>axis-jaxrpc</artifactId>
359
                                                        <groupId>org.apache.axis</groupId>
360
                                                </exclusion>
361
                                                <exclusion>
362
                                                        <artifactId>axis-saaj</artifactId>
363
                                                        <groupId>org.apache.axis</groupId>
364
                                                </exclusion>
365
                                        </exclusions>
366
                                </dependency>
367
                        </dependencies>
368 119:6973002711ef hadi
                        <build>
369
                                <plugins>
370
                                        <plugin>
371
                                                <groupId>org.glassfish</groupId>
372
                                                <artifactId>maven-embedded-glassfish-plugin</artifactId>
373
                                                <configuration>
374 120:ae1d99468601 hadi
                                                        <app>${project.build.directory}/${project.artifactId}-${project.version}.war</app>
375 119:6973002711ef hadi
                                                </configuration>
376
                                        </plugin>
377
                                </plugins>
378
                        </build>
379
                </profile>
380 132:58f4c4379845 mohd
                <profile>
381
                        <id>env-maybank-prod</id>
382
                        <activation>
383
                                <property>
384
                                        <name>env</name>
385
                                        <value>maybank-prod</value>
386
                                </property>
387
                        </activation>
388
                        <properties>
389
                                <config.postfix>.maybank-prod</config.postfix>
390
                        </properties>
391 138:c7659b3ef38e hadi
                        <dependencies>
392
                                <dependency>
393
                                        <groupId>org.hibernate</groupId>
394
                                        <artifactId>hibernate-core</artifactId>
395
                                        <version>3.3.1.GA</version>
396
                                        <type>jar</type>
397
                                        <scope>compile</scope>
398
                                        <exclusions>
399
                                                <exclusion>
400
                                                        <groupId>xml-apis</groupId>
401
                                                        <artifactId>xml-apis</artifactId>
402
                                                </exclusion>
403
                                        </exclusions>
404
                                </dependency>
405
                                <dependency>
406
                                        <groupId>org.hibernate</groupId>
407
                                        <artifactId>hibernate-c3p0</artifactId>
408
                                        <version>3.3.1.GA</version>
409
                                </dependency>
410
                                <dependency>
411
                                        <groupId>axis</groupId>
412
                                        <artifactId>axis</artifactId>
413
                                        <version>1.4</version>
414
                                        <type>jar</type>
415
                                        <scope>compile</scope>
416
                                        <exclusions>
417
                                                <exclusion>
418
                                                        <artifactId>axis-jaxrpc</artifactId>
419
                                                        <groupId>org.apache.axis</groupId>
420
                                                </exclusion>
421
                                                <exclusion>
422
                                                        <artifactId>axis-saaj</artifactId>
423
                                                        <groupId>org.apache.axis</groupId>
424
                                                </exclusion>
425
                                        </exclusions>
426
                                </dependency>
427
                        </dependencies>
428 132:58f4c4379845 mohd
                        <build>
429
                                <plugins>
430
                                        <plugin>
431
                                                <groupId>org.glassfish</groupId>
432
                                                <artifactId>maven-embedded-glassfish-plugin</artifactId>
433
                                                <configuration>
434
                                                        <app>${project.build.directory}/${project.artifactId}-${project.version}.war</app>
435
                                                </configuration>
436
                                        </plugin>
437
                                </plugins>
438
                        </build>
439
                </profile>
440 119:6973002711ef hadi
                <profile>
441 0:ea666cc7880e hadi
                        <id>env-staging-penril</id>
442
                        <activation>
443
                                <property>
444 119:6973002711ef hadi
                                        <name>env</name>
445
                                        <value>staging-penril</value>
446 0:ea666cc7880e hadi
                                </property>
447
                        </activation>
448
                        <properties>
449
                                <config.postfix>.staging-penril</config.postfix>
450
                        </properties>
451
                        <build>
452
                                <plugins>
453
                                        <plugin>
454
                                                <artifactId>maven-antrun-plugin</artifactId>
455
                                                <configuration>
456
                                                        <target>
457 119:6973002711ef hadi
                                                                <copy file="${basedir}/target/${artifactId}-${version}.war" tofile="/var/lib/jenkins/was-workspace/{artifactId}/${artifactId}-${version}.war" />
458 0:ea666cc7880e hadi
                                                        </target>
459
                                                </configuration>
460
                                                <executions>
461
                                                        <execution>
462
                                                                <id>was-deployer</id>
463
                                                                <phase>install</phase>
464
                                                                <goals>
465
                                                                        <goal>run</goal>
466
                                                                </goals>
467
                                                        </execution>
468
                                                </executions>
469 119:6973002711ef hadi
                                        </plugin>
470 0:ea666cc7880e hadi
471
                                </plugins>
472 119:6973002711ef hadi
                        </build>
473 0:ea666cc7880e hadi
                </profile>
474 119:6973002711ef hadi
                <profile>
475
                        <id>cobertura-instrument</id>
476
                        <activation>
477
                                <property>
478
                                        <name>cobertura-build</name>
479
                                </property>
480
                        </activation>
481
                        <properties>
482
                                <m2u-upass-classifier>instrumented</m2u-upass-classifier>
483
                        </properties>
484
                        <distributionManagement>
485
                                <snapshotRepository>
486
                                        <id>penril.nexus.repo.coverage</id>
487
                                        <name>Penril Nexus Repo Coverage</name>
488
                                        <url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots-coverage</url>
489
                                </snapshotRepository>
490
                        </distributionManagement>
491
                        <build>
492
                                <plugins>
493
                                        <plugin>
494
                                                <artifactId>maven-war-plugin</artifactId>
495
                                                <configuration>
496
                                                        <classifier>${m2u-upass-classifier}</classifier>
497
                                                        <packagingExcludes>WEB-INF/lib/m2u-upass-*SNAPSHOT.jar</packagingExcludes>
498
                                                </configuration>
499
                                        </plugin>
500
                                        <plugin>
501
                                                <groupId>org.codehaus.mojo</groupId>
502
                                                <artifactId>cobertura-maven-plugin</artifactId>
503
                                                <configuration>
504
                                                        <formats>
505
                                                                <format>html</format>
506
                                                                <format>xml</format>
507
                                                        </formats>
508
509
                                                        <!-- TODO: To be configured... -->
510
                                                        <instrumentation>
511
                                                                <ignores>
512
                                                                        <ignore>com.example.boringcode.*</ignore>
513
                                                                </ignores>
514
                                                                <excludes>
515
                                                                        <exclude>com/example/dullcode/**/*.class</exclude>
516
                                                                        <exclude>com/example/**/*Test.class</exclude>
517
                                                                </excludes>
518
                                                        </instrumentation>
519
520
                                                        <!-- TODO: To be configured... -->
521
                                                        <check>
522
                                                                <branchRate>85</branchRate>
523
                                                                <lineRate>85</lineRate>
524
                                                                <haltOnFailure>true</haltOnFailure>
525
                                                                <totalBranchRate>85</totalBranchRate>
526
                                                                <totalLineRate>85</totalLineRate>
527
                                                                <packageLineRate>85</packageLineRate>
528
                                                                <packageBranchRate>85</packageBranchRate>
529
                                                                <regexes>
530
                                                                        <regex>
531
                                                                                <pattern>com.example.reallyimportant.*</pattern>
532
                                                                                <branchRate>90</branchRate>
533
                                                                                <lineRate>80</lineRate>
534
                                                                        </regex>
535
                                                                        <regex>
536
                                                                                <pattern>com.example.boringcode.*</pattern>
537
                                                                                <branchRate>40</branchRate>
538
                                                                                <lineRate>30</lineRate>
539
                                                                        </regex>
540
                                                                </regexes>
541
                                                        </check>
542
                                                </configuration>
543
                                                <executions>
544
                                                        <execution>
545
                                                                <id>instrument-code</id>
546
                                                                <phase>process-classes</phase>
547
                                                                <goals>
548
                                                                        <goal>instrument</goal>
549
                                                                </goals>
550
                                                                <configuration>
551
                                                                        <attach>true</attach>
552
                                                                </configuration>
553
                                                        </execution>
554
                                                </executions>
555
                                        </plugin>
556
                                        <plugin>
557
                                                <artifactId>maven-source-plugin</artifactId>
558
                                                <executions>
559
                                                        <execution>
560
                                                                <id>attach-sources</id>
561
                                                                <goals>
562
                                                                        <goal>jar</goal>
563
                                                                </goals>
564
                                                        </execution>
565
                                                </executions>
566
                                                <inherited>true</inherited>
567
                                        </plugin>
568
                                </plugins>
569
                        </build>
570
                        <dependencies>
571
                                <dependency>
572
                                        <groupId>net.sourceforge.cobertura</groupId>
573
                                        <artifactId>cobertura-runtime</artifactId>
574
                                        <version>${cobertura.version}</version>
575
                                        <!-- <scope>provided</scope> -->
576
                                        <scope>compile</scope>
577
                                        <type>pom</type>
578
                                </dependency>
579
                        </dependencies>
580
                </profile>
581
        </profiles>
582 0:ea666cc7880e hadi
        <dependencies>
583
                <dependency>
584 120:ae1d99468601 hadi
                        <groupId>junit</groupId>
585
                        <artifactId>junit</artifactId>
586
                        <version>4.8.2</version>
587
                        <type>jar</type>
588
                        <scope>test</scope>
589
                </dependency>
590
                <dependency>
591
                        <groupId>net.penril</groupId>
592
                        <artifactId>m2u-upass-core</artifactId>
593
                        <version>2.0-SNAPSHOT</version>
594
                        <classifier>${m2u-upass-classifier}</classifier>
595
                </dependency>
596
                <dependency>
597
                        <groupId>net.penril</groupId>
598
                        <artifactId>m2u-upass-admin-core</artifactId>
599
                        <version>2.0-SNAPSHOT</version>
600
                        <exclusions>
601
                                <exclusion>
602
                                        <artifactId>saaj-api</artifactId>
603
                                        <groupId>javax.xml.soap</groupId>
604
                                </exclusion>
605
                                <exclusion>
606
                                        <artifactId>axis-jaxrpc</artifactId>
607
                                        <groupId>org.apache.axis</groupId>
608
                                </exclusion>
609
                                <exclusion>
610
                                        <artifactId>axis-saaj</artifactId>
611
                                        <groupId>org.apache.axis</groupId>
612
                                </exclusion>
613
                        </exclusions>
614
                </dependency>
615
                <dependency>
616 0:ea666cc7880e hadi
                        <groupId>net.penril.onlineapps</groupId>
617
                        <artifactId>oa-mailbox</artifactId>
618
                        <version>0.9-SNAPSHOT</version>
619
                        <type>jar</type>
620
                </dependency>
621
                <dependency>
622
                        <groupId>com.vasco.vacman</groupId>
623
                        <artifactId>aal2wrap</artifactId>
624
                        <version>3.7.10</version>
625
                        <type>jar</type>
626
                        <scope>system</scope>
627
                        <systemPath>${basedir}/WebContent/WEB-INF/lib/aal2wrap.jar</systemPath>
628 119:6973002711ef hadi
                </dependency>
629 0:ea666cc7880e hadi
                <dependency>
630
                        <groupId>com.microsoft</groupId>
631
                        <artifactId>mssql-jdbc</artifactId>
632
                        <version>3.0</version>
633
                        <type>jar</type>
634
                </dependency>
635
                <dependency>
636
                        <groupId>antlr</groupId>
637
                        <artifactId>antlr</artifactId>
638
                        <version>2.7.6</version>
639
                        <type>jar</type>
640
                        <scope>compile</scope>
641
                </dependency>
642
                <dependency>
643
                        <groupId>commons-collections</groupId>
644
                        <artifactId>commons-collections</artifactId>
645
                        <version>3.2.1</version>
646
                        <type>jar</type>
647
                        <scope>compile</scope>
648
                </dependency>
649
                <dependency>
650
                        <groupId>commons-logging</groupId>
651
                        <artifactId>commons-logging</artifactId>
652
                        <version>1.1.1</version>
653
                        <type>jar</type>
654
                        <scope>compile</scope>
655
                </dependency>
656
                <dependency>
657
                        <groupId>dom4j</groupId>
658
                        <artifactId>dom4j</artifactId>
659
                        <version>1.6</version>
660
                        <type>jar</type>
661
                        <scope>compile</scope>
662 22:42bff624100e mohd
                        <exclusions>
663
                                <exclusion>
664
                                        <artifactId>xml-apis</artifactId>
665
                                        <groupId>xml-apis</groupId>
666
                                </exclusion>
667
                        </exclusions>
668 0:ea666cc7880e hadi
                </dependency>
669
                <dependency>
670
                        <groupId>org.hibernate</groupId>
671
                        <artifactId>hibernate-core</artifactId>
672
                        <version>3.3.1.GA</version>
673
                        <type>jar</type>
674
                        <scope>compile</scope>
675
                </dependency>
676
                <dependency>
677
                        <groupId>javassist</groupId>
678
                        <artifactId>javassist</artifactId>
679
                        <version>3.4.GA</version>
680
                        <type>jar</type>
681
                        <scope>compile</scope>
682
                </dependency>
683
                <dependency>
684
                        <groupId>javax.servlet</groupId>
685
                        <artifactId>jstl</artifactId>
686
                        <version>1.1.2</version>
687
                        <type>jar</type>
688
                        <scope>compile</scope>
689
                </dependency>
690
                <dependency>
691
                        <groupId>javax.transaction</groupId>
692
                        <artifactId>jta</artifactId>
693
                        <version>1.1</version>
694
                        <type>jar</type>
695
                        <scope>compile</scope>
696
                </dependency>
697
                <dependency>
698
                        <groupId>org.slf4j</groupId>
699
                        <artifactId>slf4j-api</artifactId>
700
                        <version>1.5.6</version>
701
                        <type>jar</type>
702
                        <scope>compile</scope>
703
                </dependency>
704
                <dependency>
705
                        <groupId>org.slf4j</groupId>
706
                        <artifactId>slf4j-log4j12</artifactId>
707
                        <version>1.5.6</version>
708
                        <type>jar</type>
709
                        <scope>compile</scope>
710
                </dependency>
711
                <dependency>
712
                        <groupId>org.slf4j</groupId>
713
                        <artifactId>slf4j-simple</artifactId>
714
                        <version>1.5.6</version>
715
                        <type>jar</type>
716
                        <scope>compile</scope>
717
                </dependency>
718
                <dependency>
719
                        <groupId>struts</groupId>
720
                        <artifactId>struts</artifactId>
721
                        <version>1.1</version>
722
                        <type>jar</type>
723
                        <scope>compile</scope>
724
                </dependency>
725
                <dependency>
726
                        <groupId>struts</groupId>
727
                        <artifactId>struts-el</artifactId>
728
                        <version>1.1</version>
729
                        <type>jar</type>
730
                        <scope>compile</scope>
731
                </dependency>
732 119:6973002711ef hadi
                <dependency>
733 0:ea666cc7880e hadi
                        <groupId>struts</groupId>
734
                        <artifactId>struts-legacy</artifactId>
735
                        <version>1.1</version>
736
                        <type>jar</type>
737
                        <scope>compile</scope>
738
                </dependency>
739
                <dependency>
740
                        <groupId>commons-beanutils</groupId>
741
                        <artifactId>commons-beanutils</artifactId>
742
                        <version>1.8.3</version>
743
                        <type>jar</type>
744
                        <scope>compile</scope>
745
                </dependency>
746
                <dependency>
747
                        <groupId>javax.activation</groupId>
748
                        <artifactId>activation</artifactId>
749
                        <version>1.1.1</version>
750
                        <type>jar</type>
751
                        <scope>compile</scope>
752
                </dependency>
753
                <dependency>
754
                        <groupId>commons-digester</groupId>
755
                        <artifactId>commons-digester</artifactId>
756
                        <version>1.7</version>
757
                        <type>jar</type>
758
                        <scope>compile</scope>
759 22:42bff624100e mohd
                        <exclusions>
760
                                <exclusion>
761
                                        <artifactId>xml-apis</artifactId>
762
                                        <groupId>xml-apis</groupId>
763
                                </exclusion>
764
                        </exclusions>
765 0:ea666cc7880e hadi
                </dependency>
766
                <dependency>
767
                        <groupId>commons-discovery</groupId>
768
                        <artifactId>commons-discovery</artifactId>
769
                        <version>0.2</version>
770
                        <type>jar</type>
771
                        <scope>compile</scope>
772
                </dependency>
773
                <dependency>
774
                        <groupId>commons-fileupload</groupId>
775
                        <artifactId>commons-fileupload</artifactId>
776
                        <version>1.2.1</version>
777
                        <type>jar</type>
778
                        <scope>compile</scope>
779
                </dependency>
780
                <dependency>
781 119:6973002711ef hadi
                        <groupId>commons-io</groupId>
782
                        <artifactId>commons-io</artifactId>
783
                        <version>1.4</version>
784 0:ea666cc7880e hadi
                </dependency>
785
                <dependency>
786
                        <groupId>commons-lang</groupId>
787
                        <artifactId>commons-lang</artifactId>
788
                        <version>2.6</version>
789
                        <type>jar</type>
790
                        <scope>compile</scope>
791
                </dependency>
792
                <dependency>
793
                        <groupId>taglibs</groupId>
794
                        <artifactId>standard</artifactId>
795
                        <version>1.1.2</version>
796
                        <type>jar</type>
797
                        <scope>compile</scope>
798
                </dependency>
799
                <dependency>
800
                        <groupId>wsdl4j</groupId>
801
                        <artifactId>wsdl4j</artifactId>
802
                        <version>1.6.2</version>
803
                        <type>jar</type>
804
                        <scope>compile</scope>
805
                </dependency>
806
                <dependency>
807
                        <groupId>javax.sql</groupId>
808
                        <artifactId>jdbc-stdext</artifactId>
809
                        <version>2.0</version>
810
                        <scope>compile</scope>
811
                </dependency>
812
                <dependency>
813
                        <groupId>javax.servlet</groupId>
814
                        <artifactId>servlet-api</artifactId>
815
                        <version>2.3</version>
816
                        <type>jar</type>
817
                        <scope>provided</scope>
818
                </dependency>
819
                <dependency>
820
                        <groupId>javax.servlet.jsp</groupId>
821
                        <artifactId>jsp-api</artifactId>
822
                        <version>2.1</version>
823
                        <type>jar</type>
824
                        <scope>provided</scope>
825
                </dependency>
826
                <dependency>
827
                        <groupId>c3p0</groupId>
828
                        <artifactId>c3p0</artifactId>
829
                        <version>0.9.1.2</version>
830
                        <type>jar</type>
831
                        <scope>compile</scope>
832
                </dependency>
833
                <dependency>
834
                        <groupId>commons-dbcp</groupId>
835
                        <artifactId>commons-dbcp</artifactId>
836
                        <version>1.2.2</version>
837
                        <type>jar</type>
838
                        <scope>compile</scope>
839
                </dependency>
840
                <dependency>
841
                        <groupId>commons-pool</groupId>
842
                        <artifactId>commons-pool</artifactId>
843
                        <version>1.3</version>
844
                        <type>jar</type>
845
                        <scope>compile</scope>
846
                </dependency>
847
                <dependency>
848
                        <groupId>org.hibernate</groupId>
849
                        <artifactId>hibernate-c3p0</artifactId>
850
                        <version>3.3.1.GA</version>
851
                        <type>jar</type>
852
                        <scope>compile</scope>
853
                </dependency>
854
                <dependency>
855
                        <groupId>com.google.code.gson</groupId>
856
                        <artifactId>gson</artifactId>
857
                        <version>1.7.1</version>
858
                </dependency>
859
                <dependency>
860
                        <groupId>org.coury</groupId>
861
                        <artifactId>jfilehelpers</artifactId>
862
                        <version>0.2a-20111103</version>
863
                </dependency>
864
                <dependency>
865 119:6973002711ef hadi
                        <groupId>org.seleniumhq.selenium</groupId>
866
                        <artifactId>selenium-server</artifactId>
867
                        <version>2.35.0</version>
868
                        <scope>test</scope>
869
                </dependency>
870 0:ea666cc7880e hadi
        </dependencies>
871
</project>