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