Author: Alex.Kolonitsky
Date: 2009-12-03 06:17:33 -0500 (Thu, 03 Dec 2009)
New Revision: 16050
Modified:
root/ui/trunk/pom.xml
Log:
RFPL-195 Code style policy
Add checkstyle in section build and reporting
Modified: root/ui/trunk/pom.xml
===================================================================
--- root/ui/trunk/pom.xml 2009-12-03 11:16:07 UTC (rev 16049)
+++ root/ui/trunk/pom.xml 2009-12-03 11:17:33 UTC (rev 16050)
@@ -38,9 +38,55 @@
</execution-->
</executions>
</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>
+
<dependencies>
<dependency>
<groupId>junit</groupId>
Show replies by date