Skip to content

Instantly share code, notes, and snippets.

@leeym

leeym/pom.xml Secret

Created October 26, 2016 08:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leeym/e825c413be410dd03404ead95604e8a5 to your computer and use it in GitHub Desktop.
Save leeym/e825c413be410dd03404ead95604e8a5 to your computer and use it in GitHub Desktop.
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>6.12.1</version>
</dependency>
<dependency>
<groupId>com.wealthfront</groupId>
<artifactId>wealthfront-test-commons</artifactId>
<version>${wealthfront-test-commons-version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<configuration>
<configLocation>wfstyle.xml</configLocation>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<includes>**/*.java</includes>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<suppressionsLocation>src/checkstyle_suppressions.xml</suppressionsLocation>
<cacheFile>${basedir}/checkstyle-cachefile</cacheFile>
</configuration>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment