Commit 6264ea44bcfef12ee5b57d00ce35bdfd794805a2

Authored by along
0 parents

按按

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