|
522 | 522 | <groupId>org.apache.maven.plugins</groupId>
|
523 | 523 | <artifactId>maven-assembly-plugin</artifactId>
|
524 | 524 | </plugin>
|
| 525 | + <plugin> |
| 526 | + <groupId>org.apache.maven.plugins</groupId> |
| 527 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 528 | + <executions> |
| 529 | + <execution> |
| 530 | + <id>validate</id> |
| 531 | + <phase>validate</phase> |
| 532 | + <goals> |
| 533 | + <goal>check</goal> |
| 534 | + </goals> |
| 535 | + </execution> |
| 536 | + </executions> |
| 537 | + <configuration combine.self="override"> |
| 538 | + <configLocation>${project.basedir}/etc/checkstyle/config.xml</configLocation> |
| 539 | + <suppressionsLocation>${project.basedir}/etc/checkstyle/suppressions.xml</suppressionsLocation> |
| 540 | + <headerLocation>${project.basedir}/etc/checkstyle/java-header.txt</headerLocation> |
| 541 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 542 | + <consoleOutput>true</consoleOutput> |
| 543 | + <failsOnError>true</failsOnError> |
| 544 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 545 | + </configuration> |
| 546 | + </plugin> |
525 | 547 | <plugin>
|
526 | 548 | <groupId>org.jacoco</groupId>
|
527 | 549 | <artifactId>jacoco-maven-plugin</artifactId>
|
|
742 | 764 | </pluginRepository>
|
743 | 765 | </pluginRepositories>
|
744 | 766 |
|
745 |
| - <profiles> |
746 |
| - <profile> |
747 |
| - <id>always-but-ci</id> |
748 |
| - <activation> |
749 |
| - <property> |
750 |
| - <name>!running-on-ci</name> |
751 |
| - </property> |
752 |
| - </activation> |
753 |
| - <build> |
754 |
| - <plugins> |
755 |
| - <plugin> |
756 |
| - <groupId>org.apache.maven.plugins</groupId> |
757 |
| - <artifactId>maven-checkstyle-plugin</artifactId> |
758 |
| - <executions> |
759 |
| - <execution> |
760 |
| - <id>validate</id> |
761 |
| - <phase>validate</phase> |
762 |
| - <goals> |
763 |
| - <goal>check</goal> |
764 |
| - </goals> |
765 |
| - </execution> |
766 |
| - </executions> |
767 |
| - <configuration> |
768 |
| - <configLocation>${project.basedir}/etc/checkstyle/config.xml</configLocation> |
769 |
| - <suppressionsLocation>${project.basedir}/etc/checkstyle/suppressions.xml</suppressionsLocation> |
770 |
| - <headerLocation>${project.basedir}/etc/checkstyle/java-header.txt</headerLocation> |
771 |
| - <encoding>${project.build.sourceEncoding}</encoding> |
772 |
| - <consoleOutput>true</consoleOutput> |
773 |
| - <failsOnError>true</failsOnError> |
774 |
| - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
775 |
| - </configuration> |
776 |
| - </plugin> |
777 |
| - </plugins> |
778 |
| - </build> |
779 |
| - </profile> |
780 |
| - </profiles> |
781 | 767 | </project>
|
0 commit comments