Author: Alex.Kolonitsky
Date: 2009-12-03 06:16:07 -0500 (Thu, 03 Dec 2009)
New Revision: 16049
Modified:
root/examples/trunk/pom.xml
Log:
RFPL-195 Code style policy
Add checkstyle in section build and reporting
Modified: root/examples/trunk/pom.xml
===================================================================
--- root/examples/trunk/pom.xml 2009-12-03 11:14:58 UTC (rev 16048)
+++ root/examples/trunk/pom.xml 2009-12-03 11:16:07 UTC (rev 16049)
@@ -159,9 +159,55 @@
<target>1.5</target>
</configuration>
</plugin>
- </plugins>
- </build>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.3</version>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces</groupId>
+ <artifactId>checkstyle</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+
+ <executions>
+ <execution>
+ <id>richfaces-checkstyle-report</id>
+ <configuration>
+
<configLocation>exadel-richfaces-checkstyle/exadel+sun-checkstyle.xml</configLocation>
+
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
+
+ <failOnViolation>false</failOnViolation>
+ </configuration>
+
+ <phase>process-sources</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.3</version>
+
+ <configuration>
+
<configLocation>exadel-richfaces-checkstyle/exadel+sun-checkstyle.xml</configLocation>
+
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+
<properties>
<jetty.port>8080</jetty.port>
</properties>
Show replies by date