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/13 16:45:14 UTC

svn commit: r676334 - /myfaces/orchestra/trunk/maven/pom.xml

Author: skitching
Date: Sun Jul 13 07:45:13 2008
New Revision: 676334

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

Modified:
    myfaces/orchestra/trunk/maven/pom.xml

Modified: myfaces/orchestra/trunk/maven/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/maven/pom.xml?rev=676334&r1=676333&r2=676334&view=diff
==============================================================================
--- myfaces/orchestra/trunk/maven/pom.xml (original)
+++ myfaces/orchestra/trunk/maven/pom.xml Sun Jul 13 07:45:13 2008
@@ -6,7 +6,7 @@
   <parent>
     <groupId>org.apache.myfaces</groupId>
     <artifactId>myfaces</artifactId>
-    <version>6-SNAPSHOT</version>
+    <version>6</version>
   </parent>
 
   <groupId>org.apache.myfaces.orchestra</groupId>
@@ -197,8 +197,27 @@
       </plugin>
 
       <plugin>
-        <!-- use pluginManagement configuration inherited from parent. -->
+        <!--
+          - 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-standard.xml</configLocation>
+          <headerLocation>default/myfaces-header.txt</headerLocation>
+        </configuration>
       </plugin>
 
       <!--
@@ -248,6 +267,20 @@
     </pluginManagement>
   </build>
 
+  <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>
+
   <properties>
     <!-- ensure to not to point to a snapshot version during release -->
     <myfaces.version>1.1.5</myfaces.version>