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

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

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


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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-596?page=all ]

Brett Porter updated MNG-596:
-----------------------------

    Fix Version: 2.0-beta-1

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


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

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


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

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-596?page=comments#action_43191 ] 

fabrizio giustina commented on MNG-596:
---------------------------------------

>> 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)
oops, sorry for that, I removed it from the first diff but I forgot to do that in the updated one. Glad to know the bug has been fixed, anyway ;)

> 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


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

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-596?page=all ]

fabrizio giustina updated MNG-596:
----------------------------------

    Attachment: pom-xsd-rev220022.diff

diff updated with revision 220022
This patch is really trivial, but since it affects so many files the diff gets easily outdated: if it's ok to commit it can anybody to that asap? Thanks

> 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