You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2014/10/03 22:09:42 UTC

git commit: JCLOUDS-736: Revert "Fail build on checkstyle warnings"

Repository: jclouds
Updated Branches:
  refs/heads/master d94913764 -> 80d51f409


JCLOUDS-736: Revert "Fail build on checkstyle warnings"

This reverts commit 9384575d1ee4c2e68ff503b237dfedf8ab6b14bb.  This
caused errors of the form:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.12.1:check (checkstyle) on project jclouds-core: Failed during checkstyle execution: Unable to process configuration file at location: resources/checkstyle.xml: Cannot create file-based resource:invalid distance too far back -> [Help 1]

Likely due to running checkstyle during the validate phase which runs
before the package phase where checkstyle would find its resource jar.


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/80d51f40
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/80d51f40
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/80d51f40

Branch: refs/heads/master
Commit: 80d51f409aa36f1a5505214eb4ac6e1128213c92
Parents: d949137
Author: Andrew Gaul <ga...@apache.org>
Authored: Fri Oct 3 13:04:24 2014 -0700
Committer: Andrew Gaul <ga...@apache.org>
Committed: Fri Oct 3 13:08:49 2014 -0700

----------------------------------------------------------------------
 project/pom.xml | 28 ----------------------------
 1 file changed, 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/80d51f40/project/pom.xml
----------------------------------------------------------------------
diff --git a/project/pom.xml b/project/pom.xml
index 5290894..9325981 100644
--- a/project/pom.xml
+++ b/project/pom.xml
@@ -694,18 +694,6 @@
       <plugin>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <version>2.13</version>
-        <executions>
-          <execution>
-          <id>checkstyle</id>
-          <phase>validate</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          <configuration>
-            <failOnViolation>true</failOnViolation>
-          </configuration>
-        </execution>
-        </executions>
         <configuration>
           <!-- configLocation configured via profiles -->
           <violationSeverity>warning</violationSeverity>
@@ -1070,14 +1058,6 @@
               <failsOnError>true</failsOnError>
               <violationSeverity>warning</violationSeverity>
             </configuration>
-            <executions>
-              <execution>
-                <phase>validate</phase>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-              </execution>
-            </executions>
           </plugin>
         </plugins>
       </build>
@@ -1110,14 +1090,6 @@
               <resourceExcludes>checkstyle.xml</resourceExcludes>
               <violationSeverity>warning</violationSeverity>
             </configuration>
-            <executions>
-              <execution>
-                <phase>validate</phase>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-              </execution>
-            </executions>
           </plugin>
           <plugin>
             <groupId>org.gaul</groupId>