Statistics
| Branch: | Revision:

m2u-upass-core / pom.xml @ 24:dd5aa1133c23

History | View | Annotate | Download (11.2 KB)

1 0:02300db8682b hadi
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
4
        <modelVersion>4.0.0</modelVersion>
5
6
        <groupId>net.penril</groupId>
7 1:422937082a3a hadi
        <artifactId>m2u-upass-core</artifactId>
8 0:02300db8682b hadi
        <version>2.0-SNAPSHOT</version>
9 1:422937082a3a hadi
        <name>M2U UPass Core</name>
10 0:02300db8682b hadi
        <properties>
11
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12
                <cobertura.version>1.9.4.1</cobertura.version>
13
                <config.postfix />
14 20:b876422b6124 hadi
                <m2u-upass-classifier></m2u-upass-classifier>
15 0:02300db8682b hadi
        </properties>
16 21:34a9b7a17563 hadi
        <distributionManagement>
17
                <snapshotRepository>
18
                        <id>penril.nexus.repo</id>
19
                        <name>Penril Nexus Repo</name>
20
                        <url>scp://staging.penril.net/usr/share/tomcat5/sonatype-work/nexus/storage/snapshots</url>
21 22:fe842173f882 hadi
                        <uniqueVersion>false</uniqueVersion>
22 21:34a9b7a17563 hadi
                </snapshotRepository>
23
        </distributionManagement>
24 0:02300db8682b hadi
        <build>
25
                <sourceDirectory>src</sourceDirectory>
26
                <resources>
27
                        <resource>
28
                                <directory>resources</directory>
29
                        </resource>
30
                </resources>
31
                <pluginManagement>
32
                        <plugins>
33
                                <plugin>
34
                                        <groupId>org.codehaus.mojo</groupId>
35
                                        <artifactId>cobertura-maven-plugin</artifactId>
36
                                        <version>2.5.1</version>
37
                                </plugin>
38
                                <plugin>
39
                                        <groupId>org.apache.maven.plugins</groupId>
40
                                        <artifactId>maven-antrun-plugin</artifactId>
41
                                        <version>1.6</version>
42
                                </plugin>
43
                        </plugins>
44
                </pluginManagement>
45
                <plugins>
46
                        <plugin>
47
                                <groupId>org.apache.maven.plugins</groupId>
48
                                <artifactId>maven-compiler-plugin</artifactId>
49
                                <version>2.3.2</version>
50
                                <configuration>
51 2:dcd717e1bcae hadi
                                        <source>1.5</source>
52
                                        <target>1.5</target>
53 0:02300db8682b hadi
                                </configuration>
54
                        </plugin>
55
                </plugins>
56
        </build>
57
        <profiles>
58
                <profile>
59
                        <id>env-ant</id>
60
                        <activation>
61
                                <property>
62
                                        <name>env</name>
63
                                </property>
64
                        </activation>
65
                        <build>
66
                                <plugins>
67
                                        <plugin>
68
                                                <artifactId>maven-antrun-plugin</artifactId>
69
                                                <executions>
70
                                                        <execution>
71
                                                                <id>env-config</id>
72
                                                                <phase>process-resources</phase>
73
                                                                <configuration>
74
                                                                        <target>
75 20:b876422b6124 hadi
                                                                                <delete
76
                                                                                        file="${project.build.outputDirectory}/com/ib/hibernate/configuration/hibernate.cfg.xml" />
77
                                                                                <copy
78
                                                                                        file="resources/com/ib/hibernate/configuration/hibernate${config.postfix}.cfg.xml"
79 0:02300db8682b hadi
                                                                                        tofile="${project.build.outputDirectory}/com/ib/hibernate/configuration/hibernate.cfg.xml" />
80
81
                                                                                <delete>
82 20:b876422b6124 hadi
                                                                                        <fileset
83
                                                                                                dir="${project.build.outputDirectory}/com/ib/hibernate/configuration"
84 0:02300db8682b hadi
                                                                                                includes="hibernate.*.cfg.xml" />
85
                                                                                </delete>
86
87
                                                                                <delete file="${project.build.outputDirectory}/proxool.properties" />
88
                                                                                <copy file="resources/proxool${config.postfix}.properties"
89
                                                                                        tofile="${project.build.outputDirectory}/proxool.properties" />
90
91
                                                                                <delete>
92
                                                                                        <fileset dir="${project.build.outputDirectory}"
93
                                                                                                includes="proxool.*.properties" />
94
                                                                                </delete>
