You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/07/21 15:58:57 UTC

[jira] Closed: (MNG-596) Add xml schema to m2 poms

     [ http://jira.codehaus.org/browse/MNG-596?page=all ]
     
Brett Porter closed MNG-596:
----------------------------

    Resolution: Fixed

applied, thanks. watch out for exatra changes in your patches - this commented out a line the DefaultMavenProjectBuilder (you would have commented out due to a bug which is already fixed)

> Add xml schema to m2 poms
> -------------------------
>
>          Key: MNG-596
>          URL: http://jira.codehaus.org/browse/MNG-596
>      Project: Maven 2
>         Type: Improvement
>     Versions: 2.0-alpha-3
>     Reporter: fabrizio giustina
>     Priority: Trivial
>      Fix For: 2.0-beta-1
>  Attachments: pom-xsd-rev220022.diff, pom-xsd.diff
>
>
> pom for maven2 don't contain any reference to the xsd at http://maven.apache.org/maven-v4_0_0.xsd
> Adding the xsd reference to poms will enforce validation in IDEs, and add content assist in xsd-aware xml editors.
> The attached patch will add the following declaration to the root <project> element for all the poms in https://svn.apache.org/repos/asf/maven/components/trunk :
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> (pom.xml files generated by the archetipe plugin will be affected as well)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org