m2u-upass-core / pom.xml @ 18:78fbff99ec6c
History | View | Annotate | Download (11.3 KB)
1 |
<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 |
<artifactId>m2u-upass-core</artifactId> |
8 |
<version>2.0-SNAPSHOT</version> |
9 |
<name>M2U UPass Core</name> |
10 |
<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 |
<source>1.5</source> |
43 |
<target>1.5</target> |
44 |
</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 |
<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 |
</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 |
<groupId>net.penril.commons</groupId> |
267 |
<artifactId>commons-hibernate-util</artifactId> |
268 |
<version>0.0.1-SNAPSHOT</version> |
269 |
</dependency>
|
270 |
<dependency>
|
271 |
<groupId>net.penril</groupId> |
272 |
<artifactId>aal2wrap</artifactId> |
273 |
<version>1</version> |
274 |
</dependency>
|
275 |
<dependency>
|
276 |
<groupId>com.microsoft</groupId> |
277 |
<artifactId>mssql-jdbc</artifactId> |
278 |
<version>3.0</version> |
279 |
</dependency>
|
280 |
<dependency>
|
281 |
<groupId>antlr</groupId> |
282 |
<artifactId>antlr</artifactId> |
283 |
<version>2.7.6</version> |
284 |
<type>jar</type> |
285 |
<scope>compile</scope> |
286 |
</dependency>
|
287 |
<dependency>
|
288 |
<groupId>javassist</groupId> |
289 |
<artifactId>javassist</artifactId> |
290 |
<version>3.4.GA</version> |
291 |
<type>jar</type> |
292 |
<scope>compile</scope> |
293 |
</dependency>
|
294 |
<dependency>
|
295 |
<groupId>javax.transaction</groupId> |
296 |
<artifactId>jta</artifactId> |
297 |
<version>1.1</version> |
298 |
<type>jar</type> |
299 |
<scope>compile</scope> |
300 |
</dependency>
|
301 |
<dependency>
|
302 |
<groupId>org.slf4j</groupId> |
303 |
<artifactId>slf4j-simple</artifactId> |
304 |
<version>1.5.6</version> |
305 |
<type>jar</type> |
306 |
<scope>compile</scope> |
307 |
</dependency>
|
308 |
<dependency>
|
309 |
<groupId>org.slf4j</groupId> |
310 |
<artifactId>slf4j-api</artifactId> |
311 |
<version>1.5.6</version> |
312 |
<type>jar</type> |
313 |
<scope>compile</scope> |
314 |
</dependency>
|
315 |
<dependency>
|
316 |
<groupId>org.slf4j</groupId> |
317 |
<artifactId>slf4j-log4j12</artifactId> |
318 |
<version>1.5.6</version> |
319 |
<type>jar</type> |
320 |
<scope>compile</scope> |
321 |
</dependency>
|
322 |
<dependency>
|
323 |
<groupId>org.jasypt</groupId> |
324 |
<artifactId>jasypt</artifactId> |
325 |
<version>1.9.0</version> |
326 |
</dependency>
|
327 |
<dependency>
|
328 |
<groupId>ocra</groupId> |
329 |
<artifactId>ocra</artifactId> |
330 |
<version>1.0</version> |
331 |
</dependency>
|
332 |
<dependency>
|
333 |
<groupId>net.penril</groupId> |
334 |
<artifactId>jotpcore</artifactId> |
335 |
<version>3.2</version> |
336 |
</dependency>
|
337 |
<dependency>
|
338 |
<groupId>net.penril</groupId> |
339 |
<artifactId>commons-logging</artifactId> |
340 |
<version>1.1.1</version> |
341 |
</dependency>
|
342 |
<dependency>
|
343 |
<groupId>net.penril</groupId> |
344 |
<artifactId>proxool</artifactId> |
345 |
<version>0.9.1</version> |
346 |
</dependency>
|
347 |
<dependency>
|
348 |
<groupId>net.penril</groupId> |
349 |
<artifactId>proxool-cglib</artifactId> |
350 |
<version>1</version> |
351 |
</dependency>
|
352 |
<dependency>
|
353 |
<groupId>net.penril</groupId> |
354 |
<artifactId>bcprov-jdk</artifactId> |
355 |
<version>15-144</version> |
356 |
</dependency>
|
357 |
<dependency>
|
358 |
<groupId>net.penril</groupId> |
359 |
<artifactId>NCSO</artifactId> |
360 |
<version>1</version> |
361 |
</dependency>
|
362 |
<dependency>
|
363 |
<groupId>net.sourceforge.jtds</groupId> |
364 |
<artifactId>jtds</artifactId> |
365 |
<version>1.2.2</version> |
366 |
</dependency>
|
367 |
<dependency>
|
368 |
<groupId>commons-lang</groupId> |
369 |
<artifactId>commons-lang</artifactId> |
370 |
<version>2.5</version> |
371 |
</dependency>
|
372 |
<!-- ORACLE database driver -->
|
373 |
<dependency>
|
374 |
<groupId>com.oracle.jdbc</groupId> |
375 |
<artifactId>com.springsource.oracle.jdbc</artifactId> |
376 |
<version>10.2.0.2</version> |
377 |
</dependency>
|
378 |
<dependency>
|
379 |
<groupId>net.penril</groupId> |
380 |
<artifactId>m2u-upass-min</artifactId> |
381 |
<version>2.0-SNAPSHOT</version> |
382 |
</dependency>
|
383 |
<dependency>
|
384 |
<groupId>org.hibernate</groupId> |
385 |
<artifactId>hibernate-c3p0</artifactId> |
386 |
<version>3.3.1.GA</version> |
387 |
</dependency>
|
388 |
</dependencies>
|
389 |
</project>
|