You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devicemap.apache.org by bd...@apache.org on 2013/02/15 17:24:27 UTC

svn commit: r1446674 - /incubator/devicemap/trunk/openddr/data/pom.xml

Author: bdelacretaz
Date: Fri Feb 15 16:24:27 2013
New Revision: 1446674

URL: http://svn.apache.org/r1446674
Log:
DMAP-17 - verify that all XML files are well-formed at build time

Modified:
    incubator/devicemap/trunk/openddr/data/pom.xml

Modified: incubator/devicemap/trunk/openddr/data/pom.xml
URL: http://svn.apache.org/viewvc/incubator/devicemap/trunk/openddr/data/pom.xml?rev=1446674&r1=1446673&r2=1446674&view=diff
==============================================================================
--- incubator/devicemap/trunk/openddr/data/pom.xml (original)
+++ incubator/devicemap/trunk/openddr/data/pom.xml Fri Feb 15 16:24:27 2013
@@ -41,6 +41,33 @@
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/devicemap/trunk/openddr/data</developerConnection>
     <url>http://svn.apache.org/repos/asf/incubator/devicemap/trunk/openddr/data</url>
   </scm>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>xml-maven-plugin</artifactId>
+        <version>1.0</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>validate</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <validationSets>
+            <validationSet>
+              <dir>src</dir>
+              <includes>
+                <include>**/*.xml</include>
+              </includes>
+            </validationSet>
+          </validationSets>
+        </configuration>
+        </plugin>
+    </plugins>
+  </build>
 
 </project>