mirror of https://github.com/apache/jclouds.git
JCLOUDS-736: Revert "Fail build on checkstyle warnings"
This reverts commit 9384575d1e
. 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.
This commit is contained in:
parent
d949137649
commit
80d51f409a
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue