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/09 20:48:35 UTC

svn commit: r675303 - in /myfaces/myfaces-build-tools/trunk/maven2-plugins: myfaces-faces-plugin/pom.xml myfaces-javascript-plugin/pom.xml

Author: skitching
Date: Wed Jul  9 11:48:35 2008
New Revision: 675303

URL: http://svn.apache.org/viewvc?rev=675303&view=rev
Log:
Relax checkstyle rules from default, as these projects don't comply at all.

Modified:
    myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-faces-plugin/pom.xml
    myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-javascript-plugin/pom.xml

Modified: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-faces-plugin/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-faces-plugin/pom.xml?rev=675303&r1=675302&r2=675303&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-faces-plugin/pom.xml (original)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-faces-plugin/pom.xml Wed Jul  9 11:48:35 2008
@@ -17,7 +17,9 @@
     under the License.
 	   
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
@@ -46,6 +48,21 @@
           <target>1.4</target>
         </configuration>
       </plugin>
+      <plugin>
+        <!--
+          - Override checkstyle config file definitions from parent pom. The source of
+          - this project is not compliant with the normal MyFaces code style rules, and
+          - probably never will be.
+          -->
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>2.2</version>
+        <configuration>
+          <configLocation>default/myfaces-checks-minimal.xml</configLocation>
+          <headerLocation>default/myfaces-header-spaces.txt</headerLocation>
+        </configuration>
+      </plugin>
+
     </plugins>
   </build>
 

Modified: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-javascript-plugin/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-javascript-plugin/pom.xml?rev=675303&r1=675302&r2=675303&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-javascript-plugin/pom.xml (original)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-javascript-plugin/pom.xml Wed Jul  9 11:48:35 2008
@@ -61,6 +61,20 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <!--
+          - Override checkstyle config file definitions from parent pom. The source of
+          - this project is not compliant with the normal MyFaces code style rules, and
+          - probably never will be.
+          -->
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>2.2</version>
+        <configuration>
+          <configLocation>default/myfaces-checks-minimal.xml</configLocation>
+          <headerLocation>default/myfaces-header-spaces.txt</headerLocation>
+        </configuration>
+      </plugin>
     </plugins>
   </build>