95
                                                                        </target>
96
                                                                </configuration>
97
                                                                <goals>
98
                                                                        <goal>run</goal>
99
                                                                </goals>
100
                                                        </execution>
101
                                                </executions>
102
                                        </plugin>
103
                                </plugins>
104
                        </build>
105
                </profile>
106
                <profile>
107
                        <id>env-dev-penril</id>
108
                        <activation>
109
                                <property>
110
                                        <name>env</name>
111
                                        <value>dev-penril</value>
112
                                </property>
113
                        </activation>
114
                        <properties>
115
                                <config.postfix>.dev-penril</config.postfix>
116
                        </properties>
117
                </profile>
118
                <profile>
119
                        <id>env-staging-ci</id>
120
                        <activation>
121
                                <property>
122
                                        <name>env</name>
123
                                        <value>staging-ci</value>
124
                                </property>
125
                        </activation>
126
                        <properties>
127
                                <config.postfix>.staging-ci</config.postfix>
128
                        </properties>
129
                </profile>
130
                <profile>
131
                        <id>cobertura-instrument</id>
132
                        <activation>
133
                                <property>
134
                                        <name>cobertura-build</name>
135
                                </property>
136
                        </activation>
137 20:b876422b6124 hadi
                        <properties>
138
                                <m2u-upass-classifier>instrumented</m2u-upass-classifier>
139
                        </properties>
140 0:02300db8682b hadi
                        <build>
141
                                <plugins>
142
                                        <plugin>
143 20:b876422b6124 hadi
                                                <artifactId>maven-jar-plugin</artifactId>
144
                                                <configuration>
145
                                                        <classifier>${m2u-upass-classifier}</classifier>
146
                                                </configuration>
147
                                        </plugin>
148
                                        <plugin>
149 0:02300db8682b hadi
                                                <groupId>org.codehaus.mojo</groupId>
150
                                                <artifactId>cobertura-maven-plugin</artifactId>
151
                                                <configuration>
152
                                                        <formats>
153
                                                                <format>html</format>
154
                                                                <format>xml</format>
155
                                                        </formats>
156
157
                                                        <instrumentation>
158
                                                                <ignores>
159
                                                                        <!-- <ignore>com.example.boringcode.*</ignore> -->
160
161
                                                                        <!-- <ignore>my.com.upass.SelfTest</ignore> -->
162 20:b876422b6124 hadi
                                                                </ignores>
163 0:02300db8682b hadi
                                                                <excludes>
164 20:b876422b6124 hadi
                                                                        <!-- <exclude>com/example/dullcode/**/*.class</exclude> <exclude>com/example/**/*Test.class</exclude> -->
165 0:02300db8682b hadi
                                                                        <!-- <exclude>my/com/upass/UPassController.class</exclude> -->
166
                                                                        <exclude>my/com/upass/GemaltoTest*.class</exclude>
167
                                                                        <exclude>my/com/upass/GemaltoTokenBean*.class</exclude>
168
                                                                        <exclude>my/com/upass/UPassController*.class</exclude>
169
                                                                        <exclude>my/com/upass/UPassControllerExt*.class</exclude>
170 20:b876422b6124 hadi
                                                                        <exclude>my/com/upass/db/DBOperations*.class</exclude>
171
                                                                        <exclude>my/com/upass/dao/hibernate/UserGemaltoDAOHibernate*.class</exclude>
172
                                                                        <exclude>my/com/upass/dao/hibernate/UserSecureMetricDAOHibernate*.class</exclude>
173
                                                                        <exclude>my/com/upass/dao/hibernate/UserVascoDAOHibernate*.class</exclude>
174 0:02300db8682b hadi
                                                                        <exclude>my/com/upass/SelfTest*.class</exclude>
175
                                                                        <exclude>my/com/upass/gemalto/**/*.class</exclude>
176
                                                                        <exclude>my/com/upass/secure/**/*.class</exclude>
177
                                                                        <exclude>my/com/upass/security/**/*.class</exclude>
178
                                                                        <exclude>my/com/upass/vasco/**/*.class</exclude>
179 7:916869634e2c mohd
                                                                        <exclude>my/com/upass/services/*Token*.class</exclude>
180
                                                                        <exclude>my/com/upass/services/*SecurityCode*.class</exclude>
181
                                                                        <exclude>my/com/upass/dao/*Token*.class</exclude>
182
                                                                        <exclude>my/com/upass/dao/*SecurityCode*.class</exclude>
183
                                                                        <exclude>my/com/upass/dao/**/*Token*.class</exclude>
