m2u-upass-core / pom.xml @ 30:aec0089bb43e
History | View | Annotate | Download (10.5 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 | 30:aec0089bb43e | hadi | <source>1.6</source> |
52 | <target>1.6</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 | <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 | <properties>
|
||
103 | <config.postfix>.dev-penril</config.postfix> |
||
104 | </properties>
|
||
105 | </profile>
|
||
106 | <profile>
|
||
107 | <id>env-staging-ci</id> |
||
108 | <activation>
|
||
109 | <property>
|
||
110 | <name>env</name> |
||
111 | <value>staging-ci</value> |
||
112 | </property>
|
||
113 | </activation>
|
||
114 | <properties>
|
||
115 | <config.postfix>.staging-ci</config.postfix> |
||
116 | </properties>
|
||
117 | </profile>
|
||
118 | <profile>
|
||
119 | 29:d69bc3387518 | mohd | <id>env-maybank-dev</id> |
120 | <activation>
|
||
121 | <property>
|
||
122 | <name>env</name> |
||
123 | <value>maybank-dev</value> |
||
124 | </property>
|
||
125 | </activation>
|
||
126 | <properties>
|
||
127 | <config.postfix>.maybank-dev</config.postfix> |
||
128 | </properties>
|
||
129 | </profile>
|
||
130 | <profile>
|
||
131 | 0:02300db8682b | hadi | <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 | </profiles>
|
||
252 | <dependencies>
|
||
253 | <dependency>
|
||
254 | <groupId>net.penril</groupId> |
||
255 | <artifactId>aal2wrap</artifactId> |
||
256 | <version>1</version> |
||
257 | </dependency>
|
||
258 | <dependency>
|
||
259 | <groupId>com.microsoft</groupId> |
||
260 | 4:ab707df86eff | hadi | <artifactId>mssql-jdbc</artifactId> |
261 | <version>3.0</version> |
||
262 | 0:02300db8682b | hadi | </dependency>
|
263 | <dependency>
|
||
264 | <groupId>antlr</groupId> |
||
265 | <artifactId>antlr</artifactId> |
||
266 | <version>2.7.6</version> |
||
267 | <type>jar</type> |
||
268 | <scope>compile</scope> |
||
269 | </dependency>
|
||
270 | <dependency>
|
||
271 | <groupId>javassist</groupId> |
||
272 | <artifactId>javassist</artifactId> |
||
273 | <version>3.4.GA</version> |
||
274 | <type>jar</type> |
||
275 | <scope>compile</scope> |
||
276 | </dependency>
|
||
277 | <dependency>
|
||
278 | <groupId>javax.transaction</groupId> |
||
279 | <artifactId>jta</artifactId> |
||
280 | <version>1.1</version> |
||
281 | <type>jar</type> |
||
282 | <scope>compile</scope> |
||
283 | </dependency>
|
||
284 | <dependency>
|
||
285 | <groupId>org.slf4j</groupId> |
||
286 | <artifactId>slf4j-simple</artifactId> |
||
287 | <version>1.5.6</version> |
||
288 | <type>jar</type> |
||
289 | <scope>compile</scope> |
||
290 | </dependency>
|
||
291 | <dependency>
|
||
292 | <groupId>org.slf4j</groupId> |
||
293 | <artifactId>slf4j-api</artifactId> |
||
294 | <version>1.5.6</version> |
||
295 | <type>jar</type> |
||
296 | <scope>compile</scope> |
||
297 | </dependency>
|
||
298 | <dependency>
|
||
299 | <groupId>org.slf4j</groupId> |
||
300 | <artifactId>slf4j-log4j12</artifactId> |
||
301 | <version>1.5.6</version> |
||
302 | <type>jar</type> |
||
303 | <scope>compile</scope> |
||
304 | </dependency>
|
||
305 | <dependency>
|
||
306 | <groupId>org.jasypt</groupId> |
||
307 | <artifactId>jasypt</artifactId> |
||
308 | <version>1.9.0</version> |
||
309 | </dependency>
|
||
310 | <dependency>
|
||
311 | <groupId>ocra</groupId> |
||
312 | <artifactId>ocra</artifactId> |
||
313 | <version>1.0</version> |
||
314 | </dependency>
|
||
315 | <dependency>
|
||
316 | 20:b876422b6124 | hadi | <groupId>net.penril</groupId> |
317 | <artifactId>jotpcore</artifactId> |
||
318 | <version>3.2</version> |
||
319 | 0:02300db8682b | hadi | </dependency>
|
320 | <dependency>
|
||
321 | 20:b876422b6124 | hadi | <groupId>net.penril</groupId> |
322 | <artifactId>commons-logging</artifactId> |
||
323 | <version>1.1.1</version> |
||
324 | 0:02300db8682b | hadi | </dependency>
|
325 | <dependency>
|
||
326 | 20:b876422b6124 | hadi | <groupId>net.penril</groupId> |
327 | <artifactId>proxool</artifactId> |
||
328 | <version>0.9.1</version> |
||
329 | 0:02300db8682b | hadi | </dependency>
|
330 | <dependency>
|
||
331 | 20:b876422b6124 | hadi | <groupId>net.penril</groupId> |
332 | <artifactId>proxool-cglib</artifactId> |
||
333 | <version>1</version> |
||
334 | 0:02300db8682b | hadi | </dependency>
|
335 | <dependency>
|
||
336 | 20:b876422b6124 | hadi | <groupId>net.penril</groupId> |
337 | <artifactId>bcprov-jdk</artifactId> |
||
338 | <version>15-144</version> |
||
339 | 0:02300db8682b | hadi | </dependency>
|
340 | <dependency>
|
||
341 | 20:b876422b6124 | hadi | <groupId>net.penril</groupId> |
342 | <artifactId>NCSO</artifactId> |
||
343 | <version>1</version> |
||
344 | 0:02300db8682b | hadi | </dependency>
|
345 | <dependency>
|
||
346 | <groupId>net.sourceforge.jtds</groupId> |
||
347 | <artifactId>jtds</artifactId> |
||
348 | <version>1.2.2</version> |
||
349 | </dependency>
|
||
350 | 2:dcd717e1bcae | hadi | <dependency>
|
351 | <groupId>commons-lang</groupId> |
||
352 | <artifactId>commons-lang</artifactId> |
||
353 | <version>2.5</version> |
||
354 | </dependency>
|
||
355 | 7:916869634e2c | mohd | <!-- ORACLE database driver -->
|
356 | <dependency>
|
||
357 | 20:b876422b6124 | hadi | <groupId>com.oracle.jdbc</groupId> |
358 | <artifactId>com.springsource.oracle.jdbc</artifactId> |
||
359 | <version>10.2.0.2</version> |
||
360 | 11:e92d8afdb147 | hadi | </dependency>
|
361 | <dependency>
|
||
362 | 9:16125cca68e4 | hadi | <groupId>net.penril</groupId> |
363 | <artifactId>m2u-upass-min</artifactId> |
||
364 | 12:f7977c015764 | hadi | <version>2.0-SNAPSHOT</version> |
365 | 20:b876422b6124 | hadi | <classifier>${m2u-upass-classifier}</classifier> |
366 | 7:916869634e2c | mohd | </dependency>
|
367 | 16:de89bce5d7f3 | hadi | <dependency>
|
368 | 20:b876422b6124 | hadi | <groupId>org.hibernate</groupId> |
369 | <artifactId>hibernate-c3p0</artifactId> |
||
370 | <version>3.3.1.GA</version> |
||
371 | 16:de89bce5d7f3 | hadi | </dependency>
|
372 | 0:02300db8682b | hadi | </dependencies>
|
373 | </project>
|