diff options
author | Henri Sara <hesara@vaadin.com> | 2016-04-22 15:41:35 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2016-04-22 15:46:48 +0300 |
commit | d05dbeb873d2a562926efd8172ac32e66deb3947 (patch) | |
tree | 3280a44706552ba3aafeb23d03130e961af2816b /pom.xml | |
parent | a74cf8cfe1288b7e8c579bb804be2b7995ff65d5 (diff) | |
download | vaadin-framework-d05dbeb873d2a562926efd8172ac32e66deb3947.tar.gz vaadin-framework-d05dbeb873d2a562926efd8172ac32e66deb3947.zip |
Run checkstyle with Maven
Change-Id: I8590d2161d027827a5037f0b371ec620cea61733
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 34 |
1 files changed, 33 insertions, 1 deletions
@@ -76,7 +76,6 @@ <modules> - <module>all</module> <module>buildhelpers</module> <module>shared</module> <module>push</module> @@ -88,6 +87,7 @@ <module>widgets</module> <module>uitest</module> <module>liferay</module> + <module>all</module> <!-- Nexus staging bug needs the last module to be deployed. --> <module>bom</module> </modules> @@ -171,6 +171,11 @@ <version>${vaadin.plugin.version}</version> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>2.17</version> + </plugin> + <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> @@ -204,6 +209,33 @@ </pluginManagement> <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>2.17</version> + <dependencies> + <dependency> + <groupId>com.vaadin</groupId> + <artifactId>vaadin-buildhelpers</artifactId> + <version>${project.version}</version> + </dependency> + <!-- Needed because of a JavadocMethodCheck bug in 6.11 --> + <dependency> + <groupId>com.puppycrawl.tools</groupId> + <artifactId>checkstyle</artifactId> + <version>6.17</version> + </dependency> + </dependencies> + <configuration> + <configLocation>checkstyle/vaadin-checkstyle.xml</configLocation> + <headerLocation>checkstyle/header</headerLocation> + <encoding>UTF-8</encoding> + <consoleOutput>false</consoleOutput> + <failsOnError>false</failsOnError> + <linkXRef>false</linkXRef> + </configuration> + </plugin> + <!-- Unpacked Dependencies as resource --> <plugin> <groupId>org.codehaus.mojo</groupId> |