Skip to content

Commit

Permalink
Added checkstyle checks
Browse files Browse the repository at this point in the history
Signed-off-by: jk KPADEY <[email protected]>
  • Loading branch information
mivek committed May 25, 2020
1 parent 3c205a1 commit f8834bf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checkstyle configuration that checks the sun coding conventions.
-->
<module name="Checker">
<property name="severity" value="warning"/>
<property name="fileExtensions" value="java, properties, xml"/>
<property name="fileExtensions" value="java"/>
<module name="TreeWalker">
<module name="JavadocMethod"/>
<module name="JavadocType"/>
Expand Down
23 changes: 23 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,32 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<excludes>*Test.java</excludes>
<configLocation>checkstyle.xml</configLocation>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>


<profiles>
<profile>
<id>release</id>
Expand Down

0 comments on commit f8834bf

Please sign in to comment.