Slight optimization, don't run checkstyle on container or non-java projects.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f1139848 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f1139848 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f1139848 Branch: refs/heads/ui-restyle Commit: f1139848e50870078ea7fd2f732bcf59accf0753 Parents: 594b51c Author: Hugo Trippaers <htrippa...@schubergphilis.com> Authored: Tue Feb 18 12:24:11 2014 +0100 Committer: Hugo Trippaers <htrippa...@schubergphilis.com> Committed: Tue Feb 18 12:24:11 2014 +0100 ---------------------------------------------------------------------- client/pom.xml | 11 +++++++++++ engine/pom.xml | 13 +++++++++++++ framework/pom.xml | 13 +++++++++++++ plugins/pom.xml | 13 +++++++++++++ services/pom.xml | 13 +++++++++++++ 5 files changed, 63 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f1139848/client/pom.xml ---------------------------------------------------------------------- diff --git a/client/pom.xml b/client/pom.xml index f59e1a0..03a141d 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -571,6 +571,17 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <executions> + <execution> + <id>cloudstack-checkstyle</id> + <phase>none</phase> + <inherited>false</inherited> + </execution> + </executions> + </plugin> </plugins> </build> <profiles> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f1139848/engine/pom.xml ---------------------------------------------------------------------- diff --git a/engine/pom.xml b/engine/pom.xml index f95007c..5f1b95b 100644 --- a/engine/pom.xml +++ b/engine/pom.xml @@ -29,6 +29,19 @@ </parent> <build> <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <executions> + <execution> + <id>cloudstack-checkstyle</id> + <phase>none</phase> + <inherited>false</inherited> + </execution> + </executions> + </plugin> + </plugins> </build> <modules> <module>api</module> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f1139848/framework/pom.xml ---------------------------------------------------------------------- diff --git a/framework/pom.xml b/framework/pom.xml index 505c49e..a1f4321 100644 --- a/framework/pom.xml +++ b/framework/pom.xml @@ -28,6 +28,19 @@ </parent> <build> <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <executions> + <execution> + <id>cloudstack-checkstyle</id> + <phase>none</phase> + <inherited>false</inherited> + </execution> + </executions> + </plugin> + </plugins> </build> <modules> <module>ipc</module> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f1139848/plugins/pom.xml ---------------------------------------------------------------------- diff --git a/plugins/pom.xml b/plugins/pom.xml index b1bafee..a9cf617 100755 --- a/plugins/pom.xml +++ b/plugins/pom.xml @@ -22,6 +22,19 @@ <build> <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <executions> + <execution> + <id>cloudstack-checkstyle</id> + <phase>none</phase> + <inherited>false</inherited> + </execution> + </executions> + </plugin> + </plugins> </build> <modules> <module>api/rate-limit</module> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f1139848/services/pom.xml ---------------------------------------------------------------------- diff --git a/services/pom.xml b/services/pom.xml index 0e61a61..def3027 100644 --- a/services/pom.xml +++ b/services/pom.xml @@ -29,6 +29,19 @@ </parent> <build> <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <executions> + <execution> + <id>cloudstack-checkstyle</id> + <phase>none</phase> + <inherited>false</inherited> + </execution> + </executions> + </plugin> + </plugins> </build> <modules> <module>console-proxy</module>