jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 2.x Changes Plugin
  • Maven 2.x Changes Plugin
  • MCHANGES-61

Provide DTD/XSD for changes.xml

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0-beta-2
  • Fix Version/s: 2.1
  • Component/s: changes.xml
  • Labels:
    None
  • Number of attachments :
    0

Description

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

Issue Links

depends upon

New Feature - A new feature of the product, which has yet to be developed. MODELLO-113 Parsing xml element with attributes and a getter to the element content

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is depended upon by

New Feature - A new feature of the product, which has yet to be developed. MCHANGES-86 Create a changes-validate mojo

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
relates to

New Feature - A new feature of the product, which has yet to be developed. MCHANGES-47 Add support for multiple <issue> and <due-to> tags in changes.xml

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Lukas Theussl added a comment - 20/Nov/06 10:22 AM

The m1 plugin has an xsd already:
http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/changes/src/plugin-resources/xsd/changes.xsd?revision=354742&view=markup

Show
Lukas Theussl added a comment - 20/Nov/06 10:22 AM The m1 plugin has an xsd already: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/changes/src/plugin-resources/xsd/changes.xsd?revision=354742&view=markup
Hide
Permalink
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.

Show
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.
Hide
Permalink
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.

Show
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.
Hide
Permalink
Olivier Lamy added a comment - 27/Jul/08 4: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).

Show
Olivier Lamy added a comment - 27/Jul/08 4: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).
Hide
Permalink
Olivier Lamy added a comment - 28/Jul/08 4:53 AM

fixed in rev 680301.

Show
Olivier Lamy added a comment - 28/Jul/08 4:53 AM fixed in rev 680301.
Hide
Permalink
Milos Kleint added a comment - 28/Jul/08 4:57 AM

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

Show
Milos Kleint added a comment - 28/Jul/08 4:57 AM will the xsd be uploaded to http://maven.apache.org/xsd/ or will it be elsewhere?
Hide
Permalink
Olivier Lamy added a comment - 28/Jul/08 5:02 AM

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

Show
Olivier Lamy added a comment - 28/Jul/08 5:02 AM Yep good idea ! It will included in the site generation too.
Hide
Permalink
Olivier Lamy added a comment - 28/Jul/08 5: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.

Show
Olivier Lamy added a comment - 28/Jul/08 5: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.

People

  • Assignee:
    Olivier Lamy
    Reporter:
    Mark Hobson
Vote (3)
Watch (2)

Dates

  • Created:
    20/Nov/06 5:38 AM
    Updated:
    28/Jul/08 3:22 PM
    Resolved:
    28/Jul/08 4:53 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.