Closed
Merge Request #2 · created by 领课-胡丕涛


Master


From master into qa1.0

Closed by 领课-胡丕涛

Changes were not merged into target branch

1 participants





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