Added checkstyle Maven plugin with rules for tabs.

Dieser Commit ist enthalten in:
sk89q 2014-04-04 14:12:01 -07:00
Ursprung cbf58103e6
Commit 60f0c06971

27
pom.xml
Datei anzeigen

@ -195,6 +195,33 @@
</executions> </executions>
</plugin> </plugin>
<!-- Check style -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.12</version>
<executions>
<execution>
<id>verify-style</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<sourceDirectory>${basedir}/src</sourceDirectory>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<logViolationsToConsole>true</logViolationsToConsole>
<checkstyleRules>
<module name="Checker">
<module name="FileTabCharacter"/>
</module>
</checkstyleRules>
</configuration>
</plugin>
<!-- Compiler --> <!-- Compiler -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>