Add checkstyle config for brace style

This commit is contained in:
Adam
2017-06-08 11:58:58 -04:00
parent b638318349
commit 3118e6a799
11 changed files with 65 additions and 6 deletions

19
pom.xml
View File

@@ -39,6 +39,7 @@
<maven.compiler.target>1.8</maven.compiler.target>
<maven.javadoc.skip>true</maven.javadoc.skip>
<checkstyle.skip>true</checkstyle.skip>
<rs.version>144</rs.version>
</properties>
@@ -110,6 +111,24 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>verify-style</id>
<phase>process-classes</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<!-- exclude generated sources from checkstyle https://stackoverflow.com/a/30406454/7189686 -->
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
</configuration>
</plugin>
</plugins>
<extensions>
<extension>