Merged
Merge Request #4 · created by 后端研发-谢家林


Qa1.0


From qa1.0 into master

Merged by 后端研发-谢家林

1 participants





.gitignore
1 /target/ 1 /target/
2 -*.iml  
3 \ No newline at end of file 2 \ No newline at end of file
  3 +*.iml
  4 +/.idea*
4 \ No newline at end of file 5 \ No newline at end of file
pom.xml
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 - <modelVersion>4.0.0</modelVersion>  
4 -  
5 - <groupId>com.ylp.common</groupId>  
6 - <artifactId>ylp-common-parent</artifactId>  
7 - <version>3.0-SNAPSHOT</version>  
8 - <packaging>pom</packaging>  
9 -  
10 - <name>ylp-common-parent</name>  
11 - <url>http://maven.apache.org</url>  
12 -  
13 - <!-- 全局属性配置 -->  
14 - <profiles>  
15 -  
16 - <!-- 开发环境 -->  
17 - <profile>  
18 - <id>main</id>  
19 - <properties>  
20 - <!-- 部署环境(对应配置文件版本) -->  
21 - <env>main</env>  
22 - <ver>3.0-SNAPSHOT</ver>  
23 - <maven.test.skip>false</maven.test.skip>  
24 - </properties>  
25 - <!-- 设置默认环境 -->  
26 - <activation>  
27 - <activeByDefault>true</activeByDefault>  
28 - </activation>  
29 - </profile>  
30 -  
31 - <!-- 测试环境 -->  
32 - <profile>  
33 - <id>test</id>  
34 - <properties>  
35 - <!-- 部署环境(对应配置文件版本) -->  
36 - <env>test</env>  
37 - <ver>3.0-SNAPSHOT</ver>  
38 - </properties>  
39 - </profile>  
40 -  
41 - <!-- qa环境 -->  
42 - <profile>  
43 - <id>qa</id>  
44 - <properties>  
45 - <!-- 部署环境(对应配置文件版本) -->  
46 - <env>qa</env>  
47 - <ver>1.0-Release</ver>  
48 - </properties>  
49 - </profile>  
50 -  
51 - <!-- 生产环境 -->  
52 - <profile>  
53 - <id>prod</id>  
54 - <properties>  
55 - <!-- 部署环境(对应配置文件版本) -->  
56 - <env>prod</env>  
57 - <ver>1.0-Release</ver>  
58 - </properties>  
59 - </profile>  
60 -  
61 - </profiles>  
62 -  
63 - <distributionManagement>  
64 - <repository>  
65 - <id>nexus-releases</id>  
66 - <name>Nexus Release Repository</name>  
67 - <url>http://172.16.8.222:8081/nexus/content/repositories/releases/</url>  
68 - </repository>  
69 - <snapshotRepository>  
70 - <id>nexus-snapshots</id>  
71 - <name>Nexus Snapshot Repository</name>  
72 - <url>http://172.16.8.222:8081/nexus/content/repositories/snapshots/</url>  
73 - </snapshotRepository>  
74 - </distributionManagement>  
75 -  
76 - <properties>  
77 - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>  
78 -  
79 -  
80 -  
81 - <!-- common projects -->  
82 - <ylp-common-tools.version>3.0-SNAPSHOT</ylp-common-tools.version>  
83 - <ylp-common-config.version>3.0-SNAPSHOT</ylp-common-config.version>  
84 - <ylp-common-core.version>3.0-SNAPSHOT</ylp-common-core.version>  
85 - <ylp-common-web.version>3.0-SNAPSHOT</ylp-common-web.version>  
86 -  
87 - <!-- facade projects -->  
88 - <ylp-facade-user.version>3.0-SNAPSHOT</ylp-facade-user.version>  
89 - <ylp-facade-account.version>3.0-SNAPSHOT</ylp-facade-account.version>  
90 - <ylp-facade-settlement.version>3.0-SNAPSHOT</ylp-facade-settlement.version>  
91 - <ylp-facade-trade.version>3.0-SNAPSHOT</ylp-facade-trade.version>  
92 - <ylp-facade-notify.version>3.0-SNAPSHOT</ylp-facade-notify.version>  
93 - <ylp-facade-source.version>3.0-SNAPSHOT</ylp-facade-source.version>  
94 - <ylp-facade-commodity.version>3.0-SNAPSHOT</ylp-facade-commodity.version>  
95 -  
96 - <!-- service projects -->  
97 - <ylp-service-user.version>3.0-SNAPSHOT</ylp-service-user.version>  
98 - <ylp-service-account.version>3.0-SNAPSHOT</ylp-service-account.version>  
99 - <ylp-service-settlement.version>3.0-SNAPSHOT</ylp-service-settlement.version>  
100 - <ylp-service-trade.version>3.0-SNAPSHOT</ylp-service-trade.version>  
101 - <ylp-service-notify.version>3.0-SNAPSHOT</ylp-service-notify.version>  
102 - <ylp-service-source.version>3.0-SNAPSHOT</ylp-service-source.version>  
103 - <ylp-service-commodity.version>3.0-SNAPSHOT</ylp-service-commodity.version>  
104 -  
105 - <!-- web projects -->  
106 - <ylp-web-pay.version>3.0-SNAPSHOT</ylp-web-pay.version>  
107 -  
108 - <!-- timer task projects -->  
109 - <ylp-timer-settlement.version>3.0-SNAPSHOT</ylp-timer-settlement.version>  
110 - <!-- extend projects -->  
111 -  
112 - <!-- api projects -->  
113 - <ylp-payweb-api.version>3.0-SNAPSHOT</ylp-payweb-api.version>  
114 -  
115 - <!-- app projects -->  
116 - <ylp-app-queue-notify.version>3.0-SNAPSHOT</ylp-app-queue-notify.version>  
117 -  
118 - <!-- ========================================================== -->  
119 -  
120 - <!-- frameworks -->  
121 - <org.springframework.version>3.2.4.RELEASE</org.springframework.version>  
122 -  
123 - </properties>  
124 -  
125 - <dependencies>  
126 - <!-- Test Dependency Begin -->  
127 - <dependency>  
128 - <groupId>junit</groupId>  
129 - <artifactId>junit</artifactId>  
130 - <version>4.11</version>  
131 - </dependency>  
132 - <!-- Test Dependency End -->  
133 - </dependencies>  
134 -  
135 - <dependencyManagement>  
136 - <dependencies>  
137 - <!-- Common Dependency Begin -->  
138 - <dependency>  
139 - <groupId>xalan</groupId>  
140 - <artifactId>xalan</artifactId>  
141 - <version>2.7.1</version>  
142 - </dependency>  
143 - <dependency>  
144 - <groupId>antlr</groupId>  
145 - <artifactId>antlr</artifactId>  
146 - <version>2.7.6</version>  
147 - </dependency>  
148 - <dependency>  
149 - <groupId>aopalliance</groupId>  
150 - <artifactId>aopalliance</artifactId>  
151 - <version>1.0</version>  
152 - </dependency>  
153 - <dependency>  
154 - <groupId>org.aspectj</groupId>  
155 - <artifactId>aspectjweaver</artifactId>  
156 - <version>1.7.3</version>  
157 - </dependency>  
158 - <dependency>  
159 - <groupId>cglib</groupId>  
160 - <artifactId>cglib</artifactId>  
161 - <version>2.2.2</version>  
162 - </dependency>  
163 - <dependency>  
164 - <groupId>asm</groupId>  
165 - <artifactId>asm</artifactId>  
166 - <version>3.3.1</version>  
167 - </dependency>  
168 - <dependency>  
169 - <groupId>net.sf.json-lib</groupId>  
170 - <artifactId>json-lib</artifactId>  
171 - <version>2.3</version>  
172 - <classifier>jdk15</classifier>  
173 - <scope>compile</scope>  
174 - </dependency>  
175 - <dependency>  
176 - <groupId>org.codehaus.jackson</groupId>  
177 - <artifactId>jackson-core-asl</artifactId>  
178 - <version>1.9.13</version>  
179 - </dependency>  
180 - <dependency>  
181 - <groupId>org.codehaus.jackson</groupId>  
182 - <artifactId>jackson-mapper-asl</artifactId>  
183 - <version>1.9.13</version>  
184 - </dependency>  
185 - <dependency>  
186 - <groupId>ognl</groupId>  
187 - <artifactId>ognl</artifactId>  
188 - <version>3.0.6</version>  
189 - </dependency>  
190 - <dependency>  
191 - <groupId>oro</groupId>  
192 - <artifactId>oro</artifactId>  
193 - <version>2.0.8</version>  
194 - </dependency>  
195 - <dependency>  
196 - <groupId>commons-net</groupId>  
197 - <artifactId>commons-net</artifactId>  
198 - <version>3.2</version>  
199 - </dependency>  
200 - <dependency>  
201 - <groupId>commons-beanutils</groupId>  
202 - <artifactId>commons-beanutils</artifactId>  
203 - <version>1.8.0</version>  
204 - </dependency>  
205 - <dependency>  
206 - <groupId>commons-codec</groupId>  
207 - <artifactId>commons-codec</artifactId>  
208 - <version>1.8</version>  
209 - </dependency>  
210 - <dependency>  
211 - <groupId>commons-collections</groupId>  
212 - <artifactId>commons-collections</artifactId>  
213 - <version>3.2</version>  
214 - </dependency>  
215 - <dependency>  
216 - <groupId>commons-digester</groupId>  
217 - <artifactId>commons-digester</artifactId>  
218 - <version>2.0</version>  
219 - </dependency>  
220 - <dependency>  
221 - <groupId>commons-fileupload</groupId>  
222 - <artifactId>commons-fileupload</artifactId>  
223 - <version>1.3.1</version>  
224 - </dependency>  
225 - <dependency>  
226 - <groupId>commons-io</groupId>  
227 - <artifactId>commons-io</artifactId>  
228 - <version>2.4</version>  
229 - </dependency>  
230 - <dependency>  
231 - <groupId>commons-lang</groupId>  
232 - <artifactId>commons-lang</artifactId>  
233 - <version>2.5</version>  
234 - </dependency>  
235 - <dependency>  
236 - <groupId>org.apache.commons</groupId>  
237 - <artifactId>commons-lang3</artifactId>  
238 - <version>3.1</version>  
239 - </dependency>  
240 - <dependency>  
241 - <groupId>commons-logging</groupId>  
242 - <artifactId>commons-logging</artifactId>  
243 - <version>1.1.3</version>  
244 - </dependency>  
245 - <dependency>  
246 - <groupId>commons-validator</groupId>  
247 - <artifactId>commons-validator</artifactId>  
248 - <version>1.1.4</version>  
249 - </dependency>  
250 - <dependency>  
251 - <groupId>commons-cli</groupId>  
252 - <artifactId>commons-cli</artifactId>  
253 - <version>1.2</version>  
254 - </dependency>  
255 - <dependency>  
256 - <groupId>dom4j</groupId>  
257 - <artifactId>dom4j</artifactId>  
258 - <version>1.6.1</version>  
259 - </dependency>  
260 - <dependency>  
261 - <groupId>net.sf.ezmorph</groupId>  
262 - <artifactId>ezmorph</artifactId>  
263 - <version>1.0.6</version>  
264 - </dependency>  
265 - <dependency>  
266 - <groupId>javassist</groupId>  
267 - <artifactId>javassist</artifactId>  
268 - <version>3.12.1.GA</version>  
269 - </dependency>  
270 - <dependency>  
271 - <groupId>jstl</groupId>  
272 - <artifactId>jstl</artifactId>  
273 - <version>1.2</version>  
274 - </dependency>  
275 - <dependency>  
276 - <groupId>javax.transaction</groupId>  
277 - <artifactId>jta</artifactId>  
278 - <version>1.1</version>  
279 - </dependency>  
280 - <dependency>  
281 - <groupId>log4j</groupId>  
282 - <artifactId>log4j</artifactId>  
283 - <version>1.2.17</version>  
284 - </dependency>  
285 - <dependency>  
286 - <groupId>org.slf4j</groupId>  
287 - <artifactId>slf4j-api</artifactId>  
288 - <version>1.7.5</version>  
289 - </dependency>  
290 - <dependency>  
291 - <groupId>org.slf4j</groupId>  
292 - <artifactId>slf4j-log4j12</artifactId>  
293 - <version>1.7.5</version>  
294 - </dependency>  
295 - <dependency>  
296 - <groupId>net.sourceforge.jexcelapi</groupId>  
297 - <artifactId>jxl</artifactId>  
298 - <version>2.6.12</version>  
299 - </dependency>  
300 - <!-- <dependency> <groupId>com.alibaba.external</groupId> <artifactId>sourceforge.spring</artifactId>  
301 - <version>2.0.1</version> </dependency> <dependency> <groupId>com.alibaba.external</groupId>  
302 - <artifactId>jakarta.commons.poolg</artifactId> <version>1.3</version> </dependency> -->  
303 - <dependency>  
304 - <groupId>org.jdom</groupId>  
305 - <artifactId>jdom</artifactId>  
306 - <version>1.1.3</version>  
307 - </dependency>  
308 - <dependency>  
309 - <groupId>jaxen</groupId>  
310 - <artifactId>jaxen</artifactId>  
311 - <version>1.1.1</version>  
312 - </dependency>  
313 - <dependency>  
314 - <groupId>com.alibaba</groupId>  
315 - <artifactId>dubbo</artifactId>  
316 - <version>2.5.3</version>  
317 - </dependency>  
318 - <dependency>  
319 - <groupId>redis.clients</groupId>  
320 - <artifactId>jedis</artifactId>  
321 - <version>2.4.2</version>  
322 - </dependency>  
323 -  
324 - <!-- Common Dependency End -->  
325 -  
326 - <!-- Zookeeper 用于分布式服务管理 -->  
327 - <dependency>  
328 - <groupId>org.apache.zookeeper</groupId>  
329 - <artifactId>zookeeper</artifactId>  
330 - <version>3.4.5</version>  
331 - </dependency>  
332 - <dependency>  
333 - <groupId>com.101tec</groupId>  
334 - <artifactId>zkclient</artifactId>  
335 - <version>0.3</version>  
336 - </dependency>  
337 - <!-- Zookeeper 用于分布式服务管理 end -->  
338 -  
339 -  
340 - <!-- Spring Dependency Begin -->  
341 - <dependency>  
342 - <groupId>org.springframework</groupId>  
343 - <artifactId>spring-aop</artifactId>  
344 - <version>${org.springframework.version}</version>  
345 - </dependency>  
346 - <dependency>  
347 - <groupId>org.springframework</groupId>  
348 - <artifactId>spring-aspects</artifactId>  
349 - <version>${org.springframework.version}</version>  
350 - </dependency>  
351 - <dependency>  
352 - <groupId>org.springframework</groupId>  
353 - <artifactId>spring-beans</artifactId>  
354 - <version>${org.springframework.version}</version>  
355 - </dependency>  
356 - <dependency>  
357 - <groupId>org.springframework</groupId>  
358 - <artifactId>spring-context</artifactId>  
359 - <version>${org.springframework.version}</version>  
360 - </dependency>  
361 - <dependency>  
362 - <groupId>org.springframework</groupId>  
363 - <artifactId>spring-context-support</artifactId>  
364 - <version>${org.springframework.version}</version>  
365 - </dependency>  
366 - <dependency>  
367 - <groupId>org.springframework</groupId>  
368 - <artifactId>spring-core</artifactId>  
369 - <version>${org.springframework.version}</version>  
370 - </dependency>  
371 - <dependency>  
372 - <groupId>org.springframework</groupId>  
373 - <artifactId>spring-expression</artifactId>  
374 - <version>${org.springframework.version}</version>  
375 - </dependency>  
376 - <dependency>  
377 - <groupId>org.springframework</groupId>  
378 - <artifactId>spring-instrument</artifactId>  
379 - <version>${org.springframework.version}</version>  
380 - </dependency>  
381 - <dependency>  
382 - <groupId>org.springframework</groupId>  
383 - <artifactId>spring-instrument-tomcat</artifactId>  
384 - <version>${org.springframework.version}</version>  
385 - </dependency>  
386 - <dependency>  
387 - <groupId>org.springframework</groupId>  
388 - <artifactId>spring-jdbc</artifactId>  
389 - <version>${org.springframework.version}</version>  
390 - </dependency>  
391 - <dependency>  
392 - <groupId>org.springframework</groupId>  
393 - <artifactId>spring-jms</artifactId>  
394 - <version>${org.springframework.version}</version>  
395 - </dependency>  
396 - <dependency>  
397 - <groupId>org.springframework</groupId>  
398 - <artifactId>spring-orm</artifactId>  
399 - <version>${org.springframework.version}</version>  
400 - </dependency>  
401 - <dependency>  
402 - <groupId>org.springframework</groupId>  
403 - <artifactId>spring-oxm</artifactId>  
404 - <version>${org.springframework.version}</version>  
405 - </dependency>  
406 - <dependency>  
407 - <groupId>org.springframework</groupId>  
408 - <artifactId>spring-struts</artifactId>  
409 - <version>${org.springframework.version}</version>  
410 - </dependency>  
411 - <dependency>  
412 - <groupId>org.springframework</groupId>  
413 - <artifactId>spring-test</artifactId>  
414 - <version>${org.springframework.version}</version>  
415 - <scope>test</scope>  
416 - </dependency>  
417 - <dependency>  
418 - <groupId>org.springframework</groupId>  
419 - <artifactId>spring-tx</artifactId>  
420 - <version>${org.springframework.version}</version>  
421 - </dependency>  
422 - <dependency>  
423 - <groupId>org.springframework</groupId>  
424 - <artifactId>spring-web</artifactId>  
425 - <version>${org.springframework.version}</version>  
426 - </dependency>  
427 - <dependency>  
428 - <groupId>org.springframework</groupId>  
429 - <artifactId>spring-webmvc</artifactId>  
430 - <version>${org.springframework.version}</version>  
431 - </dependency>  
432 - <dependency>  
433 - <groupId>org.springframework</groupId>  
434 - <artifactId>spring-webmvc-portlet</artifactId>  
435 - <version>${org.springframework.version}</version>  
436 - </dependency>  
437 - <!-- Spring Dependency End -->  
438 -  
439 - <!-- MyBatis Dependency Begin -->  
440 - <dependency>  
441 - <groupId>org.mybatis</groupId>  
442 - <artifactId>mybatis</artifactId>  
443 - <version>3.2.8</version>  
444 - </dependency>  
445 - <dependency>  
446 - <groupId>org.mybatis</groupId>  
447 - <artifactId>mybatis-spring</artifactId>  
448 - <version>1.2.2</version>  
449 - </dependency>  
450 - <!-- MyBatis Dependency End -->  
451 -  
452 - <!-- Mysql Driver Begin -->  
453 - <dependency>  
454 - <groupId>mysql</groupId>  
455 - <artifactId>mysql-connector-java</artifactId>  
456 - <version>5.1.32</version>  
457 - </dependency>  
458 - <!-- Mysql Driver End -->  
459 -  
460 - <!-- Others Begin -->  
461 - <dependency>  
462 - <groupId>com.google.code</groupId>  
463 - <artifactId>kaptcha</artifactId>  
464 - <version>2.3.2</version>  
465 - </dependency>  
466 - <dependency>  
467 - <groupId>org.apache.tomcat</groupId>  
468 - <artifactId>servlet-api</artifactId>  
469 - <version>6.0.37</version>  
470 - </dependency>  
471 - <dependency>  
472 - <groupId>org.apache.tomcat</groupId>  
473 - <artifactId>jsp-api</artifactId>  
474 - <version>6.0.37</version>  
475 - </dependency>  
476 - <dependency>  
477 - <groupId>org.freemarker</groupId>  
478 - <artifactId>freemarker</artifactId>  
479 - <version>2.3.19</version>  
480 - </dependency>  
481 - <dependency>  
482 - <groupId>com.alibaba</groupId>  
483 - <artifactId>druid</artifactId>  
484 - <version>1.0.12</version>  
485 - </dependency>  
486 - <dependency>  
487 - <groupId>com.alibaba</groupId>  
488 - <artifactId>fastjson</artifactId>  
489 - <version>1.1.41</version>  
490 - </dependency>  
491 - <dependency>  
492 - <groupId>org.apache.httpcomponents</groupId>  
493 - <artifactId>httpclient</artifactId>  
494 - <version>4.3.3</version>  
495 - </dependency>  
496 - <dependency>  
497 - <groupId>org.jboss.netty</groupId>  
498 - <artifactId>netty</artifactId>  
499 - <version>3.2.5.Final</version>  
500 - </dependency>  
501 - <dependency>  
502 - <groupId>org.apache.activemq</groupId>  
503 - <artifactId>activemq-all</artifactId>  
504 - <version>5.8.0</version>  
505 - </dependency>  
506 - <dependency>  
507 - <groupId>org.apache.activemq</groupId>  
508 - <artifactId>activemq-pool</artifactId>  
509 - <version>5.8.0</version>  
510 - </dependency>  
511 - <!-- Others End -->  
512 -  
513 -  
514 - <dependency>  
515 - <groupId>org.jsoup</groupId>  
516 - <artifactId>jsoup</artifactId>  
517 - <version>1.7.3</version>  
518 - </dependency>  
519 -  
520 - <!-- dozer bean copy -->  
521 - <dependency>  
522 - <groupId>net.sf.dozer</groupId>  
523 - <artifactId>dozer</artifactId>  
524 - <version>${dozer.version}</version>  
525 - <exclusions>  
526 - <exclusion>  
527 - <groupId>org.slf4j</groupId>  
528 - <artifactId>slf4j-log4j12</artifactId>  
529 - </exclusion>  
530 - </exclusions>  
531 - </dependency>  
532 -  
533 - </dependencies>  
534 - </dependencyManagement>  
535 -  
536 - <build>  
537 - <plugins>  
538 - <plugin>  
539 - <groupId>org.apache.maven.plugins</groupId>  
540 - <artifactId>maven-deploy-plugin</artifactId>  
541 - <version>2.7</version>  
542 - <configuration>  
543 - <uniqueVersion>false</uniqueVersion>  
544 - </configuration>  
545 - </plugin>  
546 - <plugin>  
547 - <groupId>org.apache.maven.plugins</groupId>  
548 - <artifactId>maven-eclipse-plugin</artifactId>  
549 - <version>2.8</version>  
550 - </plugin>  
551 - <plugin>  
552 - <groupId>org.apache.maven.plugins</groupId>  
553 - <artifactId>maven-compiler-plugin</artifactId>  
554 - <version>2.3.2</version>  
555 - <configuration>  
556 - <failOnError>true</failOnError>  
557 - <verbose>true</verbose>  
558 - <fork>true</fork>  
559 - <compilerArgument>-nowarn</compilerArgument>  
560 - <source>1.6</source>  
561 - <target>1.6</target>  
562 - <encoding>UTF-8</encoding>  
563 - </configuration>  
564 - </plugin>  
565 - <plugin>  
566 - <groupId>org.apache.maven.plugins</groupId>  
567 - <artifactId>maven-source-plugin</artifactId>  
568 - <version>2.1.2</version>  
569 - <executions>  
570 - <execution>  
571 - <id>attach-sources</id>  
572 - <goals>  
573 - <goal>jar</goal>  
574 - </goals>  
575 - </execution>  
576 - </executions>  
577 - </plugin>  
578 - </plugins>  
579 - </build>  
580 -  
581 - <reporting>  
582 - <plugins>  
583 -  
584 - <plugin>  
585 - <groupId>org.apache.maven.plugins</groupId>  
586 - <artifactId>maven-checkstyle-plugin</artifactId>  
587 - <version>2.10</version>  
588 - <configuration>  
589 - <configLocation>config/sun_checks.xml</configLocation>  
590 - <suppressionsLocation>config/checkstyle-suppressions.xml</suppressionsLocation>  
591 - <encoding>UTF-8</encoding>  
592 - </configuration>  
593 - </plugin>  
594 -  
595 - <plugin>  
596 - <groupId>org.apache.maven.plugins</groupId>  
597 - <artifactId>maven-pmd-plugin</artifactId>  
598 - <version>3.0.1</version>  
599 - <configuration>  
600 - <rulesets>  
601 - <!-- pmd 5.0.2 的Java所规则如下 -->  
602 - <!-- <ruleset>rulesets/java/android.xml</ruleset> -->  
603 - <ruleset>rulesets/java/basic.xml</ruleset>  
604 - <ruleset>rulesets/java/braces.xml</ruleset>  
605 - <ruleset>rulesets/java/clone.xml</ruleset>  
606 - <ruleset>rulesets/java/codesize.xml</ruleset>  
607 - <ruleset>rulesets/java/controversial.xml</ruleset>  
608 - <ruleset>rulesets/java/coupling.xml</ruleset>  
609 - <ruleset>rulesets/java/design.xml</ruleset>  
610 - <ruleset>rulesets/java/empty.xml</ruleset>  
611 - <ruleset>rulesets/java/finalizers.xml</ruleset>  
612 - <ruleset>rulesets/java/imports.xml</ruleset>  
613 - <ruleset>rulesets/java/j2ee.xml</ruleset>  
614 - <ruleset>rulesets/java/javabeans.xml</ruleset>  
615 - <ruleset>rulesets/java/junit.xml</ruleset>  
616 - <ruleset>rulesets/java/logging-jakarta-commons.xml</ruleset>  
617 - <ruleset>rulesets/java/logging-java.xml</ruleset>  
618 - <ruleset>rulesets/java/migrating.xml</ruleset>  
619 - <ruleset>rulesets/java/naming.xml</ruleset>  
620 - <ruleset>rulesets/java/optimizations.xml</ruleset>  
621 - <ruleset>rulesets/java/strictexception.xml</ruleset>  
622 - <ruleset>rulesets/java/strings.xml</ruleset>  
623 - <ruleset>rulesets/java/sunsecure.xml</ruleset>  
624 - <ruleset>rulesets/java/typeresolution.xml</ruleset>  
625 - <ruleset>rulesets/java/unnecessary.xml</ruleset>  
626 - <ruleset>rulesets/java/unusedcode.xml</ruleset>  
627 - </rulesets>  
628 - <aggregate>true</aggregate>  
629 - </configuration>  
630 - </plugin>  
631 -  
632 - <plugin>  
633 - <groupId>org.codehaus.mojo</groupId>  
634 - <artifactId>findbugs-maven-plugin</artifactId>  
635 - <version>2.5.2</version>  
636 - </plugin>  
637 -  
638 - <plugin>  
639 - <!-- 添加了jxr插件 ,用来在生成的结果中可以通过link找到代码对应的行 -->  
640 - <groupId>org.apache.maven.plugins</groupId>  
641 - <artifactId>maven-jxr-plugin</artifactId>  
642 - <version>2.3</version>  
643 - <!-- 支持聚合报告 -->  
644 - <configuration>  
645 - <aggregate>true</aggregate>  
646 - </configuration>  
647 - </plugin>  
648 -  
649 - </plugins>  
650 - </reporting>  
651 - 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 + <modelVersion>4.0.0</modelVersion>
  4 +
  5 + <groupId>com.ylp.common</groupId>
  6 + <artifactId>ylp-common-parent</artifactId>
  7 + <version>1.0-Release</version>
  8 + <packaging>pom</packaging>
  9 +
  10 + <name>ylp-common-parent</name>
  11 + <url>http://maven.apache.org</url>
  12 +
  13 + <!-- 全局属性配置 -->
  14 + <profiles>
  15 +
  16 + <!-- 开发环境 -->
  17 + <profile>
  18 + <id>main</id>
  19 + <properties>
  20 + <!-- 部署环境(对应配置文件版本) -->
  21 + <env>main</env>
  22 + <ver>3.0-SNAPSHOT</ver>
  23 + <maven.test.skip>false</maven.test.skip>
  24 + </properties>
  25 + <!-- 设置默认环境 -->
  26 + <activation>
  27 + <activeByDefault>true</activeByDefault>
  28 + </activation>
  29 + </profile>
  30 +
  31 + <!-- 测试环境 -->
  32 + <profile>
  33 + <id>test</id>
  34 + <properties>
  35 + <!-- 部署环境(对应配置文件版本) -->
  36 + <env>test</env>
  37 + <ver>3.0-SNAPSHOT</ver>
  38 + </properties>
  39 + </profile>
  40 +
  41 + <!-- qa环境 -->
  42 + <profile>
  43 + <id>qa</id>
  44 + <properties>
  45 + <!-- 部署环境(对应配置文件版本) -->
  46 + <env>qa</env>
  47 + <ver>1.0-Release</ver>
  48 + </properties>
  49 + </profile>
  50 +
  51 + <!-- prod环境 -->
  52 + <profile>
  53 + <id>prod</id>
  54 + <properties>
  55 + <!-- 部署环境(对应配置文件版本) -->
  56 + <env>prod</env>
  57 + <ver>1.0-Release</ver>
  58 + </properties>
  59 + </profile>
  60 +
  61 + </profiles>
  62 +
  63 + <distributionManagement>
  64 + <repository>
  65 + <id>nexus-releases</id>
  66 + <name>Nexus Release Repository</name>
  67 + <url>http://nexus.vipzhuang.cn/content/repositories/releases/</url>
  68 + </repository>
  69 + <snapshotRepository>
  70 + <id>nexus-snapshots</id>
  71 + <name>Nexus Snapshot Repository</name>
  72 + <url>http://nexus.vipzhuang.cn/content/repositories/snapshots/</url>
  73 + </snapshotRepository>
  74 + </distributionManagement>
  75 +
  76 + <repositories>
  77 + <repository>
  78 + <id>nexus</id>
  79 + <url>http://nexus.vipzhuang.cn/content/groups/public</url>
  80 + <releases>
  81 + <enabled>true</enabled>
  82 + </releases>
  83 + <snapshots>
  84 + <enabled>false</enabled>
  85 + </snapshots>
  86 + </repository>
  87 + <repository>
  88 + <id>nexus-snapshots</id>
  89 + <url>http://nexus.vipzhuang.cn/content/repositories/snapshots/</url>
  90 + <releases>
  91 + <enabled>false</enabled>
  92 + </releases>
  93 + <snapshots>
  94 + <enabled>true</enabled>
  95 + </snapshots>
  96 + </repository>
  97 + </repositories>
  98 +
  99 + <properties>
  100 + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  101 +
  102 + <!-- frameworks -->
  103 + <org.springframework.version>3.2.4.RELEASE</org.springframework.version>
  104 +
  105 + </properties>
  106 +
  107 + <dependencies>
  108 + <!-- Test Dependency Begin -->
  109 + <dependency>
  110 + <groupId>junit</groupId>
  111 + <artifactId>junit</artifactId>
  112 + <version>4.11</version>
  113 + </dependency>
  114 + <!-- Test Dependency End -->
  115 + </dependencies>
  116 +
  117 + <dependencyManagement>
  118 + <dependencies>
  119 + <!-- Common Dependency Begin -->
  120 + <dependency>
  121 + <groupId>xalan</groupId>
  122 + <artifactId>xalan</artifactId>
  123 + <version>2.7.1</version>
  124 + </dependency>
  125 + <dependency>
  126 + <groupId>antlr</groupId>
  127 + <artifactId>antlr</artifactId>
  128 + <version>2.7.6</version>
  129 + </dependency>
  130 + <dependency>
  131 + <groupId>aopalliance</groupId>
  132 + <artifactId>aopalliance</artifactId>
  133 + <version>1.0</version>
  134 + </dependency>
  135 + <dependency>
  136 + <groupId>org.aspectj</groupId>
  137 + <artifactId>aspectjweaver</artifactId>
  138 + <version>1.7.3</version>
  139 + </dependency>
  140 + <dependency>
  141 + <groupId>cglib</groupId>
  142 + <artifactId>cglib</artifactId>
  143 + <version>2.2.2</version>
  144 + </dependency>
  145 + <dependency>
  146 + <groupId>asm</groupId>
  147 + <artifactId>asm</artifactId>
  148 + <version>3.3.1</version>
  149 + </dependency>
  150 + <dependency>
  151 + <groupId>net.sf.json-lib</groupId>
  152 + <artifactId>json-lib</artifactId>
  153 + <version>2.3</version>
  154 + <classifier>jdk15</classifier>
  155 + <scope>compile</scope>
  156 + </dependency>
  157 + <dependency>
  158 + <groupId>org.codehaus.jackson</groupId>
  159 + <artifactId>jackson-core-asl</artifactId>
  160 + <version>1.9.13</version>
  161 + </dependency>
  162 + <dependency>
  163 + <groupId>org.codehaus.jackson</groupId>
  164 + <artifactId>jackson-mapper-asl</artifactId>
  165 + <version>1.9.13</version>
  166 + </dependency>
  167 + <dependency>
  168 + <groupId>ognl</groupId>
  169 + <artifactId>ognl</artifactId>
  170 + <version>3.0.6</version>
  171 + </dependency>
  172 + <dependency>
  173 + <groupId>oro</groupId>
  174 + <artifactId>oro</artifactId>
  175 + <version>2.0.8</version>
  176 + </dependency>
  177 + <dependency>
  178 + <groupId>commons-net</groupId>
  179 + <artifactId>commons-net</artifactId>
  180 + <version>3.2</version>
  181 + </dependency>
  182 + <dependency>
  183 + <groupId>commons-beanutils</groupId>
  184 + <artifactId>commons-beanutils</artifactId>
  185 + <version>1.8.0</version>
  186 + </dependency>
  187 + <dependency>
  188 + <groupId>commons-codec</groupId>
  189 + <artifactId>commons-codec</artifactId>
  190 + <version>1.8</version>
  191 + </dependency>
  192 + <dependency>
  193 + <groupId>commons-collections</groupId>
  194 + <artifactId>commons-collections</artifactId>
  195 + <version>3.2</version>
  196 + </dependency>
  197 + <dependency>
  198 + <groupId>commons-digester</groupId>
  199 + <artifactId>commons-digester</artifactId>
  200 + <version>2.0</version>
  201 + </dependency>
  202 + <dependency>
  203 + <groupId>commons-fileupload</groupId>
  204 + <artifactId>commons-fileupload</artifactId>
  205 + <version>1.3.1</version>
  206 + </dependency>
  207 + <dependency>
  208 + <groupId>commons-io</groupId>
  209 + <artifactId>commons-io</artifactId>
  210 + <version>2.4</version>
  211 + </dependency>
  212 + <dependency>
  213 + <groupId>commons-lang</groupId>
  214 + <artifactId>commons-lang</artifactId>
  215 + <version>2.5</version>
  216 + </dependency>
  217 + <dependency>
  218 + <groupId>org.apache.commons</groupId>
  219 + <artifactId>commons-lang3</artifactId>
  220 + <version>3.1</version>
  221 + </dependency>
  222 + <dependency>
  223 + <groupId>commons-logging</groupId>
  224 + <artifactId>commons-logging</artifactId>
  225 + <version>1.1.3</version>
  226 + </dependency>
  227 + <dependency>
  228 + <groupId>commons-validator</groupId>
  229 + <artifactId>commons-validator</artifactId>
  230 + <version>1.1.4</version>
  231 + </dependency>
  232 + <dependency>
  233 + <groupId>commons-cli</groupId>
  234 + <artifactId>commons-cli</artifactId>
  235 + <version>1.2</version>
  236 + </dependency>
  237 + <dependency>
  238 + <groupId>dom4j</groupId>
  239 + <artifactId>dom4j</artifactId>
  240 + <version>1.6.1</version>
  241 + </dependency>
  242 + <dependency>
  243 + <groupId>net.sf.ezmorph</groupId>
  244 + <artifactId>ezmorph</artifactId>
  245 + <version>1.0.6</version>
  246 + </dependency>
  247 + <dependency>
  248 + <groupId>javassist</groupId>
  249 + <artifactId>javassist</artifactId>
  250 + <version>3.12.1.GA</version>
  251 + </dependency>
  252 + <dependency>
  253 + <groupId>jstl</groupId>
  254 + <artifactId>jstl</artifactId>
  255 + <version>1.2</version>
  256 + </dependency>
  257 + <dependency>
  258 + <groupId>javax.transaction</groupId>
  259 + <artifactId>jta</artifactId>
  260 + <version>1.1</version>
  261 + </dependency>
  262 + <dependency>
  263 + <groupId>log4j</groupId>
  264 + <artifactId>log4j</artifactId>
  265 + <version>1.2.17</version>
  266 + </dependency>
  267 + <dependency>
  268 + <groupId>org.slf4j</groupId>
  269 + <artifactId>slf4j-api</artifactId>
  270 + <version>1.7.5</version>
  271 + </dependency>
  272 + <dependency>
  273 + <groupId>org.slf4j</groupId>
  274 + <artifactId>slf4j-log4j12</artifactId>
  275 + <version>1.7.5</version>
  276 + </dependency>
  277 + <dependency>
  278 + <groupId>net.sourceforge.jexcelapi</groupId>
  279 + <artifactId>jxl</artifactId>
  280 + <version>2.6.12</version>
  281 + </dependency>
  282 + <!-- <dependency> <groupId>com.alibaba.external</groupId> <artifactId>sourceforge.spring</artifactId>
  283 + <version>2.0.1</version> </dependency> <dependency> <groupId>com.alibaba.external</groupId>
  284 + <artifactId>jakarta.commons.poolg</artifactId> <version>1.3</version> </dependency> -->
  285 + <dependency>
  286 + <groupId>org.jdom</groupId>
  287 + <artifactId>jdom</artifactId>
  288 + <version>1.1.3</version>
  289 + </dependency>
  290 + <dependency>
  291 + <groupId>jaxen</groupId>
  292 + <artifactId>jaxen</artifactId>
  293 + <version>1.1.1</version>
  294 + </dependency>
  295 + <dependency>
  296 + <groupId>com.alibaba</groupId>
  297 + <artifactId>dubbo</artifactId>
  298 + <version>2.5.3</version>
  299 + </dependency>
  300 + <dependency>
  301 + <groupId>redis.clients</groupId>
  302 + <artifactId>jedis</artifactId>
  303 + <version>2.4.2</version>
  304 + </dependency>
  305 +
  306 + <!-- Common Dependency End -->
  307 +
  308 + <!-- Zookeeper 用于分布式服务管理 -->
  309 + <dependency>
  310 + <groupId>org.apache.zookeeper</groupId>
  311 + <artifactId>zookeeper</artifactId>
  312 + <version>3.4.5</version>
  313 + </dependency>
  314 + <dependency>
  315 + <groupId>com.101tec</groupId>
  316 + <artifactId>zkclient</artifactId>
  317 + <version>0.3</version>
  318 + </dependency>
  319 + <!-- Zookeeper 用于分布式服务管理 end -->
  320 +
  321 +
  322 + <!-- Spring Dependency Begin -->
  323 + <dependency>
  324 + <groupId>org.springframework</groupId>
  325 + <artifactId>spring-aop</artifactId>
  326 + <version>${org.springframework.version}</version>
  327 + </dependency>
  328 + <dependency>
  329 + <groupId>org.springframework</groupId>
  330 + <artifactId>spring-aspects</artifactId>
  331 + <version>${org.springframework.version}</version>
  332 + </dependency>
  333 + <dependency>
  334 + <groupId>org.springframework</groupId>
  335 + <artifactId>spring-beans</artifactId>
  336 + <version>${org.springframework.version}</version>
  337 + </dependency>
  338 + <dependency>
  339 + <groupId>org.springframework</groupId>
  340 + <artifactId>spring-context</artifactId>
  341 + <version>${org.springframework.version}</version>
  342 + </dependency>
  343 + <dependency>
  344 + <groupId>org.springframework</groupId>
  345 + <artifactId>spring-context-support</artifactId>
  346 + <version>${org.springframework.version}</version>
  347 + </dependency>
  348 + <dependency>
  349 + <groupId>org.springframework</groupId>
  350 + <artifactId>spring-core</artifactId>
  351 + <version>${org.springframework.version}</version>
  352 + </dependency>
  353 + <dependency>
  354 + <groupId>org.springframework</groupId>
  355 + <artifactId>spring-expression</artifactId>
  356 + <version>${org.springframework.version}</version>
  357 + </dependency>
  358 + <dependency>
  359 + <groupId>org.springframework</groupId>
  360 + <artifactId>spring-instrument</artifactId>
  361 + <version>${org.springframework.version}</version>
  362 + </dependency>
  363 + <dependency>
  364 + <groupId>org.springframework</groupId>
  365 + <artifactId>spring-instrument-tomcat</artifactId>
  366 + <version>${org.springframework.version}</version>
  367 + </dependency>
  368 + <dependency>
  369 + <groupId>org.springframework</groupId>
  370 + <artifactId>spring-jdbc</artifactId>
  371 + <version>${org.springframework.version}</version>
  372 + </dependency>
  373 + <dependency>
  374 + <groupId>org.springframework</groupId>
  375 + <artifactId>spring-jms</artifactId>
  376 + <version>${org.springframework.version}</version>
  377 + </dependency>
  378 + <dependency>
  379 + <groupId>org.springframework</groupId>
  380 + <artifactId>spring-orm</artifactId>
  381 + <version>${org.springframework.version}</version>
  382 + </dependency>
  383 + <dependency>
  384 + <groupId>org.springframework</groupId>
  385 + <artifactId>spring-oxm</artifactId>
  386 + <version>${org.springframework.version}</version>
  387 + </dependency>
  388 + <dependency>
  389 + <groupId>org.springframework</groupId>
  390 + <artifactId>spring-struts</artifactId>
  391 + <version>${org.springframework.version}</version>
  392 + </dependency>
  393 + <dependency>
  394 + <groupId>org.springframework</groupId>
  395 + <artifactId>spring-test</artifactId>
  396 + <version>${org.springframework.version}</version>
  397 + <scope>test</scope>
  398 + </dependency>
  399 + <dependency>
  400 + <groupId>org.springframework</groupId>
  401 + <artifactId>spring-tx</artifactId>
  402 + <version>${org.springframework.version}</version>
  403 + </dependency>
  404 + <dependency>
  405 + <groupId>org.springframework</groupId>
  406 + <artifactId>spring-web</artifactId>
  407 + <version>${org.springframework.version}</version>
  408 + </dependency>
  409 + <dependency>
  410 + <groupId>org.springframework</groupId>
  411 + <artifactId>spring-webmvc</artifactId>
  412 + <version>${org.springframework.version}</version>
  413 + </dependency>
  414 + <dependency>
  415 + <groupId>org.springframework</groupId>
  416 + <artifactId>spring-webmvc-portlet</artifactId>
  417 + <version>${org.springframework.version}</version>
  418 + </dependency>
  419 + <!-- Spring Dependency End -->
  420 +
  421 + <!-- MyBatis Dependency Begin -->
  422 + <dependency>
  423 + <groupId>org.mybatis</groupId>
  424 + <artifactId>mybatis</artifactId>
  425 + <version>3.2.8</version>
  426 + </dependency>
  427 + <dependency>
  428 + <groupId>org.mybatis</groupId>
  429 + <artifactId>mybatis-spring</artifactId>
  430 + <version>1.2.2</version>
  431 + </dependency>
  432 + <!-- MyBatis Dependency End -->
  433 +
  434 + <!-- Mysql Driver Begin -->
  435 + <dependency>
  436 + <groupId>mysql</groupId>
  437 + <artifactId>mysql-connector-java</artifactId>
  438 + <version>5.1.32</version>
  439 + </dependency>
  440 + <!-- Mysql Driver End -->
  441 +
  442 + <!-- Others Begin -->
  443 + <dependency>
  444 + <groupId>com.google.code</groupId>
  445 + <artifactId>kaptcha</artifactId>
  446 + <version>2.3.2</version>
  447 + </dependency>
  448 + <dependency>
  449 + <groupId>org.apache.tomcat</groupId>
  450 + <artifactId>servlet-api</artifactId>
  451 + <version>6.0.37</version>
  452 + </dependency>
  453 + <dependency>
  454 + <groupId>org.apache.tomcat</groupId>
  455 + <artifactId>jsp-api</artifactId>
  456 + <version>6.0.37</version>
  457 + </dependency>
  458 + <dependency>
  459 + <groupId>org.freemarker</groupId>
  460 + <artifactId>freemarker</artifactId>
  461 + <version>2.3.19</version>
  462 + </dependency>
  463 + <dependency>
  464 + <groupId>com.alibaba</groupId>
  465 + <artifactId>druid</artifactId>
  466 + <version>1.0.12</version>
  467 + </dependency>
  468 + <dependency>
  469 + <groupId>com.alibaba</groupId>
  470 + <artifactId>fastjson</artifactId>
  471 + <version>1.1.41</version>
  472 + </dependency>
  473 + <dependency>
  474 + <groupId>org.apache.httpcomponents</groupId>
  475 + <artifactId>httpclient</artifactId>
  476 + <version>4.3.3</version>
  477 + </dependency>
  478 + <dependency>
  479 + <groupId>org.jboss.netty</groupId>
  480 + <artifactId>netty</artifactId>
  481 + <version>3.2.5.Final</version>
  482 + </dependency>
  483 + <dependency>
  484 + <groupId>org.apache.activemq</groupId>
  485 + <artifactId>activemq-all</artifactId>
  486 + <version>5.8.0</version>
  487 + </dependency>
  488 + <dependency>
  489 + <groupId>org.apache.activemq</groupId>
  490 + <artifactId>activemq-pool</artifactId>
  491 + <version>5.8.0</version>
  492 + </dependency>
  493 + <!-- Others End -->
  494 +
  495 +
  496 + <dependency>
  497 + <groupId>org.jsoup</groupId>
  498 + <artifactId>jsoup</artifactId>
  499 + <version>1.7.3</version>
  500 + </dependency>
  501 +
  502 + <!-- dozer bean copy -->
  503 + <dependency>
  504 + <groupId>net.sf.dozer</groupId>
  505 + <artifactId>dozer</artifactId>
  506 + <version>${dozer.version}</version>
  507 + <exclusions>
  508 + <exclusion>
  509 + <groupId>org.slf4j</groupId>
  510 + <artifactId>slf4j-log4j12</artifactId>
  511 + </exclusion>
  512 + </exclusions>
  513 + </dependency>
  514 +
  515 + </dependencies>
  516 + </dependencyManagement>
  517 +
  518 + <build>
  519 + <plugins>
  520 + <plugin>
  521 + <groupId>org.apache.maven.plugins</groupId>
  522 + <artifactId>maven-deploy-plugin</artifactId>
  523 + <version>2.7</version>
  524 + <configuration>
  525 + <uniqueVersion>false</uniqueVersion>
  526 + </configuration>
  527 + </plugin>
  528 + <plugin>
  529 + <groupId>org.apache.maven.plugins</groupId>
  530 + <artifactId>maven-eclipse-plugin</artifactId>
  531 + <version>2.8</version>
  532 + </plugin>
  533 + <plugin>
  534 + <groupId>org.apache.maven.plugins</groupId>
  535 + <artifactId>maven-compiler-plugin</artifactId>
  536 + <version>2.3.2</version>
  537 + <configuration>
  538 + <failOnError>true</failOnError>
  539 + <verbose>true</verbose>
  540 + <fork>true</fork>
  541 + <compilerArgument>-nowarn</compilerArgument>
  542 + <source>1.6</source>
  543 + <target>1.6</target>
  544 + <encoding>UTF-8</encoding>
  545 + </configuration>
  546 + </plugin>
  547 + <plugin>
  548 + <groupId>org.apache.maven.plugins</groupId>
  549 + <artifactId>maven-source-plugin</artifactId>
  550 + <version>2.1.2</version>
  551 + <executions>
  552 + <execution>
  553 + <id>attach-sources</id>
  554 + <goals>
  555 + <goal>jar</goal>
  556 + </goals>
  557 + </execution>
  558 + </executions>
  559 + </plugin>
  560 + </plugins>
  561 + </build>
  562 +
  563 + <reporting>
  564 + <plugins>
  565 +
  566 + <plugin>
  567 + <groupId>org.apache.maven.plugins</groupId>
  568 + <artifactId>maven-checkstyle-plugin</artifactId>
  569 + <version>2.10</version>
  570 + <configuration>
  571 + <configLocation>config/sun_checks.xml</configLocation>
  572 + <suppressionsLocation>config/checkstyle-suppressions.xml</suppressionsLocation>
  573 + <encoding>UTF-8</encoding>
  574 + </configuration>
  575 + </plugin>
  576 +
  577 + <plugin>
  578 + <groupId>org.apache.maven.plugins</groupId>
  579 + <artifactId>maven-pmd-plugin</artifactId>
  580 + <version>3.0.1</version>
  581 + <configuration>
  582 + <rulesets>
  583 + <!-- pmd 5.0.2 的Java所规则如下 -->
  584 + <!-- <ruleset>rulesets/java/android.xml</ruleset> -->
  585 + <ruleset>rulesets/java/basic.xml</ruleset>
  586 + <ruleset>rulesets/java/braces.xml</ruleset>
  587 + <ruleset>rulesets/java/clone.xml</ruleset>
  588 + <ruleset>rulesets/java/codesize.xml</ruleset>
  589 + <ruleset>rulesets/java/controversial.xml</ruleset>
  590 + <ruleset>rulesets/java/coupling.xml</ruleset>
  591 + <ruleset>rulesets/java/design.xml</ruleset>
  592 + <ruleset>rulesets/java/empty.xml</ruleset>
  593 + <ruleset>rulesets/java/finalizers.xml</ruleset>
  594 + <ruleset>rulesets/java/imports.xml</ruleset>
  595 + <ruleset>rulesets/java/j2ee.xml</ruleset>
  596 + <ruleset>rulesets/java/javabeans.xml</ruleset>
  597 + <ruleset>rulesets/java/junit.xml</ruleset>
  598 + <ruleset>rulesets/java/logging-jakarta-commons.xml</ruleset>
  599 + <ruleset>rulesets/java/logging-java.xml</ruleset>
  600 + <ruleset>rulesets/java/migrating.xml</ruleset>
  601 + <ruleset>rulesets/java/naming.xml</ruleset>
  602 + <ruleset>rulesets/java/optimizations.xml</ruleset>
  603 + <ruleset>rulesets/java/strictexception.xml</ruleset>
  604 + <ruleset>rulesets/java/strings.xml</ruleset>
  605 + <ruleset>rulesets/java/sunsecure.xml</ruleset>
  606 + <ruleset>rulesets/java/typeresolution.xml</ruleset>
  607 + <ruleset>rulesets/java/unnecessary.xml</ruleset>
  608 + <ruleset>rulesets/java/unusedcode.xml</ruleset>
  609 + </rulesets>
  610 + <aggregate>true</aggregate>
  611 + </configuration>
  612 + </plugin>
  613 +
  614 + <plugin>
  615 + <groupId>org.codehaus.mojo</groupId>
  616 + <artifactId>findbugs-maven-plugin</artifactId>
  617 + <version>2.5.2</version>
  618 + </plugin>
  619 +
  620 + <plugin>
  621 + <!-- 添加了jxr插件 ,用来在生成的结果中可以通过link找到代码对应的行 -->
  622 + <groupId>org.apache.maven.plugins</groupId>
  623 + <artifactId>maven-jxr-plugin</artifactId>
  624 + <version>2.3</version>
  625 + <!-- 支持聚合报告 -->
  626 + <configuration>
  627 + <aggregate>true</aggregate>
  628 + </configuration>
  629 + </plugin>
  630 +
  631 + </plugins>
  632 + </reporting>
  633 +
652 </project> 634 </project>
653 \ No newline at end of file 635 \ No newline at end of file