|
160 | 160 | </organization> |
161 | 161 |
|
162 | 162 | <modules> |
163 | | - <module>build/checkstyle</module> |
164 | 163 | <module>api</module> |
165 | 164 | <module>agent</module> |
166 | 165 | <module>core</module> |
|
448 | 447 | <plugin> |
449 | 448 | <groupId>org.apache.maven.plugins</groupId> |
450 | 449 | <artifactId>maven-checkstyle-plugin</artifactId> |
451 | | - <!-- |
452 | | - <dependencies> |
453 | | - <dependency> |
454 | | - <groupId>org.apache.cloudstack</groupId> |
455 | | - <artifactId>build-checkstyle</artifactId> |
456 | | - <version>${project.version}</version> |
457 | | - </dependency> |
458 | | - </dependencies> |
459 | | - --> |
460 | | - <inherited>false</inherited> |
| 450 | + <inherited>false</inherited> |
461 | 451 | <executions> |
462 | 452 | <execution> |
463 | 453 | <phase>validate</phase> |
464 | 454 | <goals> |
465 | 455 | <goal>check</goal> |
466 | 456 | </goals> |
467 | | - </execution> |
| 457 | + </execution> |
468 | 458 | </executions> |
469 | 459 | <configuration> |
470 | 460 | <failsOnError>true</failsOnError> |
471 | | - <configLocation>${project.basedir}/build/checkstyle/src/main/resources/tooling/checkstyle.xml</configLocation> |
| 461 | + <configLocation>${project.basedir}/tools/checkstyle/cloud-style.xml</configLocation> |
472 | 462 | <consoleOutput>true</consoleOutput> |
473 | 463 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
474 | 464 | <sourceDirectory>${project.basedir}</sourceDirectory> |
|
549 | 539 | <ignore /> |
550 | 540 | </action> |
551 | 541 | </pluginExecution> |
| 542 | + <pluginExecution> |
| 543 | + <pluginExecutionFilter> |
| 544 | + <groupId>org.apache.maven.plugins</groupId> |
| 545 | + <artifactId>maven-dependency-plugin</artifactId> |
| 546 | + <versionRange>[2.0,)</versionRange> |
| 547 | + <goals> |
| 548 | + <goal>copy-dependencies</goal> |
| 549 | + </goals> |
| 550 | + </pluginExecutionFilter> |
| 551 | + <action> |
| 552 | + <ignore /> |
| 553 | + </action> |
| 554 | + </pluginExecution> |
552 | 555 | </pluginExecutions> |
553 | 556 | </lifecycleMappingMetadata> |
554 | 557 | </configuration> |
|
653 | 656 | <exclude>ui/lib/qunit/qunit.js</exclude> |
654 | 657 | <exclude>ui/lib/reset.css</exclude> |
655 | 658 | <exclude>ui/lib/require.js</exclude> |
656 | | - <exclude>waf</exclude> |
657 | 659 | <exclude>systemvm/conf/agent.properties</exclude> |
658 | 660 | <exclude>systemvm/conf/environment.properties</exclude> |
659 | 661 | <exclude>systemvm/js/jquery.js</exclude> |
|
753 | 755 | </plugins> |
754 | 756 | </pluginManagement> |
755 | 757 | </build> |
756 | | - <!-- |
757 | | - <reporting> |
758 | | - <plugins> |
759 | | - <plugin> |
760 | | - <groupId>org.apache.maven.plugins</groupId> |
761 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
762 | | - <configuration> |
763 | | - <failsOnError>true</failsOnError> |
764 | | - <configLocation>tooling/checkstyle.xml</configLocation> |
765 | | - <consoleOutput>true</consoleOutput> |
766 | | - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
767 | | - <sourceDirectory>${project.basedir}</sourceDirectory> |
768 | | - <includes>**\/*.java</includes> |
769 | | - <excludes>**\/deps\/,**\/test\/,**\/target\/,**\/bin\/,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/awsapi\/,**\/XenServerJava\/,**\/apidoc\/</excludes> |
770 | | - </configuration> |
771 | | - </plugin> |
772 | | - </plugins> |
773 | | - </reporting> |
774 | | - --> |
775 | 758 | <profiles> |
776 | 759 | <profile> |
777 | 760 | <id>awsapi</id> |
|
813 | 796 | </properties> |
814 | 797 | <modules> |
815 | 798 | <module>developer</module> |
816 | | - <!--module>tools/devcloud</module --> |
817 | 799 | </modules> |
818 | 800 | </profile> |
819 | 801 | <profile> |
|
0 commit comments