Issue Details (XML | Word | Printable)

Key: MCHANGES-61
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Olivier Lamy
Reporter: Mark Hobson
Votes: 3
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Maven 2.x Changes Plugin

Provide DTD/XSD for changes.xml

Created: 20/Nov/06 05:38 AM   Updated: 28/Jul/08 03:22 PM   Resolved: 28/Jul/08 04:53 AM
Return to search
Component/s: changes-report
Affects Version/s: 2.0-beta-2
Fix Version/s: 2.1

Time Tracking:
Not Specified

Issue Links:
Related
 
dependent


 Description  « Hide

A DTD/XSD for changes.xml would be extremely useful for IDE auto-completion. It should be hosted on the apache site.




Mark Hobson added a comment - 20/Nov/06 10:40 AM

Cool, any chance of hosting this somewhere convenient? We would also ideally need a namespace.


Dennis Lundberg added a comment - 20/Nov/06 12:04 PM

Please note that the Maven 2 version of the plugin does not yet have all the features of the Maven 1 plugin.

Work has been done by Denis Cabasson in MCHANGES-47 to try to use a Modello model in the changes plugin. With this in place it would be easy to generate an xsd for changes.xml. I've been working a bit on Modello to apply patches that are required by Denis' patch for the changes plugin.


Dennis Lundberg made changes - 20/Nov/06 01:06 PM
Field Original Value New Value
Link This issue is related to MCHANGES-47 [ MCHANGES-47 ]
Dennis Lundberg made changes - 04/Jul/07 05:39 PM
Component/s changes-report [ 12877 ]
Olivier Lamy made changes - 29/Jun/08 05:39 PM
Link This issue depends upon MCHANGES-86 [ MCHANGES-86 ]
Olivier Lamy made changes - 02/Jul/08 04:17 PM
Fix Version/s 2.1 [ 14064 ]
Olivier Lamy made changes - 26/Jul/08 04:10 PM
Assignee Olivier Lamy [ olamy ]
Olivier Lamy added a comment - 27/Jul/08 04:44 AM

If we use the patch from MCHANGES-47 the changes xml need changes and this will break backward compatibility.
To preserve backward comp, we have to fix MODELLO-113 (I'm working on providing a patch for this).


Olivier Lamy made changes - 27/Jul/08 05:04 AM
Link This issue depends upon MODELLO-113 [ MODELLO-113 ]
Olivier Lamy added a comment - 28/Jul/08 04:53 AM

fixed in rev 680301.


Olivier Lamy made changes - 28/Jul/08 04:53 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]
Milos Kleint added a comment - 28/Jul/08 04:57 AM

will the xsd be uploaded to http://maven.apache.org/xsd/ or will it be elsewhere?


Olivier Lamy added a comment - 28/Jul/08 05:02 AM

Yep good idea !
It will included in the site generation too.


Olivier Lamy added a comment - 28/Jul/08 05:09 AM

Note using the Xpp3Reader has the following side effect.
People must add

<action type="fix" dev="toto">
  <![CDATA[ 
   Add <i>foo</i> in the bean .
  ]]>
</action>
Whereas the following format was supported before :
<action type="fix" dev="toto">
   Add <i>foo</i> in the bean .
</action>

I will see if I can find a solution in modello if not I will add note in the release note.


Dennis Lundberg made changes - 28/Jul/08 03:22 PM
Link This issue depends upon MCHANGES-86 [ MCHANGES-86 ]
Dennis Lundberg made changes - 28/Jul/08 03:22 PM
Link This issue is depended upon by MCHANGES-86 [ MCHANGES-86 ]