Validate changes.xml file
diff --git a/pom.xml b/pom.xml
index 3f20c66..3966443 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,6 +97,23 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <version>2.1</version>
+ <executions>
+ <execution>
+ <id>validate-changes</id>
+ <phase>pre-site</phase>
+ <goals>
+ <goal>changes-validate</goal>
+ </goals>
+ <configuration>
+ <failOnError>true</failOnError>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<reporting>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 78205b9..9443bda 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -1,10 +1,15 @@
-<document>
+<document xmlns="http://maven.apache.org/changes/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd">
<properties>
<title>YAML 1.1 parser and emitter</title>
<author email="py4fun@gmail.com">Andrey Somov</author>
</properties>
<body>
<release version="1.2-SNAPSHOT" date="in Mercurial" description="development">
+ <action dev="py4fun" type="update">
+ Validate changes.xml file (2009-05-25)
+ </action>
<action dev="py4fun" type="fix" due-to="Magne" issue="40">
Fix: getting an error when javabean contains java.sql.Timestamp fields (2009-05-25)
</action>