|
92 | 92 | </plugin> |
93 | 93 | <plugin> |
94 | 94 | <artifactId>maven-javadoc-plugin</artifactId> |
| 95 | + <executions> |
| 96 | + <execution> |
| 97 | + <phase>site</phase> |
| 98 | + <goals><goal>javadoc</goal></goals> |
| 99 | + </execution> |
| 100 | + </executions> |
95 | 101 | <configuration> |
96 | 102 | <encoding>UTF-8</encoding> |
97 | 103 | </configuration> |
|
278 | 284 | </dependency> |
279 | 285 | </dependencies> |
280 | 286 | </plugin> |
| 287 | + <plugin> |
| 288 | + <groupId>org.codehaus.mojo</groupId> |
| 289 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 290 | + <version>2.6</version> |
| 291 | + <executions> |
| 292 | + <execution> |
| 293 | + <!-- <phase>site</phase> --> |
| 294 | + <goals> |
| 295 | + <goal>clean</goal> |
| 296 | + </goals> |
| 297 | + </execution> |
| 298 | + </executions> |
| 299 | + <!-- <configuration> --> |
| 300 | + <!-- <instrumentation> --> |
| 301 | + <!-- <ignores> --> |
| 302 | + <!-- <ignore>com.example.boringcode.*</ignore> --> |
| 303 | + <!-- </ignores> --> |
| 304 | + <!-- <excludes> --> |
| 305 | + <!-- <exclude>com/example/dullcode/**/*.class</exclude> --> |
| 306 | + <!-- <exclude>com/example/**/*Test.class</exclude> --> |
| 307 | + <!-- </excludes> --> |
| 308 | + <!-- </instrumentation> --> |
| 309 | + <!-- </configuration> --> |
| 310 | + </plugin> |
281 | 311 | </plugins> |
282 | 312 | <pluginManagement> |
283 | 313 | <plugins> |
|
412 | 442 | </dependency> |
413 | 443 | </dependencies> |
414 | 444 |
|
| 445 | + <reporting> |
| 446 | + <plugins> |
| 447 | + <plugin> |
| 448 | + <groupId>org.apache.maven.plugins</groupId> |
| 449 | + <artifactId>maven-pmd-plugin</artifactId> |
| 450 | + <version>3.0.1</version> |
| 451 | + <configuration> |
| 452 | + <linkXref>true</linkXref> |
| 453 | + <sourceEncoding>utf-8</sourceEncoding> |
| 454 | + <minimumTokens>100</minimumTokens> |
| 455 | + <targetJdk>1.5</targetJdk> |
| 456 | + <excludes> |
| 457 | + <exclude>**/*Bean.java</exclude> |
| 458 | + <exclude>**/generated/*.java</exclude> |
| 459 | + </excludes> |
| 460 | + <excludeRoots> |
| 461 | + <excludeRoot>target/generated-sources/stubs</excludeRoot> |
| 462 | + </excludeRoots> |
| 463 | + </configuration> |
| 464 | + </plugin> |
| 465 | + <plugin> |
| 466 | + <groupId>org.apache.maven.plugins</groupId> |
| 467 | + <artifactId>maven-pmd-plugin</artifactId> |
| 468 | + <version>3.0.1</version> |
| 469 | + <configuration> |
| 470 | + <linkXref>true</linkXref> |
| 471 | + <sourceEncoding>utf-8</sourceEncoding> |
| 472 | + <minimumTokens>100</minimumTokens> |
| 473 | + <targetJdk>1.7</targetJdk> |
| 474 | + <!-- <excludes> --> |
| 475 | + <!-- <exclude>**/*Bean.java</exclude> --> |
| 476 | + <!-- <exclude>**/generated/*.java</exclude> --> |
| 477 | + <!-- </excludes> --> |
| 478 | + <!-- <excludeRoots> --> |
| 479 | + <!-- <excludeRoot>target/generated-sources/stubs</excludeRoot> --> |
| 480 | + <!-- </excludeRoots> --> |
| 481 | + </configuration> |
| 482 | + </plugin> |
| 483 | + |
| 484 | + <plugin> |
| 485 | + <groupId>org.codehaus.mojo</groupId> |
| 486 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 487 | + <version>2.6</version> |
| 488 | + </plugin> |
| 489 | + <plugin> |
| 490 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 491 | + <configuration> |
| 492 | + <encoding>UTF-8</encoding> |
| 493 | + </configuration> |
| 494 | + </plugin> |
| 495 | + </plugins> |
| 496 | + </reporting> |
415 | 497 | </project> |
0 commit comments