m2u-upass-admin / pom.xml @ 21:8c0f58f8fdd4
History | View | Annotate | Download (13.2 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 |
|
28 |
<build>
|
29 |
<sourceDirectory>src</sourceDirectory> |
30 |
<resources>
|
31 |
<resource>
|
32 |
<directory>resource</directory> |
33 |
</resource>
|
34 |
</resources>
|
35 |
<testSourceDirectory>test</testSourceDirectory> |
36 |
<!-- <outputDirectory>${basedir}/WebContent/WEB-INF/classes</outputDirectory> -->
|
37 |
<pluginManagement>
|
38 |
<plugins>
|
39 |
<plugin>
|
40 |
<groupId>org.apache.maven.plugins</groupId> |
41 |
<artifactId>maven-antrun-plugin</artifactId> |
42 |
<version>1.6</version> |
43 |
</plugin>
|
44 |
<plugin>
|
45 |
<groupId>org.apache.maven.plugins</groupId> |
46 |
<artifactId>maven-compiler-plugin</artifactId> |
47 |
<version>2.3.2</version> |
48 |
<configuration>
|
49 |
<source>1.6</source> |
50 |
<target>1.6</target> |
51 |
</configuration>
|
52 |
</plugin>
|
53 |
<plugin>
|
54 |
<groupId>org.codehaus.mojo</groupId> |
55 |
<artifactId>cobertura-maven-plugin</artifactId> |
56 |
<version>2.5.1</version> |
57 |
</plugin>
|
58 |
</plugins>
|
59 |
</pluginManagement>
|
60 |
<plugins>
|
61 |
<plugin>
|
62 |
<groupId>org.apache.maven.plugins</groupId> |
63 |
<artifactId>maven-war-plugin</artifactId> |
64 |
<version>2.1.1</version> |
65 |
<configuration>
|
66 |
<warSourceDirectory>${basedir}/WebContent</warSourceDirectory> |
67 |
</configuration>
|
68 |
</plugin>
|
69 |
<plugin>
|
70 |
<groupId>org.mortbay.jetty</groupId> |
71 |
<artifactId>maven-jetty-plugin</artifactId> |
72 |
<version>6.1.16</version> |
73 |
<configuration>
|
74 |
<webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory> |
75 |
</configuration>
|
76 |
</plugin>
|
77 |
</plugins>
|
78 |
</build>
|
79 |
<profiles>
|
80 |
<profile>
|
81 |
<id>env-dev-penril</id> |
82 |
<activation>
|
83 |
<property>
|
84 |
<name>env</name> |
85 |
<value>dev-penril</value> |
86 |
</property>
|
87 |
</activation>
|
88 |
<distributionManagement>
|
89 |
<snapshotRepository>
|
90 |
<id>penril.nexus.repo</id> |
91 |
<name>Penril Nexus Repo</name> |
92 |
<url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots</url> |
93 |
</snapshotRepository>
|
94 |
</distributionManagement>
|
95 |
<properties>
|
96 |
<config.postfix>.dev-penril</config.postfix> |
97 |
</properties>
|
98 |
</profile>
|
99 |
<profile>
|
100 |
<id>env-dev-m2u</id> |
101 |
<activation>
|
102 |
<property>
|
103 |
<name>env</name> |
104 |
<value>dev-m2u</value> |
105 |
</property>
|
106 |
</activation>
|
107 |
<properties>
|
108 |
<config.postfix>.dev-m2u</config.postfix> |
109 |
</properties>
|
110 |
</profile>
|
111 |
<profile>
|
112 |
<id>env-ant</id> |
113 |
<activation>
|
114 |
<property>
|
115 |
<name>env</name> |
116 |
</property>
|
117 |
</activation>
|
118 |
<build>
|
119 |
<plugins>
|
120 |
<plugin>
|
121 |
<artifactId>maven-antrun-plugin</artifactId> |
122 |
<executions>
|
123 |
<execution>
|
124 |
<id>env-config</id> |
125 |
<phase>process-resources</phase> |
126 |
<configuration>
|
127 |
<target>
|
128 |
<delete file="${project.build.outputDirectory}/com/ib/hibernate/configuration/hibernate.cfg.xml" /> |
129 |
<copy file="resource/com/ib/hibernate/configuration/hibernate${config.postfix}.cfg.xml" |
130 |
tofile="${project.build.outputDirectory}/com/ib/hibernate/configuration/hibernate.cfg.xml" /> |
131 |
|
132 |
<delete>
|
133 |
<fileset dir="${project.build.outputDirectory}/com/ib/hibernate/configuration" includes="hibernate.*.cfg.xml"/> |
134 |
</delete>
|
135 |
|
136 |
<delete file="${project.build.outputDirectory}/UPassClient.cfg" /> |
137 |
<copy file="resource/UPassClient${config.postfix}.cfg" |
138 |
tofile="${project.build.outputDirectory}/UPassClient.cfg" /> |
139 |
|
140 |
<delete>
|
141 |
<fileset dir="${project.build.outputDirectory}" includes="UPassClient.*.cfg" /> |
142 |
</delete>
|
143 |
|
144 |
<delete file="${project.build.outputDirectory}/AppConfig.properties" /> |
145 |
<copy file="resource/AppConfig${config.postfix}.properties" |
146 |
tofile="${project.build.outputDirectory}/AppConfig.properties" /> |
147 |
|
148 |
<delete>
|
149 |
<fileset dir="${project.build.outputDirectory}" includes="AppConfig.*.properties" /> |
150 |
</delete>
|
151 |
|
152 |
<delete file="${project.build.outputDirectory}/log4j.xml" /> |
153 |
<copy file="resource/log4j${config.postfix}.xml" |
154 |
tofile="${project.build.outputDirectory}/log4j.xml" /> |
155 |
|
156 |
<delete>
|
157 |
<fileset dir="${project.build.outputDirectory}" includes="log4j.*.xml" /> |
158 |
</delete>
|
159 |
|
160 |
</target>
|
161 |
</configuration>
|
162 |
<goals>
|
163 |
<goal>run</goal> |
164 |
</goals>
|
165 |
</execution>
|
166 |
</executions>
|
167 |
</plugin>
|
168 |
</plugins>
|
169 |
</build>
|
170 |
</profile>
|
171 |
<profile>
|
172 |
<id>env-staging-penril</id> |
173 |
<activation>
|
174 |
<property>
|
175 |
<name>env</name> |
176 |
<value>staging-penril</value> |
177 |
</property>
|
178 |
</activation>
|
179 |
<distributionManagement>
|
180 |
<snapshotRepository>
|
181 |
<id>penril.nexus.repo</id> |
182 |
<name>Penril Nexus Repo</name> |
183 |
<url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots</url> |
184 |
</snapshotRepository>
|
185 |
</distributionManagement>
|
186 |
<properties>
|
187 |
<config.postfix>.staging-penril</config.postfix> |
188 |
</properties>
|
189 |
<build>
|
190 |
<plugins>
|
191 |
<plugin>
|
192 |
<artifactId>maven-antrun-plugin</artifactId> |
193 |
<configuration>
|
194 |
<target>
|
195 |
<copy file="${basedir}/target/${artifactId}-${version}.war" |
196 |
tofile="/var/lib/jenkins/was-workspace/{artifactId}/${artifactId}-${version}.war"/> |
197 |
</target>
|
198 |
</configuration>
|
199 |
<executions>
|
200 |
<execution>
|
201 |
<id>was-deployer</id> |
202 |
<phase>install</phase> |
203 |
<goals>
|
204 |
<goal>run</goal> |
205 |
</goals>
|
206 |
</execution>
|
207 |
</executions>
|
208 |
</plugin>
|
209 |
|
210 |
</plugins>
|
211 |
</build>
|
212 |
</profile>
|
213 |
</profiles>
|
214 |
<dependencies>
|
215 |
<dependency>
|
216 |
<groupId>net.penril.onlineapps</groupId> |
217 |
<artifactId>oa-mailbox</artifactId> |
218 |
<version>0.9-SNAPSHOT</version> |
219 |
<type>jar</type> |
220 |
</dependency>
|
221 |
<dependency>
|
222 |
<groupId>com.vasco.vacman</groupId> |
223 |
<artifactId>aal2wrap</artifactId> |
224 |
<version>3.7.10</version> |
225 |
<type>jar</type> |
226 |
<scope>system</scope> |
227 |
<systemPath>${basedir}/WebContent/WEB-INF/lib/aal2wrap.jar</systemPath> |
228 |
</dependency>
|
229 |
<dependency>
|
230 |
<groupId>com.microsoft</groupId> |
231 |
<artifactId>mssql-jdbc</artifactId> |
232 |
<version>3.0</version> |
233 |
<type>jar</type> |
234 |
</dependency>
|
235 |
<dependency>
|
236 |
<groupId>antlr</groupId> |
237 |
<artifactId>antlr</artifactId> |
238 |
<version>2.7.6</version> |
239 |
<type>jar</type> |
240 |
<scope>compile</scope> |
241 |
</dependency>
|
242 |
<dependency>
|
243 |
<groupId>commons-collections</groupId> |
244 |
<artifactId>commons-collections</artifactId> |
245 |
<version>3.2.1</version> |
246 |
<type>jar</type> |
247 |
<scope>compile</scope> |
248 |
</dependency>
|
249 |
<dependency>
|
250 |
<groupId>commons-logging</groupId> |
251 |
<artifactId>commons-logging</artifactId> |
252 |
<version>1.1.1</version> |
253 |
<type>jar</type> |
254 |
<scope>compile</scope> |
255 |
</dependency>
|
256 |
<dependency>
|
257 |
<groupId>dom4j</groupId> |
258 |
<artifactId>dom4j</artifactId> |
259 |
<version>1.6</version> |
260 |
<type>jar</type> |
261 |
<scope>compile</scope> |
262 |
</dependency>
|
263 |
<dependency>
|
264 |
<groupId>org.hibernate</groupId> |
265 |
<artifactId>hibernate-core</artifactId> |
266 |
<version>3.3.1.GA</version> |
267 |
<type>jar</type> |
268 |
<scope>compile</scope> |
269 |
</dependency>
|
270 |
<dependency>
|
271 |
<groupId>javassist</groupId> |
272 |
<artifactId>javassist</artifactId> |
273 |
<version>3.4.GA</version> |
274 |
<type>jar</type> |
275 |
<scope>compile</scope> |
276 |
</dependency>
|
277 |
<dependency>
|
278 |
<groupId>javax.servlet</groupId> |
279 |
<artifactId>jstl</artifactId> |
280 |
<version>1.1.2</version> |
281 |
<type>jar</type> |
282 |
<scope>compile</scope> |
283 |
</dependency>
|
284 |
<dependency>
|
285 |
<groupId>javax.transaction</groupId> |
286 |
<artifactId>jta</artifactId> |
287 |
<version>1.1</version> |
288 |
<type>jar</type> |
289 |
<scope>compile</scope> |
290 |
</dependency>
|
291 |
<dependency>
|
292 |
<groupId>org.slf4j</groupId> |
293 |
<artifactId>slf4j-api</artifactId> |
294 |
<version>1.5.6</version> |
295 |
<type>jar</type> |
296 |
<scope>compile</scope> |
297 |
</dependency>
|
298 |
<dependency>
|
299 |
<groupId>org.slf4j</groupId> |
300 |
<artifactId>slf4j-log4j12</artifactId> |
301 |
<version>1.5.6</version> |
302 |
<type>jar</type> |
303 |
<scope>compile</scope> |
304 |
</dependency>
|
305 |
<dependency>
|
306 |
<groupId>org.slf4j</groupId> |
307 |
<artifactId>slf4j-simple</artifactId> |
308 |
<version>1.5.6</version> |
309 |
<type>jar</type> |
310 |
<scope>compile</scope> |
311 |
</dependency>
|
312 |
<dependency>
|
313 |
<groupId>struts</groupId> |
314 |
<artifactId>struts</artifactId> |
315 |
<version>1.1</version> |
316 |
<type>jar</type> |
317 |
<scope>compile</scope> |
318 |
</dependency>
|
319 |
<dependency>
|
320 |
<groupId>struts</groupId> |
321 |
<artifactId>struts-el</artifactId> |
322 |
<version>1.1</version> |
323 |
<type>jar</type> |
324 |
<scope>compile</scope> |
325 |
</dependency>
|
326 |
<dependency>
|
327 |
<groupId>struts</groupId> |
328 |
<artifactId>struts-legacy</artifactId> |
329 |
<version>1.1</version> |
330 |
<type>jar</type> |
331 |
<scope>compile</scope> |
332 |
</dependency>
|
333 |
<dependency>
|
334 |
<groupId>commons-beanutils</groupId> |
335 |
<artifactId>commons-beanutils</artifactId> |
336 |
<version>1.8.3</version> |
337 |
<type>jar</type> |
338 |
<scope>compile</scope> |
339 |
</dependency>
|
340 |
<dependency>
|
341 |
<groupId>javax.activation</groupId> |
342 |
<artifactId>activation</artifactId> |
343 |
<version>1.1.1</version> |
344 |
<type>jar</type> |
345 |
<scope>compile</scope> |
346 |
</dependency>
|
347 |
<dependency>
|
348 |
<groupId>commons-digester</groupId> |
349 |
<artifactId>commons-digester</artifactId> |
350 |
<version>1.7</version> |
351 |
<type>jar</type> |
352 |
<scope>compile</scope> |
353 |
</dependency>
|
354 |
<dependency>
|
355 |
<groupId>commons-discovery</groupId> |
356 |
<artifactId>commons-discovery</artifactId> |
357 |
<version>0.2</version> |
358 |
<type>jar</type> |
359 |
<scope>compile</scope> |
360 |
</dependency>
|
361 |
<dependency>
|
362 |
<groupId>commons-fileupload</groupId> |
363 |
<artifactId>commons-fileupload</artifactId> |
364 |
<version>1.2.1</version> |
365 |
<type>jar</type> |
366 |
<scope>compile</scope> |
367 |
</dependency>
|
368 |
<dependency>
|
369 |
<groupId>commons-io</groupId> |
370 |
<artifactId>commons-io</artifactId> |
371 |
<version>1.4</version> |
372 |
</dependency>
|
373 |
<dependency>
|
374 |
<groupId>commons-lang</groupId> |
375 |
<artifactId>commons-lang</artifactId> |
376 |
<version>2.6</version> |
377 |
<type>jar</type> |
378 |
<scope>compile</scope> |
379 |
</dependency>
|
380 |
<dependency>
|
381 |
<groupId>taglibs</groupId> |
382 |
<artifactId>standard</artifactId> |
383 |
<version>1.1.2</version> |
384 |
<type>jar</type> |
385 |
<scope>compile</scope> |
386 |
</dependency>
|
387 |
<dependency>
|
388 |
<groupId>wsdl4j</groupId> |
389 |
<artifactId>wsdl4j</artifactId> |
390 |
<version>1.6.2</version> |
391 |
<type>jar</type> |
392 |
<scope>compile</scope> |
393 |
</dependency>
|
394 |
<dependency>
|
395 |
<groupId>javax.xml.soap</groupId> |
396 |
<artifactId>saaj-api</artifactId> |
397 |
<version>1.3</version> |
398 |
<type>jar</type> |
399 |
<scope>compile</scope> |
400 |
</dependency>
|
401 |
<dependency>
|
402 |
<groupId>junit</groupId> |
403 |
<artifactId>junit</artifactId> |
404 |
<version>4.8.2</version> |
405 |
<type>jar</type> |
406 |
<scope>test</scope> |
407 |
</dependency>
|
408 |
<dependency>
|
409 |
<groupId>javax.sql</groupId> |
410 |
<artifactId>jdbc-stdext</artifactId> |
411 |
<version>2.0</version> |
412 |
<scope>compile</scope> |
413 |
</dependency>
|
414 |
<dependency>
|
415 |
<groupId>javax.xml</groupId> |
416 |
<artifactId>jaxrpc-api</artifactId> |
417 |
<version>1.1</version> |
418 |
<type>jar</type> |
419 |
<scope>compile</scope> |
420 |
</dependency>
|
421 |
<dependency>
|
422 |
<groupId>axis</groupId> |
423 |
<artifactId>axis</artifactId> |
424 |
<version>1.4</version> |
425 |
<type>jar</type> |
426 |
<scope>compile</scope> |
427 |
</dependency>
|
428 |
<dependency>
|
429 |
<groupId>javax.servlet</groupId> |
430 |
<artifactId>servlet-api</artifactId> |
431 |
<version>2.3</version> |
432 |
<type>jar</type> |
433 |
<scope>provided</scope> |
434 |
</dependency>
|
435 |
<dependency>
|
436 |
<groupId>javax.servlet.jsp</groupId> |
437 |
<artifactId>jsp-api</artifactId> |
438 |
<version>2.1</version> |
439 |
<type>jar</type> |
440 |
<scope>provided</scope> |
441 |
</dependency>
|
442 |
<dependency>
|
443 |
<groupId>c3p0</groupId> |
444 |
<artifactId>c3p0</artifactId> |
445 |
<version>0.9.1.2</version> |
446 |
<type>jar</type> |
447 |
<scope>compile</scope> |
448 |
</dependency>
|
449 |
<dependency>
|
450 |
<groupId>commons-dbcp</groupId> |
451 |
<artifactId>commons-dbcp</artifactId> |
452 |
<version>1.2.2</version> |
453 |
<type>jar</type> |
454 |
<scope>compile</scope> |
455 |
</dependency>
|
456 |
<dependency>
|
457 |
<groupId>commons-pool</groupId> |
458 |
<artifactId>commons-pool</artifactId> |
459 |
<version>1.3</version> |
460 |
<type>jar</type> |
461 |
<scope>compile</scope> |
462 |
</dependency>
|
463 |
<dependency>
|
464 |
<groupId>org.hibernate</groupId> |
465 |
<artifactId>hibernate-c3p0</artifactId> |
466 |
<version>3.3.1.GA</version> |
467 |
<type>jar</type> |
468 |
<scope>compile</scope> |
469 |
</dependency>
|
470 |
<dependency>
|
471 |
<groupId>com.google.code.gson</groupId> |
472 |
<artifactId>gson</artifactId> |
473 |
<version>1.7.1</version> |
474 |
</dependency>
|
475 |
<dependency>
|
476 |
<groupId>org.coury</groupId> |
477 |
<artifactId>jfilehelpers</artifactId> |
478 |
<version>0.2a-20111103</version> |
479 |
</dependency>
|
480 |
<dependency>
|
481 |
<groupId>net.penril</groupId> |
482 |
<artifactId>m2u-upass-core</artifactId> |
483 |
<version>2.0-SNAPSHOT</version> |
484 |
</dependency>
|
485 |
<dependency>
|
486 |
<groupId>net.penril</groupId> |
487 |
<artifactId>m2u-upass-admin-core</artifactId> |
488 |
<version>2.0-SNAPSHOT</version> |
489 |
</dependency>
|
490 |
</dependencies>
|
491 |
</project>
|