Author: Alex.Kolonitsky
Date: 2010-05-19 08:56:24 -0400 (Wed, 19 May 2010)
New Revision: 17123
Modified:
root/examples/pom.xml
Log:
checkstyle for examples
Modified: root/examples/pom.xml
===================================================================
--- root/examples/pom.xml 2010-05-19 12:55:35 UTC (rev 17122)
+++ root/examples/pom.xml 2010-05-19 12:56:24 UTC (rev 17123)
@@ -47,14 +47,15 @@
<jetty.port>8080</jetty.port>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+
<richfaces.checkstyle.version>4.0.0-SNAPSHOT</richfaces.checkstyle.version>
</properties>
-
+
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>core-bom</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>${project.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
@@ -129,6 +130,24 @@
</profiles>
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <!-- Configure checkstyle report for this module -->
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces</groupId>
+ <artifactId>richfaces-build-checkstyle
+ </artifactId>
+ <version>${richfaces.checkstyle.version}
+ </version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
@@ -153,14 +172,6 @@
</plugins>
</build>
- <reporting>
- <plugins>
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
-
<repositories>
<repository>
<id>maven-repository2.dev.java.net</id>
Show replies by date