use an xml schema for archetype.xml
-----------------------------------

                 Key: ARCHETYPE-47
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-47
             Project: Maven Archetype
          Issue Type: New Feature
    Affects Versions: 1.0
         Environment: all
            Reporter: Greg Kick
         Attachments: archetype-v1_0_0.png, archetype-v1_0_0.xsd

like pom.xml and settings.xml, i would like to see archetype.xml have an xml 
schema.  not only does it provide quick validation, but it is useful for 
auto-completion in xml editors.  it could also have applications in the 
maven-archetype-plugin because jaxb can provide quick-and-easy unmarshalling.

i have included a schema constructed to match the description found in 
http://maven.apache.org/guides/mini/guide-creating-archetypes.html .  it has 
been attached with a diagram of the structure for those not familiar with 
schema syntax.  it's pretty simple.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to