mirror of
https://github.com/apache/jclouds.git
synced 2025-02-16 06:56:45 +00:00
Merge pull request #916 from andrewgaul/checkstyle
Add Checkstyle configuration for line length
This commit is contained in:
commit
68165154ed
@ -556,6 +556,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>
|
||||
|
12
resources/checkstyle.xml
Normal file
12
resources/checkstyle.xml
Normal file
@ -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…
x
Reference in New Issue
Block a user