Author: sshafroi
Date: 2008-04-18 14:18:24 +0200 (Fri, 18 Apr 2008)
New Revision: 6488

Modified:
   trunk/pom.xml
Log:
Add xml:validate task, this will validate all modes.xml files.

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml       2008-04-18 12:11:21 UTC (rev 6487)
+++ trunk/pom.xml       2008-04-18 12:18:24 UTC (rev 6488)
@@ -242,10 +242,31 @@
                                 </goals>
                             </execution>
                         </executions>
+                    </plugin>             
+
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>xml-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <goals>
+                                    <goal>validate</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <validationSets>
+                                <validationSet>
+                                    <dir>.</dir>
+                                    <includes>
+                                        <include>**/modes.xml</include>
+                                    </includes>
+                                </validationSet>
+                            </validationSets>
+                        </configuration>
                     </plugin>
-                </plugins>
+                </plugins>           
             </build>
-
         </profile>
         <profile>
             <id>alpha</id>

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to