Statistics
| Branch: | Revision:

m2u-upass-admin / pom.xml @ 0:ea666cc7880e

History | View | Annotate | Download (13.3 KB)

1
<?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
                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
        <name>M2U UPass Admin</name>
8
        <groupId>net.penril</groupId>
9
        <artifactId>m2u-upass-admin</artifactId>
10
        <version>2.0-SNAPSHOT</version>
11
        <packaging>war</packaging>
12

    
13
        <properties>
14
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
                <cobertura.version>1.9.4.1</cobertura.version>
16
                <config.postfix></config.postfix>
17
        </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
        <build>
28
                <sourceDirectory>src</sourceDirectory>
29
                <resources>
30
                        <resource>
31
                                <directory>resource</directory>
32
                        </resource>
33
                </resources>
34
                <testSourceDirectory>test</testSourceDirectory>
35
                <!-- <outputDirectory>${basedir}/WebContent/WEB-INF/classes</outputDirectory> -->
36
                <pluginManagement>
37
                        <plugins>
38
                                <plugin>
39
                                        <groupId>org.apache.maven.plugins</groupId>
40
                                        <artifactId>maven-antrun-plugin</artifactId>
41
                                        <version>1.6</version>
42
                                </plugin> 
43
                                <plugin>
44
                                        <groupId>org.apache.maven.plugins</groupId>
45
                                        <artifactId>maven-compiler-plugin</artifactId>
46
                                        <version>2.3.2</version>
47
                                        <configuration>
48
                                                <source>1.6</source>
49
                                                <target>1.6</target>
50
                                        </configuration>
51
                                </plugin>
52
                                <plugin>
53
                                        <groupId>org.codehaus.mojo</groupId>
54
                                        <artifactId>cobertura-maven-plugin</artifactId>
55
                                        <version>2.5.1</version>
56
                                </plugin>
57
                        </plugins> 
58
                </pluginManagement>
59
                <plugins>
60
                        <plugin>
61
                                <groupId>org.apache.maven.plugins</groupId>
62
                                <artifactId>maven-war-plugin</artifactId>
63
                                <version>2.1.1</version>
64
                                <configuration>
65
                                        <warSourceDirectory>${basedir}/WebContent</warSourceDirectory>
66
                                </configuration>
67
                        </plugin>
68
                </plugins>
69
        </build>
70
        <profiles>
71
                <profile>
72
                        <id>env-dev-penril</id>
73
                        <activation>
74
                                <property>
75
                                        <name>env</name>
76
                                        <value>dev-penril</value>
77
                                </property>
78
                        </activation>
79
                        <distributionManagement>
80
                                  <snapshotRepository>
81
                                        <id>penril.nexus.repo</id>
82
                                        <name>Penril Nexus Repo</name>
83
                                        <url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots</url>
84
                                  </snapshotRepository>
85
                        </distributionManagement>
86
                        <properties>
87
                                <config.postfix>.dev-penril</config.postfix>
88
                        </properties>
89
            </profile>
90
                <profile>
91
                      <id>env-dev-m2u</id>
92
                      <activation>
93
                                <property>
94
                                          <name>env</name>
95
                                          <value>dev-m2u</value>
96
                                </property>
97
                      </activation>
98
                      <properties>
99
                                <config.postfix>.dev-m2u</config.postfix>
100
                      </properties>
101
            </profile>
102
                <profile>
103
                        <id>env-ant</id>
104
                        <activation>
105
                                <property>
106
                                        <name>env</name>
107
                                </property>
108
                        </activation>
109
                        <build>
110
                                <plugins>
111
                                        <plugin>
112
                                                <artifactId>maven-antrun-plugin</artifactId>
113
                                                <executions>
114
                                                        <execution>
115
                                                                <id>env-config</id>
116
                                                                <phase>process-resources</phase>
117
                                                                <configuration>
118
                                                                         <target>
119
                                                                                <delete file="${project.build.outputDirectory}/com/ib/hibernate/configuration/hibernate.cfg.xml" />
120
                                                                                <copy file="resource/com/ib/hibernate/configuration/hibernate${config.postfix}.cfg.xml"
121
                                                                                        tofile="${project.build.outputDirectory}/com/ib/hibernate/configuration/hibernate.cfg.xml" />
122
                
123
                                                                                  <delete>
124
                                                                                    <fileset dir="${project.build.outputDirectory}/com/ib/hibernate/configuration" includes="hibernate.*.cfg.xml"/>
125
                                                                                   </delete>
126
                
127
                                                                                <delete file="${project.build.outputDirectory}/UPassClient.cfg" />
128
                                                                                <copy file="resource/UPassClient${config.postfix}.cfg"
