You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/07/15 19:08:14 UTC

svn commit: r676981 - /myfaces/tomahawk/trunk/pom.xml

Author: skitching
Date: Tue Jul 15 10:08:14 2008
New Revision: 676981

URL: http://svn.apache.org/viewvc?rev=676981&view=rev
Log:
Upgrade to parent pom. Enable checkstyle checks.

Modified:
    myfaces/tomahawk/trunk/pom.xml

Modified: myfaces/tomahawk/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/pom.xml?rev=676981&r1=676980&r2=676981&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/pom.xml (original)
+++ myfaces/tomahawk/trunk/pom.xml Tue Jul 15 10:08:14 2008
@@ -13,7 +13,7 @@
   <parent>
       <groupId>org.apache.myfaces</groupId>
       <artifactId>myfaces</artifactId>
-      <version>5</version>
+      <version>6</version>
   </parent>
 
   <groupId>org.apache.myfaces.tomahawk</groupId>
@@ -39,6 +39,34 @@
     <url>http://issues.apache.org/jira/browse/TOMAHAWK</url>
   </issueManagement>
 
+  <build>
+    <plugins>
+      <plugin>
+        <!--
+          - Make a checkstyle violation a compile error. Note that if a compile error occurs,
+          - further information can be found in target/site/checkstyle.html (present even when
+          - just the compile goal and not the site goal has been run). Note also that child
+          - projects may redeclare this plugin and provide different configuration settings
+          - to use different checks (more or less strict than the default).
+          -->
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>2.2</version>
+        <executions>
+          <execution>
+            <id>verify-style</id>
+            <phase>verify</phase>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+        <configuration>
+          <configLocation>default/myfaces-checks-minimal.xml</configLocation>
+          <headerLocation>default/myfaces-header.txt</headerLocation>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
   <dependencyManagement>
     <dependencies>
       <dependency>
@@ -50,6 +78,20 @@
     </dependencies>
   </dependencyManagement>
 
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>2.2</version>
+        <configuration>
+          <configLocation>default/myfaces-checks-standard.xml</configLocation>
+          <headerLocation>default/myfaces-header.txt</headerLocation>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
+
   <repositories>
     <repository>
       <id>myfaces-staging</id>