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