129
                                                                                        tofile="${project.build.outputDirectory}/UPassClient.cfg" />
130
                
131
                                                                                <delete>
132
                                                                                        <fileset dir="${project.build.outputDirectory}" includes="UPassClient.*.cfg" />
133
                                                                                </delete>
134
                
135
                                                                                <delete file="${project.build.outputDirectory}/AppConfig.properties" />
136
                                                                                <copy file="resource/AppConfig${config.postfix}.properties"
137
                                                                                        tofile="${project.build.outputDirectory}/AppConfig.properties" />
138
                
139
                                                                                <delete>
140
                                                                                        <fileset dir="${project.build.outputDirectory}" includes="AppConfig.*.properties" />
141
                                                                                </delete>                                                                
142
                
143
                                                                                <delete file="${project.build.outputDirectory}/log4j.xml" />
144
                                                                                <copy file="resource/log4j${config.postfix}.xml"
145
                                                                                        tofile="${project.build.outputDirectory}/log4j.xml" />
146
                
147
                                                                                <delete>
148
                                                                                        <fileset dir="${project.build.outputDirectory}" includes="log4j.*.xml" />
149
                                                                                </delete>        
150
                                                                                
151
                                                                                <delete file="${project.build.outputDirectory}/proxool.properties" />
152
                                                                                <copy file="resource/proxool${config.postfix}.properties"
153
                                                                                        tofile="${project.build.outputDirectory}/proxool.properties" />
154
                
155
                                                                                <delete>
156
                                                                                        <fileset dir="${project.build.outputDirectory}" includes="proxool.*.properties" />
157
                                                                                </delete>                                                        
158
                                                                        </target>
159
                                                                </configuration>
160
                                                                <goals>
161
                                                                        <goal>run</goal>
162
                                                                </goals>
163
                                                        </execution>
164
                                                </executions>
165
                                        </plugin>
166
                                </plugins>
167
                        </build>
168
                </profile>
169
                <profile>
170
                        <id>env-staging-penril</id>
171
                        <activation>
172
                                <property>
173
                                          <name>env</name>
174
                                          <value>staging-penril</value>
175
                                </property>
176
                        </activation>
177
                        <distributionManagement>
178
                                  <snapshotRepository>
179
                                        <id>penril.nexus.repo</id>
180
                                        <name>Penril Nexus Repo</name>
181
                                        <url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots</url>
182
                                  </snapshotRepository>
183
                        </distributionManagement>
184
                        <properties>
185
                                <config.postfix>.staging-penril</config.postfix>
186
                        </properties>
187
                        <build>
188
                                <plugins>
189
                                        <plugin>
190
                                                <artifactId>maven-antrun-plugin</artifactId>
191
                                                <configuration>
192
                                                        <target>
193
                                                        <copy file="${basedir}/target/${artifactId}-${version}.war" 
194
                                                                tofile="/var/lib/jenkins/was-workspace/{artifactId}/${artifactId}-${version}.war"/>
195
                                                        </target>
196
                                                </configuration>
197
                                                <executions>
198
                                                        <execution>
199
                                                                <id>was-deployer</id>
200
                                                                <phase>install</phase>
201
                                                                <goals>
202
                                                                        <goal>run</goal>
203
                                                                </goals>
204
                                                        </execution>
205
                                                </executions>
206
                                        </plugin>                        
207

    
208
                                </plugins>
209
                        </build>                        
210
                </profile>
211
        </profiles>        
212
        <dependencies>
213
                <dependency>
214
                        <groupId>net.penril.onlineapps</groupId>
215
                        <artifactId>oa-mailbox</artifactId>
216
                        <version>0.9-SNAPSHOT</version>
217
                        <type>jar</type>
218
                </dependency>
219
                <dependency>
220
                        <groupId>com.vasco.vacman</groupId>
221
                        <artifactId>aal2wrap</artifactId>
222
                        <version>3.7.10</version>
223
                        <type>jar</type>
224
                        <scope>system</scope>
225
                        <systemPath>${basedir}/WebContent/WEB-INF/lib/aal2wrap.jar</systemPath>
226
                </dependency>                
227
                <dependency>
228
                        <groupId>com.microsoft</groupId>
229
                        <artifactId>mssql-jdbc</artifactId>
230
                        <version>3.0</version>
231
                        <type>jar</type>
232
                </dependency>
233
                <dependency>
234
                        <groupId>antlr</groupId>
235
                        <artifactId>antlr</artifactId>
236
                        <version>2.7.6</version>
237
                        <type>jar</type>
238
                        <scope>compile</scope>
239
                </dependency>
240
                <dependency>
241
                        <groupId>commons-collections</groupId>
