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 17:32:26 UTC

svn commit: r676188 - /myfaces/shared/trunk/pom.xml

Author: skitching
Date: Sat Jul 12 08:32:26 2008
New Revision: 676188

URL: http://svn.apache.org/viewvc?rev=676188&view=rev
Log:
Use new parent pom.

Modified:
    myfaces/shared/trunk/pom.xml

Modified: myfaces/shared/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk/pom.xml?rev=676188&r1=676187&r2=676188&view=diff
==============================================================================
--- myfaces/shared/trunk/pom.xml (original)
+++ myfaces/shared/trunk/pom.xml Sat Jul 12 08:32:26 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>
@@ -46,6 +46,32 @@
   </repositories>
 
   <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>process-sources</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>
+
     <pluginManagement>
       <plugins>
         <plugin>
@@ -172,4 +198,19 @@
       <url>scpexe://people.apache.org/www/myfaces.apache.org/shared11/</url>
     </site>
   </distributionManagement>
+
+  <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>
+
 </project>