m2u-upass-core / pom.xml @ 74:214028f5d496
History | View | Annotate | Download (8.97 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 |
<m2u-upass-classifier></m2u-upass-classifier> |
15 |
</properties>
|
16 |
<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 |
<uniqueVersion>false</uniqueVersion> |
22 |
</snapshotRepository>
|
23 |
</distributionManagement>
|
24 |
<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 |
<source>1.6</source> |
52 |
<target>1.6</target> |
53 |
</configuration>
|
54 |
</plugin>
|
55 |
</plugins>
|
56 |
</build>
|
57 |
<profiles>
|
58 |
<profile>
|
59 |
<id>cobertura-instrument</id> |
60 |
<activation>
|
61 |
<property>
|
62 |
<name>cobertura-build</name> |
63 |
</property>
|
64 |
</activation>
|
65 |
<properties>
|
66 |
<m2u-upass-classifier>instrumented</m2u-upass-classifier> |
67 |
</properties>
|
68 |
<build>
|
69 |
<plugins>
|
70 |
<plugin>
|
71 |
<artifactId>maven-jar-plugin</artifactId> |
72 |
<configuration>
|
73 |
<classifier>${m2u-upass-classifier}</classifier> |
74 |
</configuration>
|
75 |
</plugin>
|
76 |
<plugin>
|
77 |
<groupId>org.codehaus.mojo</groupId> |
78 |
<artifactId>cobertura-maven-plugin</artifactId> |
79 |
<configuration>
|
80 |
<formats>
|
81 |
<format>html</format> |
82 |
<format>xml</format> |
83 |
</formats>
|
84 |
|
85 |
<instrumentation>
|
86 |
<ignores>
|
87 |
<!-- <ignore>com.example.boringcode.*</ignore> -->
|
88 |
|
89 |
<!-- <ignore>my.com.upass.SelfTest</ignore> -->
|
90 |
</ignores>
|
91 |
<excludes>
|
92 |
<!-- <exclude>com/example/dullcode/**/*.class</exclude> <exclude>com/example/**/*Test.class</exclude> -->
|
93 |
<!-- <exclude>my/com/upass/UPassController.class</exclude> -->
|
94 |
<exclude>my/com/upass/GemaltoTest*.class</exclude> |
95 |
<exclude>my/com/upass/GemaltoTokenBean*.class</exclude> |
96 |
<exclude>my/com/upass/UPassController.class</exclude> |
97 |
<exclude>my/com/upass/UPassControllerExt*.class</exclude> |
98 |
<exclude>my/com/upass/db/DBOperations*.class</exclude> |
99 |
<exclude>my/com/upass/dao/hibernate/UserGemaltoDAOHibernate*.class</exclude> |
100 |
<exclude>my/com/upass/dao/hibernate/UserSecureMetricDAOHibernate*.class</exclude> |
101 |
<exclude>my/com/upass/dao/hibernate/UserVascoDAOHibernate*.class</exclude> |
102 |
<exclude>my/com/upass/SelfTest*.class</exclude> |
103 |
<exclude>my/com/upass/gemalto/**/*.class</exclude> |
104 |
<exclude>my/com/upass/secure/**/*.class</exclude> |
105 |
<exclude>my/com/upass/security/**/*.class</exclude> |
106 |
<exclude>my/com/upass/vasco/**/*.class</exclude> |
107 |
<exclude>my/com/upass/tac/**/*.class</exclude> |
108 |
<exclude>my/com/upass/services/*Tac*.class</exclude> |
109 |
<exclude>my/com/upass/services/*Token*.class</exclude> |
110 |
<exclude>my/com/upass/services/*SecurityCode*.class</exclude> |
111 |
<exclude>my/com/upass/dao/*Token*.class</exclude> |
112 |
<exclude>my/com/upass/dao/*SecurityCode*.class</exclude> |
113 |
<exclude>my/com/upass/dao/**/*Token*.class</exclude> |
114 |
<exclude>my/com/upass/dao/**/*SecurityCode*.class</exclude> |
115 |
<exclude>my/com/upass/pojo/*Token*.class</exclude> |
116 |
<exclude>my/com/upass/pojo/SecurityCode*.class</exclude> |
117 |
</excludes>
|
118 |
</instrumentation>
|
119 |
|
120 |
<!-- TODO: To be configured... -->
|
121 |
<check>
|
122 |
<branchRate>85</branchRate> |
123 |
<lineRate>85</lineRate> |
124 |
<haltOnFailure>true</haltOnFailure> |
125 |
<totalBranchRate>85</totalBranchRate> |
126 |
<totalLineRate>85</totalLineRate> |
127 |
<packageLineRate>85</packageLineRate> |
128 |
<packageBranchRate>85</packageBranchRate> |
129 |
<regexes>
|
130 |
<regex>
|
131 |
<pattern>com.example.reallyimportant.*</pattern> |
132 |
<branchRate>90</branchRate> |
133 |
<lineRate>80</lineRate> |
134 |
</regex>
|
135 |
<regex>
|
136 |
<pattern>com.example.boringcode.*</pattern> |
137 |
<branchRate>40</branchRate> |
138 |
<lineRate>30</lineRate> |
139 |
</regex>
|
140 |
</regexes>
|
141 |
</check>
|
142 |
</configuration>
|
143 |
<executions>
|
144 |
<execution>
|
145 |
<id>instrument-code</id> |
146 |
<phase>process-classes</phase> |
147 |
<goals>
|
148 |
<goal>instrument</goal> |
149 |
</goals>
|
150 |
<configuration>
|
151 |
<attach>true</attach> |
152 |
</configuration>
|
153 |
</execution>
|
154 |
</executions>
|
155 |
</plugin>
|
156 |
<plugin>
|
157 |
<artifactId>maven-source-plugin</artifactId> |
158 |
<executions>
|
159 |
<execution>
|
160 |
<id>attach-sources</id> |
161 |
<goals>
|
162 |
<goal>jar</goal> |
163 |
</goals>
|
164 |
</execution>
|
165 |
</executions>
|
166 |
<inherited>true</inherited> |
167 |
</plugin>
|
168 |
</plugins>
|
169 |
</build>
|
170 |
<dependencies>
|
171 |
<dependency>
|
172 |
<groupId>net.sourceforge.cobertura</groupId> |
173 |
<artifactId>cobertura-runtime</artifactId> |
174 |
<version>${cobertura.version}</version> |
175 |
<!-- <scope>provided</scope> -->
|
176 |
<scope>compile</scope> |
177 |
<type>pom</type> |
178 |
</dependency>
|
179 |
</dependencies>
|
180 |
</profile>
|
181 |
</profiles>
|
182 |
<dependencies>
|
183 |
<dependency>
|
184 |
<groupId>net.penril</groupId> |
185 |
<artifactId>aal2wrap</artifactId> |
186 |
<version>1</version> |
187 |
</dependency>
|
188 |
<dependency>
|
189 |
<groupId>com.microsoft</groupId> |
190 |
<artifactId>mssql-jdbc</artifactId> |
191 |
<version>3.0</version> |
192 |
</dependency>
|
193 |
<dependency>
|
194 |
<groupId>antlr</groupId> |
195 |
<artifactId>antlr</artifactId> |
196 |
<version>2.7.6</version> |
197 |
<type>jar</type> |
198 |
<scope>compile</scope> |
199 |
</dependency>
|
200 |
<dependency>
|
201 |
<groupId>javassist</groupId> |
202 |
<artifactId>javassist</artifactId> |
203 |
<version>3.4.GA</version> |
204 |
<type>jar</type> |
205 |
<scope>compile</scope> |
206 |
</dependency>
|
207 |
<dependency>
|
208 |
<groupId>javax.transaction</groupId> |
209 |
<artifactId>jta</artifactId> |
210 |
<version>1.1</version> |
211 |
<type>jar</type> |
212 |
<scope>compile</scope> |
213 |
</dependency>
|
214 |
<dependency>
|
215 |
<groupId>org.slf4j</groupId> |
216 |
<artifactId>slf4j-simple</artifactId> |
217 |
<version>1.5.6</version> |
218 |
<type>jar</type> |
219 |
<scope>compile</scope> |
220 |
</dependency>
|
221 |
<dependency>
|
222 |
<groupId>org.slf4j</groupId> |
223 |
<artifactId>slf4j-api</artifactId> |
224 |
<version>1.5.6</version> |
225 |
<type>jar</type> |
226 |
<scope>compile</scope> |
227 |
</dependency>
|
228 |
<dependency>
|
229 |
<groupId>org.slf4j</groupId> |
230 |
<artifactId>slf4j-log4j12</artifactId> |
231 |
<version>1.5.6</version> |
232 |
<type>jar</type> |
233 |
<scope>compile</scope> |
234 |
</dependency>
|
235 |
<dependency>
|
236 |
<groupId>org.jasypt</groupId> |
237 |
<artifactId>jasypt</artifactId> |
238 |
<version>1.9.0</version> |
239 |
</dependency>
|
240 |
<dependency>
|
241 |
<groupId>ocra</groupId> |
242 |
<artifactId>ocra</artifactId> |
243 |
<version>1.0</version> |
244 |
</dependency>
|
245 |
<dependency>
|
246 |
<groupId>net.penril</groupId> |
247 |
<artifactId>jotpcore</artifactId> |
248 |
<version>3.2</version> |
249 |
</dependency>
|
250 |
<dependency>
|
251 |
<groupId>net.penril</groupId> |
252 |
<artifactId>commons-logging</artifactId> |
253 |
<version>1.1.1</version> |
254 |
</dependency>
|
255 |
<dependency>
|
256 |
<groupId>net.penril</groupId> |
257 |
<artifactId>proxool</artifactId> |
258 |
<version>0.9.1</version> |
259 |
</dependency>
|
260 |
<dependency>
|
261 |
<groupId>net.penril</groupId> |
262 |
<artifactId>proxool-cglib</artifactId> |
263 |
<version>1</version> |
264 |
</dependency>
|
265 |
<dependency>
|
266 |
<groupId>net.penril</groupId> |
267 |
<artifactId>bcprov-jdk</artifactId> |
268 |
<version>15-144</version> |
269 |
</dependency>
|
270 |
<dependency>
|
271 |
<groupId>net.penril</groupId> |
272 |
<artifactId>NCSO</artifactId> |
273 |
<version>1</version> |
274 |
</dependency>
|
275 |
<dependency>
|
276 |
<groupId>net.sourceforge.jtds</groupId> |
277 |
<artifactId>jtds</artifactId> |
278 |
<version>1.2.2</version> |
279 |
</dependency>
|
280 |
<dependency>
|
281 |
<groupId>commons-lang</groupId> |
282 |
<artifactId>commons-lang</artifactId> |
283 |
<version>2.5</version> |
284 |
</dependency>
|
285 |
<!-- ORACLE database driver -->
|
286 |
<dependency>
|
287 |
<groupId>com.oracle.jdbc</groupId> |
288 |
<artifactId>com.springsource.oracle.jdbc</artifactId> |
289 |
<version>10.2.0.2</version> |
290 |
</dependency>
|
291 |
<dependency>
|
292 |
<groupId>net.penril</groupId> |
293 |
<artifactId>m2u-upass-min</artifactId> |
294 |
<version>2.0-SNAPSHOT</version> |
295 |
<classifier>${m2u-upass-classifier}</classifier> |
296 |
</dependency>
|
297 |
<dependency>
|
298 |
<groupId>org.hibernate</groupId> |
299 |
<artifactId>hibernate-c3p0</artifactId> |
300 |
<version>3.3.1.GA</version> |
301 |
</dependency>
|
302 |
</dependencies>
|
303 |
</project>
|
304 |
|