242
                        <artifactId>commons-collections</artifactId>
243
                        <version>3.2.1</version>
244
                        <type>jar</type>
245
                        <scope>compile</scope>
246
                </dependency>
247
                <dependency>
248
                        <groupId>commons-logging</groupId>
249
                        <artifactId>commons-logging</artifactId>
250
                        <version>1.1.1</version>
251
                        <type>jar</type>
252
                        <scope>compile</scope>
253
                </dependency>
254
                <dependency>
255
                        <groupId>dom4j</groupId>
256
                        <artifactId>dom4j</artifactId>
257
                        <version>1.6</version>
258
                        <type>jar</type>
259
                        <scope>compile</scope>
260
                </dependency>
261
                <dependency>
262
                        <groupId>org.hibernate</groupId>
263
                        <artifactId>hibernate-core</artifactId>
264
                        <version>3.3.1.GA</version>
265
                        <type>jar</type>
266
                        <scope>compile</scope>
267
                </dependency>
268
                <dependency>
269
                        <groupId>javassist</groupId>
270
                        <artifactId>javassist</artifactId>
271
                        <version>3.4.GA</version>
272
                        <type>jar</type>
273
                        <scope>compile</scope>
274
                </dependency>
275
                <dependency>
276
                        <groupId>javax.servlet</groupId>
277
                        <artifactId>jstl</artifactId>
278
                        <version>1.1.2</version>
279
                        <type>jar</type>
280
                        <scope>compile</scope>
281
                </dependency>
282
                <dependency>
283
                        <groupId>javax.transaction</groupId>
284
                        <artifactId>jta</artifactId>
285
                        <version>1.1</version>
286
                        <type>jar</type>
287
                        <scope>compile</scope>
288
                </dependency>
289
                <dependency>
290
                        <groupId>org.slf4j</groupId>
291
                        <artifactId>slf4j-api</artifactId>
292
                        <version>1.5.6</version>
293
                        <type>jar</type>
294
                        <scope>compile</scope>
295
                </dependency>
296
                <dependency>
297
                        <groupId>org.slf4j</groupId>
298
                        <artifactId>slf4j-log4j12</artifactId>
299
                        <version>1.5.6</version>
300
                        <type>jar</type>
301
                        <scope>compile</scope>
302
                </dependency>
303
                <dependency>
304
                        <groupId>org.slf4j</groupId>
305
                        <artifactId>slf4j-simple</artifactId>
306
                        <version>1.5.6</version>
307
                        <type>jar</type>
308
                        <scope>compile</scope>
309
                </dependency>
310
                <dependency>
311
                        <groupId>struts</groupId>
312
                        <artifactId>struts</artifactId>
313
                        <version>1.1</version>
314
                        <type>jar</type>
315
                        <scope>compile</scope>
316
                </dependency>
317
                <dependency>
318
                        <groupId>struts</groupId>
319
                        <artifactId>struts-el</artifactId>
320
                        <version>1.1</version>
321
                        <type>jar</type>
322
                        <scope>compile</scope>
323
                </dependency>
324
                 <dependency>
325
                        <groupId>struts</groupId>
326
                        <artifactId>struts-legacy</artifactId>
327
                        <version>1.1</version>
328
                        <type>jar</type>
329
                        <scope>compile</scope>
330
                </dependency>
331
                <dependency>
332
                        <groupId>commons-beanutils</groupId>
333
                        <artifactId>commons-beanutils</artifactId>
334
                        <version>1.8.3</version>
335
                        <type>jar</type>
336
                        <scope>compile</scope>
337
                </dependency>
338
                <dependency>
339
                        <groupId>javax.activation</groupId>
340
                        <artifactId>activation</artifactId>
341
                        <version>1.1.1</version>
342
                        <type>jar</type>
343
                        <scope>compile</scope>
344
                </dependency>
345
                <dependency>
346
                        <groupId>commons-digester</groupId>
347
                        <artifactId>commons-digester</artifactId>
348
                        <version>1.7</version>
349
                        <type>jar</type>
350
                        <scope>compile</scope>
351
                </dependency>
352
                <dependency>
353
                        <groupId>commons-discovery</groupId>
354
                        <artifactId>commons-discovery</artifactId>
355
                        <version>0.2</version>
356
                        <type>jar</type>
357
                        <scope>compile</scope>
358
                </dependency>
359
                <dependency>
360
                        <groupId>commons-fileupload</groupId>
361
                        <artifactId>commons-fileupload</artifactId>
362
                        <version>1.2.1</version>
363
                        <type>jar</type>
364
                        <scope>compile</scope>
365
                </dependency>
366
                <dependency>
367
                    <groupId>commons-io</groupId>
