You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Greg Kick (JIRA)" <ji...@codehaus.org> on 2006/07/21 04:40:25 UTC

[jira] Created: (ARCHETYPE-47) use an xml schema for archetype.xml

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

        

[jira] Commented: (ARCHETYPE-47) use an xml schema for archetype.xml

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214728#action_214728 ] 

Herve Boutemy commented on ARCHETYPE-47:
----------------------------------------

an [xsd generated from Modello descriptor archetype.mdo|http://maven.apache.org/xsd/archetype-1.0.0.xsd] has just been published (with [documentation|http://maven.apache.org/maven-archetype/archetype-common/archetype.html])

please have a look and confirm it is ok

> 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-alpha-5
>         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

        

[jira] Commented: (ARCHETYPE-47) use an xml schema for archetype.xml

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214731#action_214731 ] 

Herve Boutemy commented on ARCHETYPE-47:
----------------------------------------

it takes a couple of hours to sync...

what you expect as archetype-metadata is published as archetype-descriptor: see ARCHETYPE-237

> 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-alpha-5
>         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

        

[jira] Commented: (ARCHETYPE-47) use an xml schema for archetype.xml

Posted by "luke w patterson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214730#action_214730 ] 

luke w patterson commented on ARCHETYPE-47:
-------------------------------------------

> an xsd generated from Modello descriptor archetype.mdo has just been published (with documentation)

good news, couple of questions:

* is this the right url http://maven.apache.org/xsd/archetype-1.0.0.xsd ? don't see anything there yet
* will an xsd for archetype-metadata.xml be published also?


> 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-alpha-5
>         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

        

[jira] Closed: (ARCHETYPE-47) use an xml schema for archetype.xml

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/ARCHETYPE-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed ARCHETYPE-47.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-alpha-5
         Assignee: Herve Boutemy

> 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-alpha-5
>         Environment: all
>            Reporter: Gregory Kick
>            Assignee: Herve Boutemy
>             Fix For: 2.0-alpha-5
>
>         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

        

[jira] Commented: (ARCHETYPE-47) use an xml schema for archetype.xml

Posted by "Sylvain Mougenot (JIRA)" <ji...@codehaus.org>.
    [ 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