Revert "JCLOUDS-736: Revert "Fail build on checkstyle warnings""
This reverts commit 80d51f409aa36f1a5505214eb4ac6e1128213c92. Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/b0f2962c Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/b0f2962c Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/b0f2962c Branch: refs/heads/use-agentproxy-008 Commit: b0f2962c22c471ee34c1960a58b63f66f8bbe4b0 Parents: 67a0498 Author: Andrew Phillips <[email protected]> Authored: Mon Oct 6 15:11:48 2014 -0400 Committer: Andrew Phillips <[email protected]> Committed: Mon Oct 6 18:14:16 2014 -0400 ---------------------------------------------------------------------- project/pom.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/b0f2962c/project/pom.xml ---------------------------------------------------------------------- diff --git a/project/pom.xml b/project/pom.xml index c5e6693..c337938 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -709,6 +709,18 @@ <artifactId>maven-checkstyle-plugin</artifactId> <version>2.13</version> <!-- configuration and dependencies set via profiles --> + <executions> + <execution> + <id>checkstyle</id> + <phase>validate</phase> + <goals> + <goal>check</goal> + </goals> + <configuration> + <failOnViolation>true</failOnViolation> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.gaul</groupId> @@ -1072,6 +1084,14 @@ <failsOnError>true</failsOnError> <violationSeverity>warning</violationSeverity> </configuration> + <executions> + <execution> + <phase>validate</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> </plugin> <plugin> <groupId>org.gaul</groupId> @@ -1114,6 +1134,14 @@ <failsOnError>true</failsOnError> <violationSeverity>warning</violationSeverity> </configuration> + <executions> + <execution> + <phase>validate</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> </plugin> <plugin> <groupId>org.gaul</groupId>
