I Been using the maven-changes-plugin for almost 2 years now but was never able to find the XSD for the changes.xml anywhere... will i found it today and it works great...
If you have not checked out my maven-chnages-plugin posting give it a read 1st.
Here is an example changes.xml with the XSD for validation.
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/changes-1.0.0.xsd">
<properties>
<title>Change Log for My App</title>
</properties>
<body>
<release version="1.0.1" description="1st release" date="11/11/08">
<action dev="gdawoud" issue="12344" type="fix">Add a fix for bug</action>
</release>
<release version="1.0" description="1st release" date="11/11/08">
<action dev="gdawoud" issue="12344" type="fix">Add a fix for bug</action>
</release>
</body>
</document>



3 Comments:
What do you do with that xsd file ?? What is that for ? Do you use that to easily parse data from changes.xml and make reports ? For example a report of changes from a first release to a second ?
In fact, I 'm working on a J2EE project with a lot of java project in the WAR/EAR. Each project owns its changes.xml. When we decide a version is fine to go to production, I have the version of each component of that release. I'd like to make a java code which could analyse all that changes.xml and write a report with all changes of THE RELEASE versus the previous one.
So, I just want to know if you had this idea... ? or ?
Sorry for my english.
By the way, very nice blog !
Check out my other post
http://blog.dawouds.com/2008/11/maven-2-maven-changes-plugin-with-email.html
with the maven-changes-plugin you can build a and the maven-site you can build a nice out of the box website with a changes reports, no need for you to do any parse any thing.
check out
http://maven.apache.org/plugins/maven-changes-plugin/changes-report.html
for a sample report
Post a Comment