Skip to content

Commit f113984

Browse files
committed
Slight optimization, don't run checkstyle on container or non-java projects.
1 parent 594b51c commit f113984

5 files changed

Lines changed: 63 additions & 0 deletions

File tree

client/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,17 @@
571571
</execution>
572572
</executions>
573573
</plugin>
574+
<plugin>
575+
<groupId>org.apache.maven.plugins</groupId>
576+
<artifactId>maven-checkstyle-plugin</artifactId>
577+
<executions>
578+
<execution>
579+
<id>cloudstack-checkstyle</id>
580+
<phase>none</phase>
581+
<inherited>false</inherited>
582+
</execution>
583+
</executions>
584+
</plugin>
574585
</plugins>
575586
</build>
576587
<profiles>

engine/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@
2929
</parent>
3030
<build>
3131
<defaultGoal>install</defaultGoal>
32+
<plugins>
33+
<plugin>
34+
<groupId>org.apache.maven.plugins</groupId>
35+
<artifactId>maven-checkstyle-plugin</artifactId>
36+
<executions>
37+
<execution>
38+
<id>cloudstack-checkstyle</id>
39+
<phase>none</phase>
40+
<inherited>false</inherited>
41+
</execution>
42+
</executions>
43+
</plugin>
44+
</plugins>
3245
</build>
3346
<modules>
3447
<module>api</module>

framework/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@
2828
</parent>
2929
<build>
3030
<defaultGoal>install</defaultGoal>
31+
<plugins>
32+
<plugin>
33+
<groupId>org.apache.maven.plugins</groupId>
34+
<artifactId>maven-checkstyle-plugin</artifactId>
35+
<executions>
36+
<execution>
37+
<id>cloudstack-checkstyle</id>
38+
<phase>none</phase>
39+
<inherited>false</inherited>
40+
</execution>
41+
</executions>
42+
</plugin>
43+
</plugins>
3144
</build>
3245
<modules>
3346
<module>ipc</module>

plugins/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@
2222

2323
<build>
2424
<defaultGoal>install</defaultGoal>
25+
<plugins>
26+
<plugin>
27+
<groupId>org.apache.maven.plugins</groupId>
28+
<artifactId>maven-checkstyle-plugin</artifactId>
29+
<executions>
30+
<execution>
31+
<id>cloudstack-checkstyle</id>
32+
<phase>none</phase>
33+
<inherited>false</inherited>
34+
</execution>
35+
</executions>
36+
</plugin>
37+
</plugins>
2538
</build>
2639
<modules>
2740
<module>api/rate-limit</module>

services/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@
2929
</parent>
3030
<build>
3131
<defaultGoal>install</defaultGoal>
32+
<plugins>
33+
<plugin>
34+
<groupId>org.apache.maven.plugins</groupId>
35+
<artifactId>maven-checkstyle-plugin</artifactId>
36+
<executions>
37+
<execution>
38+
<id>cloudstack-checkstyle</id>
39+
<phase>none</phase>
40+
<inherited>false</inherited>
41+
</execution>
42+
</executions>
43+
</plugin>
44+
</plugins>
3245
</build>
3346
<modules>
3447
<module>console-proxy</module>

0 commit comments

Comments
 (0)