aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-07-19 09:56:49 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-07-19 09:57:33 +1200
commit0554e13bb8de191c24c6c1c3b6957b34df3a9fe5 (patch)
treeeca155871ddc905fed59c55142130cc5fba647d9
parent464711d63dafb44e89f3d4112f13250f268c11cd (diff)
downloadtrackermap-server-0554e13bb8de191c24c6c1c3b6957b34df3a9fe5.tar.gz
trackermap-server-0554e13bb8de191c24c6c1c3b6957b34df3a9fe5.tar.bz2
trackermap-server-0554e13bb8de191c24c6c1c3b6957b34df3a9fe5.zip
Add checkstyle to build (fix #2119)
-rw-r--r--pom.xml24
1 files changed, 17 insertions, 7 deletions
diff --git a/pom.xml b/pom.xml
index 4d6e944a4..22000da3d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -136,6 +136,23 @@
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.17</version>
+ <configuration>
+ <configLocation>checkstyle.xml</configLocation>
+ </configuration>
+ <executions>
+ <execution>
+ <id>checkstyle</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
@@ -214,13 +231,6 @@
<version>2.5</version>
</plugin>
<plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.17</version>
- <configuration>
- <configLocation>checkstyle.xml</configLocation>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.4</version>