Browse Source

Move checkstyles plugin to actual modules

Change-Id: I2d87a1aeba8ffc8cc15909c32a0c9d10b3ada9a7
tags/7.7.0.alpha2
elmot 8 years ago
parent
commit
4410535d9a
12 changed files with 105 additions and 33 deletions
  1. 13
    0
      all/pom.xml
  2. 12
    0
      buildhelpers/pom.xml
  3. 0
    0
      checkstyle/header
  4. 0
    0
      checkstyle/import-control.xml
  5. 0
    0
      checkstyle/vaadin-checkstyle.xml
  6. 12
    0
      client-compiler/pom.xml
  7. 13
    0
      client/pom.xml
  8. 16
    26
      pom.xml
  9. 13
    0
      server/pom.xml
  10. 13
    0
      shared/pom.xml
  11. 0
    7
      uitest/pom.xml
  12. 13
    0
      widgets/pom.xml

+ 13
- 0
all/pom.xml View File

@@ -88,6 +88,19 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>checkstyle</goal>
</goals>
<phase>process-sources</phase>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>

+ 12
- 0
buildhelpers/pom.xml View File

@@ -41,6 +41,18 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>checkstyle</goal>
</goals>
<phase>process-sources</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>

buildhelpers/src/main/resources/checkstyle/header → checkstyle/header View File


buildhelpers/src/main/resources/checkstyle/import-control.xml → checkstyle/import-control.xml View File


buildhelpers/src/main/resources/checkstyle/vaadin-checkstyle.xml → checkstyle/vaadin-checkstyle.xml View File


+ 12
- 0
client-compiler/pom.xml View File

@@ -249,6 +249,18 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>checkstyle</goal>
</goals>
<phase>process-sources</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>

+ 13
- 0
client/pom.xml View File

@@ -200,6 +200,19 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>checkstyle</goal>
</goals>
<phase>process-sources</phase>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>

+ 16
- 26
pom.xml View File

@@ -174,6 +174,22 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<dependencies>
<!-- 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>
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -214,32 +230,6 @@
</pluginManagement>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<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>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>

+ 13
- 0
server/pom.xml View File

@@ -218,6 +218,19 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>checkstyle</goal>
</goals>
<phase>process-sources</phase>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>

+ 13
- 0
shared/pom.xml View File

@@ -184,6 +184,19 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>checkstyle</goal>
</goals>
<phase>process-sources</phase>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>

+ 0
- 7
uitest/pom.xml View File

@@ -336,13 +336,6 @@
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>

+ 13
- 0
widgets/pom.xml View File

@@ -198,6 +198,19 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>checkstyle</goal>
</goals>
<phase>process-sources</phase>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>

Loading…
Cancel
Save