diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-19 09:56:49 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-19 09:57:33 +1200 |
commit | 0554e13bb8de191c24c6c1c3b6957b34df3a9fe5 (patch) | |
tree | eca155871ddc905fed59c55142130cc5fba647d9 /pom.xml | |
parent | 464711d63dafb44e89f3d4112f13250f268c11cd (diff) | |
download | trackermap-server-0554e13bb8de191c24c6c1c3b6957b34df3a9fe5.tar.gz trackermap-server-0554e13bb8de191c24c6c1c3b6957b34df3a9fe5.tar.bz2 trackermap-server-0554e13bb8de191c24c6c1c3b6957b34df3a9fe5.zip |
Add checkstyle to build (fix #2119)
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 24 |
1 files changed, 17 insertions, 7 deletions
@@ -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> |