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/12 18:12:40 UTC

svn commit: r676198 - /myfaces/shared/trunk_3.0.x/pom.xml

Author: skitching
Date: Sat Jul 12 09:12:39 2008
New Revision: 676198

URL: http://svn.apache.org/viewvc?rev=676198&view=rev
Log:
Upgrade to new parent pom. Configure checkstyle.

Modified:
    myfaces/shared/trunk_3.0.x/pom.xml

Modified: myfaces/shared/trunk_3.0.x/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk_3.0.x/pom.xml?rev=676198&r1=676197&r2=676198&view=diff
==============================================================================
--- myfaces/shared/trunk_3.0.x/pom.xml (original)
+++ myfaces/shared/trunk_3.0.x/pom.xml Sat Jul 12 09:12:39 2008
@@ -7,7 +7,7 @@
   <parent>
     <groupId>org.apache.myfaces</groupId>
     <artifactId>myfaces</artifactId>
-    <version>5</version>
+    <version>6</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
@@ -54,6 +54,30 @@
           <target>1.5</target>
         </configuration>
       </plugin>
+      <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>process-sources</phase>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+        <configuration>
+          <configLocation>default/myfaces-checks-minimal.xml</configLocation>
+          <headerLocation>default/myfaces-header-spaces.txt</headerLocation>
+        </configuration>
+      </plugin>
+ 
     </plugins>
   </build>
 
@@ -178,6 +202,15 @@
           <reportSet/>
         </reportSets>
       </plugin>
+      <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-spaces.txt</headerLocation>
+        </configuration>
+      </plugin>
     </plugins>
   </reporting>