184
                                                                        <exclude>my/com/upass/dao/**/*SecurityCode*.class</exclude>
185
                                                                        <exclude>my/com/upass/pojo/*Token*.class</exclude>
186
                                                                        <exclude>my/com/upass/pojo/SecurityCode*.class</exclude>
187 0:02300db8682b hadi
                                                                </excludes>
188
                                                        </instrumentation>
189
190
                                                        <!-- TODO: To be configured... -->
191
                                                        <check>
192
                                                                <branchRate>85</branchRate>
193
                                                                <lineRate>85</lineRate>
194
                                                                <haltOnFailure>true</haltOnFailure>
195
                                                                <totalBranchRate>85</totalBranchRate>
196
                                                                <totalLineRate>85</totalLineRate>
197
                                                                <packageLineRate>85</packageLineRate>
198
                                                                <packageBranchRate>85</packageBranchRate>
199
                                                                <regexes>
200
                                                                        <regex>
201
                                                                                <pattern>com.example.reallyimportant.*</pattern>
202
                                                                                <branchRate>90</branchRate>
203
                                                                                <lineRate>80</lineRate>
204
                                                                        </regex>
205
                                                                        <regex>
206
                                                                                <pattern>com.example.boringcode.*</pattern>
207
                                                                                <branchRate>40</branchRate>
208
                                                                                <lineRate>30</lineRate>
209
                                                                        </regex>
210
                                                                </regexes>
211
                                                        </check>
212
                                                </configuration>
213
                                                <executions>
214
                                                        <execution>
215
                                                                <id>instrument-code</id>
216
                                                                <phase>process-classes</phase>
217
                                                                <goals>
218
                                                                        <goal>instrument</goal>
219
                                                                </goals>
220
                                                                <configuration>
221
                                                                        <attach>true</attach>
222
                                                                </configuration>
223
                                                        </execution>
224
                                                </executions>
225
                                        </plugin>
226
                                        <plugin>
227
                                                <artifactId>maven-source-plugin</artifactId>
228
                                                <executions>
229
                                                        <execution>
230
                                                                <id>attach-sources</id>
231
                                                                <goals>
232
                                                                        <goal>jar</goal>
233
                                                                </goals>
234
                                                        </execution>
235
                                                </executions>
236
                                                <inherited>true</inherited>
237
                                        </plugin>
238
                                </plugins>
239
                        </build>
240
                        <dependencies>
241
                                <dependency>
242
                                        <groupId>net.sourceforge.cobertura</groupId>
243
                                        <artifactId>cobertura-runtime</artifactId>
244
                                        <version>${cobertura.version}</version>
245
                                        <!-- <scope>provided</scope> -->
246
                                        <scope>compile</scope>
247
                                        <type>pom</type>
248
                                </dependency>
249
                        </dependencies>
250
                </profile>
251
                <profile>
252
                        <id>env-staging-agro</id>
253
                        <activation>
254
                                <property>
255
                                        <name>env</name>
256
                                        <value>staging-agro</value>
257
                                </property>
258
                        </activation>
259
                        <distributionManagement>
260
                                <snapshotRepository>
261
                                        <id>agro.nexus.repo</id>
262
                                        <name>Agro Nexus Repo</name>
263
                                        <url>scp://10.6.6.20/cygdrive/d/programs/sonatype-work/nexus/storage/snapshots</url>
264
                                </snapshotRepository>
265
                        </distributionManagement>
266
                </profile>
267
        </profiles>
268
        <dependencies>
269
                <dependency>
270
                        <groupId>net.penril</groupId>
271
                        <artifactId>aal2wrap</artifactId>
272
                        <version>1</version>
273
                </dependency>
274
                <dependency>
275
                        <groupId>com.microsoft</groupId>
276 4:ab707df86eff hadi
                        <artifactId>mssql-jdbc</artifactId>
277
                        <version>3.0</version>
278 0:02300db8682b hadi
                </dependency>
279
                <dependency>
280
                        <groupId>antlr</groupId>
281
                        <artifactId>antlr</artifactId>
282
                        <version>2.7.6</version>
283
                        <type>jar</type>
284
                        <scope>compile</scope>
285
                </dependency>
286
                <dependency>
287
                        <groupId>javassist</groupId>
288
                        <artifactId>javassist</artifactId>
289
                        <version>3.4.GA</version>
290
                        <type>jar</type>
291
                        <scope>compile</scope>
292
                </dependency>
293
                <dependency>
294
                        <groupId>javax.transaction</groupId>
295
                        <artifactId>jta</artifactId>
296
                        <version>1.1</version>
297
                        <type>jar</type>
298
                        <scope>compile</scope>
299
                </dependency>
300
                <dependency>
301
                        <groupId>org.slf4j</groupId>
302
                        <artifactId>slf4j-simple</artifactId>
303
                        <version>1.5.6</version>
304
                        <type>jar</type>
305
                        <scope>compile</scope>
306
                </dependency>
307
                <dependency>
308
                        <groupId>org.slf4j</groupId>
309
                        <artifactId>slf4j-api</artifactId>
310
                        <version>1.5.6</version>
311
                        <type>jar</type>
312
                        <scope>compile</scope>
313
                </dependency>
314
                <dependency>
315
                        <groupId>org.slf4j</groupId>
316
                        <artifactId>slf4j-log4j12</artifactId>
317
                        <version>1.5.6</version>
318
                        <type>jar</type>
319
                        <scope>compile</scope>
320
                </dependency>
321
                <dependency>
322
                        <groupId>org.jasypt</groupId>
323
                        <artifactId>jasypt</artifactId>
324
                        <version>1.9.0</version>
325
                </dependency>
326
                <dependency>
327
                        <groupId>ocra</groupId>
328
                        <artifactId>ocra</artifactId>
329
                        <version>1.0</version>
330
                </dependency>
331
                <dependency>
332 20:b876422b6124 hadi
                        <groupId>net.penril</groupId>
333
                        <artifactId>jotpcore</artifactId>
334
                        <version>3.2</version>
335 0:02300db8682b hadi
                </dependency>
336
                <dependency>
337 20:b876422b6124 hadi
                        <groupId>net.penril</groupId>
338
                        <artifactId>commons-logging</artifactId>
339
                        <version>1.1.1</version>
340 0:02300db8682b hadi
                </dependency>
341
                <dependency>
342 20:b876422b6124 hadi
                        <groupId>net.penril</groupId>
343
                        <artifactId>proxool</artifactId>
344
                        <version>0.9.1</version>
345 0:02300db8682b hadi
                </dependency>
346
                <dependency>
347 20:b876422b6124 hadi
                        <groupId>net.penril</groupId>
348
                        <artifactId>proxool-cglib</artifactId>
349
                        <version>1</version>
350 0:02300db8682b hadi
                </dependency>
351
                <dependency>
352 20:b876422b6124 hadi
                        <groupId>net.penril</groupId>
353
                        <artifactId>bcprov-jdk</artifactId>
354
                        <version>15-144</version>
355 0:02300db8682b hadi
                </dependency>
356
                <dependency>
357 20:b876422b6124 hadi
                        <groupId>net.penril</groupId>
358
                        <artifactId>NCSO</artifactId>
359
                        <version>1</version>
360 0:02300db8682b hadi
                </dependency>
361
                <dependency>
362
                        <groupId>net.sourceforge.jtds</groupId>
363
                        <artifactId>jtds</artifactId>
364
                        <version>1.2.2</version>
365
                </dependency>
366 2:dcd717e1bcae hadi
                <dependency>
367
                        <groupId>commons-lang</groupId>
368
                        <artifactId>commons-lang</artifactId>
369
                        <version>2.5</version>
370
                </dependency>
371 7:916869634e2c mohd
                <!-- ORACLE database driver -->
372
                <dependency>
373 20:b876422b6124 hadi
                        <groupId>com.oracle.jdbc</groupId>
374
                        <artifactId>com.springsource.oracle.jdbc</artifactId>
375
                        <version>10.2.0.2</version>
376 11:e92d8afdb147 hadi
                </dependency>
377
                <dependency>
378 9:16125cca68e4 hadi
                        <groupId>net.penril</groupId>
379
                        <artifactId>m2u-upass-min</artifactId>
380 12:f7977c015764 hadi
                        <version>2.0-SNAPSHOT</version>
381 20:b876422b6124 hadi
                        <classifier>${m2u-upass-classifier}</classifier>
382 7:916869634e2c mohd
                </dependency>
383 16:de89bce5d7f3 hadi
                <dependency>
384 20:b876422b6124 hadi
                        <groupId>org.hibernate</groupId>
385
                        <artifactId>hibernate-c3p0</artifactId>
386
                        <version>3.3.1.GA</version>
387 16:de89bce5d7f3 hadi
                </dependency>
388 0:02300db8682b hadi
        </dependencies>
389
</project>