|
29 | 29 | <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/cloudstack.git</developerConnection> |
30 | 30 | </scm> |
31 | 31 | <issueManagement> |
32 | | - <system>jira</system> |
| 32 | + <system>jira</system> |
33 | 33 | <url>https://issues.apache.org/jira/browse/CLOUDSTACK</url> |
34 | 34 | </issueManagement> |
35 | 35 |
|
|
86 | 86 | <cs.target.dir>target</cs.target.dir> |
87 | 87 | <cs.daemon.version>1.0.10</cs.daemon.version> |
88 | 88 | <cs.jna.version>4.0.0</cs.jna.version> |
89 | | - <cs.checkstyle.version>2.10</cs.checkstyle.version> |
| 89 | + <cs.checkstyle.version>2.11</cs.checkstyle.version> |
90 | 90 | </properties> |
91 | 91 |
|
92 | 92 | <distributionManagement> |
|
445 | 445 | <outputDirectory>${basedir}/${cs.target.dir}/classes</outputDirectory> |
446 | 446 | <testOutputDirectory>${basedir}/${cs.target.dir}/test-classes</testOutputDirectory> |
447 | 447 | <plugins> |
448 | | - <plugin> |
449 | | - <groupId>org.apache.maven.plugins</groupId> |
450 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
451 | | - <version>2.11</version> |
452 | | - </plugin> |
| 448 | + <!-- |
| 449 | + <plugin> |
| 450 | + <groupId>org.apache.maven.plugins</groupId> |
| 451 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 452 | + <version>${cs.checkstyle.version}</version> |
| 453 | + <dependencies> |
| 454 | + <dependency> |
| 455 | + <groupId>org.apache.cloudstack</groupId> |
| 456 | + <artifactId>checkstyle</artifactId> |
| 457 | + <version>${project.version}</version> |
| 458 | + </dependency> |
| 459 | + </dependencies> |
| 460 | + <executions> |
| 461 | + <execution> |
| 462 | + <phase>process-classes</phase> |
| 463 | + <goals> |
| 464 | + <goal>check</goal> |
| 465 | + </goals> |
| 466 | + </execution> |
| 467 | + </executions> |
| 468 | + <configuration> |
| 469 | + <failsOnError>true</failsOnError> |
| 470 | + <configLocation>tooling/checkstyle.xml</configLocation> |
| 471 | + <consoleOutput>true</consoleOutput> |
| 472 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 473 | + <sourceDirectory>${project.basedir}</sourceDirectory> |
| 474 | + <includes>**\/*.java</includes> |
| 475 | + <excludes>**\/target\/,**\/bin\/,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</excludes> |
| 476 | + </configuration> |
| 477 | + </plugin> |
| 478 | + --> |
453 | 479 | </plugins> |
454 | 480 | <pluginManagement> |
455 | 481 | <plugins> |
456 | 482 | <plugin> |
457 | 483 | <groupId>org.apache.maven.plugins</groupId> |
458 | 484 | <artifactId>maven-checkstyle-plugin</artifactId> |
459 | | - <version>2.11</version> |
| 485 | + <version>${cs.checkstyle.version}</version> |
460 | 486 | </plugin> |
461 | 487 | <plugin> |
462 | 488 | <artifactId>maven-clean-plugin</artifactId> |
|
0 commit comments