mirror of https://github.com/apache/jclouds.git
Add Checkstyle configuration for line length
Enforces line length of 120 characters, which fails due to many violations.
This commit is contained in:
parent
b855d98f13
commit
44f6318759
|
@ -541,6 +541,15 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>2.9.1</version>
|
||||
<configuration>
|
||||
<configLocation>../resources/checkstyle.xml</configLocation>
|
||||
<violationSeverity>warning</violationSeverity>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
|
||||
|
||||
<module name="Checker">
|
||||
<property name="severity" value="warning"/>
|
||||
<module name="TreeWalker">
|
||||
<module name="LineLength">
|
||||
<property name="ignorePattern" value="^import\s.*;$"/>
|
||||
<property name="max" value="120"/>
|
||||
</module>
|
||||
</module>
|
||||
</module>
|
Loading…
Reference in New Issue