368
                    <artifactId>commons-io</artifactId>
369
                    <version>1.4</version>
370
                </dependency>
371
                <dependency>
372
                        <groupId>commons-lang</groupId>
373
                        <artifactId>commons-lang</artifactId>
374
                        <version>2.6</version>
375
                        <type>jar</type>
376
                        <scope>compile</scope>
377
                </dependency>
378
                <dependency>
379
                        <groupId>taglibs</groupId>
380
                        <artifactId>standard</artifactId>
381
                        <version>1.1.2</version>
382
                        <type>jar</type>
383
                        <scope>compile</scope>
384
                </dependency>
385
                <dependency>
386
                        <groupId>wsdl4j</groupId>
387
                        <artifactId>wsdl4j</artifactId>
388
                        <version>1.6.2</version>
389
                        <type>jar</type>
390
                        <scope>compile</scope>
391
                </dependency>
392
                <dependency>
393
                        <groupId>javax.xml.soap</groupId>
394
                        <artifactId>saaj-api</artifactId>
395
                        <version>1.3</version>
396
                        <type>jar</type>
397
                        <scope>compile</scope>
398
                </dependency>
399
                <dependency>
400
                        <groupId>junit</groupId>
401
                        <artifactId>junit</artifactId>
402
                        <version>4.8.2</version>
403
                        <type>jar</type>
404
                        <scope>test</scope>
405
                </dependency>
406
                <dependency>
407
                        <groupId>javax.sql</groupId>
408
                        <artifactId>jdbc-stdext</artifactId>
409
                        <version>2.0</version>
410
                        <scope>compile</scope>
411
                </dependency>
412
                <dependency>
413
                        <groupId>javax.xml</groupId>
414
                        <artifactId>jaxrpc-api</artifactId>
415
                        <version>1.1</version>
416
                        <type>jar</type>
417
                        <scope>compile</scope>
418
                </dependency>
419
                <dependency>
420
                        <groupId>axis</groupId>
421
                        <artifactId>axis</artifactId>
422
                        <version>1.4</version>
423
                        <type>jar</type>
424
                        <scope>compile</scope>
425
                </dependency>
426
                <dependency>
427
                        <groupId>javax.servlet</groupId>
428
                        <artifactId>servlet-api</artifactId>
429
                        <version>2.3</version>
430
                        <type>jar</type>
431
                        <scope>provided</scope>
432
                </dependency>
433
                <dependency>
434
                        <groupId>javax.servlet.jsp</groupId>
435
                        <artifactId>jsp-api</artifactId>
436
                        <version>2.1</version>
437
                        <type>jar</type>
438
                        <scope>provided</scope>
439
                </dependency>
440
                <dependency>
441
                        <groupId>c3p0</groupId>
442
                        <artifactId>c3p0</artifactId>
443
                        <version>0.9.1.2</version>
444
                        <type>jar</type>
445
                        <scope>compile</scope>
446
                </dependency>
447
                <dependency>
448
                        <groupId>commons-dbcp</groupId>
449
                        <artifactId>commons-dbcp</artifactId>
450
                        <version>1.2.2</version>
451
                        <type>jar</type>
452
                        <scope>compile</scope>
453
                </dependency>
454
                <dependency>
455
                        <groupId>commons-pool</groupId>
456
                        <artifactId>commons-pool</artifactId>
457
                        <version>1.3</version>
458
                        <type>jar</type>
459
                        <scope>compile</scope>
460
                </dependency>
461
                <dependency>
462
                        <groupId>org.hibernate</groupId>
463
                        <artifactId>hibernate-c3p0</artifactId>
464
                        <version>3.3.1.GA</version>
465
                        <type>jar</type>
466
                        <scope>compile</scope>
467
                </dependency>
468
                <dependency>
469
                        <groupId>com.google.code.gson</groupId>
470
                        <artifactId>gson</artifactId>
471
                        <version>1.7.1</version>
472
                </dependency>
473
                <dependency>
474
                        <groupId>org.coury</groupId>
475
                        <artifactId>jfilehelpers</artifactId>
476
                        <version>0.2a-20111103</version>
477
                </dependency>
478
                <dependency>
479
                        <groupId>net.penril</groupId>
480
                        <artifactId>m2u-upass-core</artifactId>
481
                        <version>2.0-SNAPSHOT</version>
482
                        <type>jar</type>
483
                        <scope>compile</scope>
484
                </dependency>
485
                <dependency>
486
                        <groupId>net.penril</groupId>
487
                        <artifactId>agro-core</artifactId>
488
                        <version>0.30-SNAPSHOT</version>
489
                </dependency>
490
        </dependencies>
491
</project>