[ 
http://jira.codehaus.org/browse/ARCHETYPE-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92453
 ] 

Sylvain Mougenot commented on ARCHETYPE-47:
-------------------------------------------

Some attributes are to be included : filtered, encoding.
see http://jira.codehaus.org/browse/ARCHETYPE-19

Like : 
<resource 
*{color:red}filtered="false"{color}*>src/main/resources/image.png</resource>
<resource 
*{color:red}encoding="iso-8859-1"{color}*>src/main/resources/index.html</resource>

> 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: Gregory 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