[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
