m2u-upass-admin / pom.xml @ 144:cd7134b89c10
History | View | Annotate | Download (23.8 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 | 144:cd7134b89c10 | hadi | <packagingExcludes>WEB-INF/lib/m2u-upass-min-*-SNAPSHOT.jar</packagingExcludes> |
498 | <packagingExcludes>WEB-INF/lib/m2u-upass-core-*-SNAPSHOT.jar</packagingExcludes> |
||
499 | <packagingExcludes>WEB-INF/lib/m2u-upass-ws-*-SNAPSHOT.jar</packagingExcludes> |
||
500 | 119:6973002711ef | hadi | </configuration>
|
501 | </plugin>
|
||
502 | <plugin>
|
||
503 | <groupId>org.codehaus.mojo</groupId> |
||
504 | <artifactId>cobertura-maven-plugin</artifactId> |
||
505 | <configuration>
|
||
506 | <formats>
|
||
507 | <format>html</format> |
||
508 | <format>xml</format> |
||
509 | </formats>
|
||
510 | |||
511 | <!-- TODO: To be configured... -->
|
||
512 | <instrumentation>
|
||
513 | <ignores>
|
||
514 | <ignore>com.example.boringcode.*</ignore> |
||
515 | </ignores>
|
||
516 | <excludes>
|
||
517 | <exclude>com/example/dullcode/**/*.class</exclude> |
||
518 | <exclude>com/example/**/*Test.class</exclude> |
||
519 | </excludes>
|
||
520 | </instrumentation>
|
||
521 | |||
522 | <!-- TODO: To be configured... -->
|
||
523 | <check>
|
||
524 | <branchRate>85</branchRate> |
||
525 | <lineRate>85</lineRate> |
||
526 | <haltOnFailure>true</haltOnFailure> |
||
527 | <totalBranchRate>85</totalBranchRate> |
||
528 | <totalLineRate>85</totalLineRate> |
||
529 | <packageLineRate>85</packageLineRate> |
||
530 | <packageBranchRate>85</packageBranchRate> |
||
531 | <regexes>
|
||
532 | <regex>
|
||
533 | <pattern>com.example.reallyimportant.*</pattern> |
||
534 | <branchRate>90</branchRate> |
||
535 | <lineRate>80</lineRate> |
||
536 | </regex>
|
||
537 | <regex>
|
||
538 | <pattern>com.example.boringcode.*</pattern> |
||
539 | <branchRate>40</branchRate> |
||
540 | <lineRate>30</lineRate> |
||
541 | </regex>
|
||
542 | </regexes>
|
||
543 | </check>
|
||
544 | </configuration>
|
||
545 | <executions>
|
||
546 | <execution>
|
||
547 | <id>instrument-code</id> |
||
548 | <phase>process-classes</phase> |
||
549 | <goals>
|
||
550 | <goal>instrument</goal> |
||
551 | </goals>
|
||
552 | <configuration>
|
||
553 | <attach>true</attach> |
||
554 | </configuration>
|
||
555 | </execution>
|
||
556 | </executions>
|
||
557 | </plugin>
|
||
558 | <plugin>
|
||
559 | <artifactId>maven-source-plugin</artifactId> |
||
560 | <executions>
|
||
561 | <execution>
|
||
562 | <id>attach-sources</id> |
||
563 | <goals>
|
||
564 | <goal>jar</goal> |
||
565 | </goals>
|
||
566 | </execution>
|
||
567 | </executions>
|
||
568 | <inherited>true</inherited> |
||
569 | </plugin>
|
||
570 | </plugins>
|
||
571 | </build>
|
||
572 | <dependencies>
|
||
573 | <dependency>
|
||
574 | <groupId>net.sourceforge.cobertura</groupId> |
||
575 | <artifactId>cobertura-runtime</artifactId> |
||
576 | <version>${cobertura.version}</version> |
||
577 | <!-- <scope>provided</scope> -->
|
||
578 | <scope>compile</scope> |
||
579 | <type>pom</type> |
||
580 | </dependency>
|
||
581 | </dependencies>
|
||
582 | </profile>
|
||
583 | </profiles>
|
||
584 | 0:ea666cc7880e | hadi | <dependencies>
|
585 | <dependency>
|
||
586 | 120:ae1d99468601 | hadi | <groupId>junit</groupId> |
587 | <artifactId>junit</artifactId> |
||
588 | <version>4.8.2</version> |
||
589 | <type>jar</type> |
||
590 | <scope>test</scope> |
||
591 | </dependency>
|
||
592 | <dependency>
|
||
593 | <groupId>net.penril</groupId> |
||
594 | <artifactId>m2u-upass-core</artifactId> |
||
595 | <version>2.0-SNAPSHOT</version> |
||
596 | <classifier>${m2u-upass-classifier}</classifier> |
||
597 | </dependency>
|
||
598 | <dependency>
|
||
599 | <groupId>net.penril</groupId> |
||
600 | <artifactId>m2u-upass-admin-core</artifactId> |
||
601 | <version>2.0-SNAPSHOT</version> |
||
602 | <exclusions>
|
||
603 | <exclusion>
|
||
604 | <artifactId>saaj-api</artifactId> |
||
605 | <groupId>javax.xml.soap</groupId> |
||
606 | </exclusion>
|
||
607 | <exclusion>
|
||
608 | <artifactId>axis-jaxrpc</artifactId> |
||
609 | <groupId>org.apache.axis</groupId> |
||
610 | </exclusion>
|
||
611 | <exclusion>
|
||
612 | <artifactId>axis-saaj</artifactId> |
||
613 | <groupId>org.apache.axis</groupId> |
||
614 | </exclusion>
|
||
615 | </exclusions>
|
||
616 | </dependency>
|
||
617 | <dependency>
|
||
618 | 0:ea666cc7880e | hadi | <groupId>net.penril.onlineapps</groupId> |
619 | <artifactId>oa-mailbox</artifactId> |
||
620 | <version>0.9-SNAPSHOT</version> |
||
621 | <type>jar</type> |
||
622 | </dependency>
|
||
623 | <dependency>
|
||
624 | <groupId>com.vasco.vacman</groupId> |
||
625 | <artifactId>aal2wrap</artifactId> |
||
626 | <version>3.7.10</version> |
||
627 | <type>jar</type> |
||
628 | <scope>system</scope> |
||
629 | <systemPath>${basedir}/WebContent/WEB-INF/lib/aal2wrap.jar</systemPath> |
||
630 | 119:6973002711ef | hadi | </dependency>
|
631 | 0:ea666cc7880e | hadi | <dependency>
|
632 | <groupId>com.microsoft</groupId> |
||
633 | <artifactId>mssql-jdbc</artifactId> |
||
634 | <version>3.0</version> |
||
635 | <type>jar</type> |
||
636 | </dependency>
|
||
637 | <dependency>
|
||
638 | <groupId>antlr</groupId> |
||
639 | <artifactId>antlr</artifactId> |
||
640 | <version>2.7.6</version> |
||
641 | <type>jar</type> |
||
642 | <scope>compile</scope> |
||
643 | </dependency>
|
||
644 | <dependency>
|
||
645 | <groupId>commons-collections</groupId> |
||
646 | <artifactId>commons-collections</artifactId> |
||
647 | <version>3.2.1</version> |
||
648 | <type>jar</type> |
||
649 | <scope>compile</scope> |
||
650 | </dependency>
|
||
651 | <dependency>
|
||
652 | <groupId>commons-logging</groupId> |
||
653 | <artifactId>commons-logging</artifactId> |
||
654 | <version>1.1.1</version> |
||
655 | <type>jar</type> |
||
656 | <scope>compile</scope> |
||
657 | </dependency>
|
||
658 | <dependency>
|
||
659 | <groupId>dom4j</groupId> |
||
660 | <artifactId>dom4j</artifactId> |
||
661 | <version>1.6</version> |
||
662 | <type>jar</type> |
||
663 | <scope>compile</scope> |
||
664 | 22:42bff624100e | mohd | <exclusions>
|
665 | <exclusion>
|
||
666 | <artifactId>xml-apis</artifactId> |
||
667 | <groupId>xml-apis</groupId> |
||
668 | </exclusion>
|
||
669 | </exclusions>
|
||
670 | 0:ea666cc7880e | hadi | </dependency>
|
671 | <dependency>
|
||
672 | <groupId>org.hibernate</groupId> |
||
673 | <artifactId>hibernate-core</artifactId> |
||
674 | <version>3.3.1.GA</version> |
||
675 | <type>jar</type> |
||
676 | <scope>compile</scope> |
||
677 | </dependency>
|
||
678 | <dependency>
|
||
679 | <groupId>javassist</groupId> |
||
680 | <artifactId>javassist</artifactId> |
||
681 | <version>3.4.GA</version> |
||
682 | <type>jar</type> |
||
683 | <scope>compile</scope> |
||
684 | </dependency>
|
||
685 | <dependency>
|
||
686 | <groupId>javax.servlet</groupId> |
||
687 | <artifactId>jstl</artifactId> |
||
688 | <version>1.1.2</version> |
||
689 | <type>jar</type> |
||
690 | <scope>compile</scope> |
||
691 | </dependency>
|
||
692 | <dependency>
|
||
693 | <groupId>javax.transaction</groupId> |
||
694 | <artifactId>jta</artifactId> |
||
695 | <version>1.1</version> |
||
696 | <type>jar</type> |
||
697 | <scope>compile</scope> |
||
698 | </dependency>
|
||
699 | <dependency>
|
||
700 | <groupId>org.slf4j</groupId> |
||
701 | <artifactId>slf4j-api</artifactId> |
||
702 | <version>1.5.6</version> |
||
703 | <type>jar</type> |
||
704 | <scope>compile</scope> |
||
705 | </dependency>
|
||
706 | <dependency>
|
||
707 | <groupId>org.slf4j</groupId> |
||
708 | <artifactId>slf4j-log4j12</artifactId> |
||
709 | <version>1.5.6</version> |
||
710 | <type>jar</type> |
||
711 | <scope>compile</scope> |
||
712 | </dependency>
|
||
713 | <dependency>
|
||
714 | <groupId>org.slf4j</groupId> |
||
715 | <artifactId>slf4j-simple</artifactId> |
||
716 | <version>1.5.6</version> |
||
717 | <type>jar</type> |
||
718 | <scope>compile</scope> |
||
719 | </dependency>
|
||
720 | <dependency>
|
||
721 | <groupId>struts</groupId> |
||
722 | <artifactId>struts</artifactId> |
||
723 | <version>1.1</version> |
||
724 | <type>jar</type> |
||
725 | <scope>compile</scope> |
||
726 | </dependency>
|
||
727 | <dependency>
|
||
728 | <groupId>struts</groupId> |
||
729 | <artifactId>struts-el</artifactId> |
||
730 | <version>1.1</version> |
||
731 | <type>jar</type> |
||
732 | <scope>compile</scope> |
||
733 | </dependency>
|
||
734 | 119:6973002711ef | hadi | <dependency>
|
735 | 0:ea666cc7880e | hadi | <groupId>struts</groupId> |
736 | <artifactId>struts-legacy</artifactId> |
||
737 | <version>1.1</version> |
||
738 | <type>jar</type> |
||
739 | <scope>compile</scope> |
||
740 | </dependency>
|
||
741 | <dependency>
|
||
742 | <groupId>commons-beanutils</groupId> |
||
743 | <artifactId>commons-beanutils</artifactId> |
||
744 | <version>1.8.3</version> |
||
745 | <type>jar</type> |
||
746 | <scope>compile</scope> |
||
747 | </dependency>
|
||
748 | <dependency>
|
||
749 | <groupId>javax.activation</groupId> |
||
750 | <artifactId>activation</artifactId> |
||
751 | <version>1.1.1</version> |
||
752 | <type>jar</type> |
||
753 | <scope>compile</scope> |
||
754 | </dependency>
|
||
755 | <dependency>
|
||
756 | <groupId>commons-digester</groupId> |
||
757 | <artifactId>commons-digester</artifactId> |
||
758 | <version>1.7</version> |
||
759 | <type>jar</type> |
||
760 | <scope>compile</scope> |
||
761 | 22:42bff624100e | mohd | <exclusions>
|
762 | <exclusion>
|
||
763 | <artifactId>xml-apis</artifactId> |
||
764 | <groupId>xml-apis</groupId> |
||
765 | </exclusion>
|
||
766 | </exclusions>
|
||
767 | 0:ea666cc7880e | hadi | </dependency>
|
768 | <dependency>
|
||
769 | <groupId>commons-discovery</groupId> |
||
770 | <artifactId>commons-discovery</artifactId> |
||
771 | <version>0.2</version> |
||
772 | <type>jar</type> |
||
773 | <scope>compile</scope> |
||
774 | </dependency>
|
||
775 | <dependency>
|
||
776 | <groupId>commons-fileupload</groupId> |
||
777 | <artifactId>commons-fileupload</artifactId> |
||
778 | <version>1.2.1</version> |
||
779 | <type>jar</type> |
||
780 | <scope>compile</scope> |
||
781 | </dependency>
|
||
782 | <dependency>
|
||
783 | 119:6973002711ef | hadi | <groupId>commons-io</groupId> |
784 | <artifactId>commons-io</artifactId> |
||
785 | <version>1.4</version> |
||
786 | 0:ea666cc7880e | hadi | </dependency>
|
787 | <dependency>
|
||
788 | <groupId>commons-lang</groupId> |
||
789 | <artifactId>commons-lang</artifactId> |
||
790 | <version>2.6</version> |
||
791 | <type>jar</type> |
||
792 | <scope>compile</scope> |
||
793 | </dependency>
|
||
794 | <dependency>
|
||
795 | <groupId>taglibs</groupId> |
||
796 | <artifactId>standard</artifactId> |
||
797 | <version>1.1.2</version> |
||
798 | <type>jar</type> |
||
799 | <scope>compile</scope> |
||
800 | </dependency>
|
||
801 | <dependency>
|
||
802 | <groupId>wsdl4j</groupId> |
||
803 | <artifactId>wsdl4j</artifactId> |
||
804 | <version>1.6.2</version> |
||
805 | <type>jar</type> |
||
806 | <scope>compile</scope> |
||
807 | </dependency>
|
||
808 | <dependency>
|
||
809 | <groupId>javax.sql</groupId> |
||
810 | <artifactId>jdbc-stdext</artifactId> |
||
811 | <version>2.0</version> |
||
812 | <scope>compile</scope> |
||
813 | </dependency>
|
||
814 | <dependency>
|
||
815 | <groupId>javax.servlet</groupId> |
||
816 | <artifactId>servlet-api</artifactId> |
||
817 | <version>2.3</version> |
||
818 | <type>jar</type> |
||
819 | <scope>provided</scope> |
||
820 | </dependency>
|
||
821 | <dependency>
|
||
822 | <groupId>javax.servlet.jsp</groupId> |
||
823 | <artifactId>jsp-api</artifactId> |
||
824 | <version>2.1</version> |
||
825 | <type>jar</type> |
||
826 | <scope>provided</scope> |
||
827 | </dependency>
|
||
828 | <dependency>
|
||
829 | <groupId>c3p0</groupId> |
||
830 | <artifactId>c3p0</artifactId> |
||
831 | <version>0.9.1.2</version> |
||
832 | <type>jar</type> |
||
833 | <scope>compile</scope> |
||
834 | </dependency>
|
||
835 | <dependency>
|
||
836 | <groupId>commons-dbcp</groupId> |
||
837 | <artifactId>commons-dbcp</artifactId> |
||
838 | <version>1.2.2</version> |
||
839 | <type>jar</type> |
||
840 | <scope>compile</scope> |
||
841 | </dependency>
|
||
842 | <dependency>
|
||
843 | <groupId>commons-pool</groupId> |
||
844 | <artifactId>commons-pool</artifactId> |
||
845 | <version>1.3</version> |
||
846 | <type>jar</type> |
||
847 | <scope>compile</scope> |
||
848 | </dependency>
|
||
849 | <dependency>
|
||
850 | <groupId>org.hibernate</groupId> |
||
851 | <artifactId>hibernate-c3p0</artifactId> |
||
852 | <version>3.3.1.GA</version> |
||
853 | <type>jar</type> |
||
854 | <scope>compile</scope> |
||
855 | </dependency>
|
||
856 | <dependency>
|
||
857 | <groupId>com.google.code.gson</groupId> |
||
858 | <artifactId>gson</artifactId> |
||
859 | <version>1.7.1</version> |
||
860 | </dependency>
|
||
861 | <dependency>
|
||
862 | <groupId>org.coury</groupId> |
||
863 | <artifactId>jfilehelpers</artifactId> |
||
864 | <version>0.2a-20111103</version> |
||
865 | </dependency>
|
||
866 | <dependency>
|
||
867 | 119:6973002711ef | hadi | <groupId>org.seleniumhq.selenium</groupId> |
868 | <artifactId>selenium-server</artifactId> |
||
869 | <version>2.35.0</version> |
||
870 | <scope>test</scope> |
||
871 | </dependency>
|
||
872 | 0:ea666cc7880e | hadi | </dependencies>
|
873 | </project> |