Jason van Zyl wrote:
Hi,

For some reason I thought that the strictness in model parsing had been turned off. I was playing around trying to add a <custom/> element and noticed it is still on.

Can we enable the lax parsing in order to make the POM extensible?

The POM will will still be validated at the object model level so this shouldn't cause any grief. I just want to put this on the trunk and maybe push out in the next point release.


I turned off strict parsing and could bootstrap no problem with this in the Maven top-level POM:

<project>
  ...
  <custom>
    <categories>
      <category>Build Tools<category>
    </categories>
    <tags>
      <tag>Project Management</tag>
      <tag>Build Management</tag>
    </tags>
    <downloadSite>http://maven.apache.org/download.html</downloadSite>
  </custom>
  ...
</project>

This these little blurbs I'm trying to make a baby CodeZoo (http://www.codezoo.org) and a DOAP file generator plugin. We have most of the bits needed for DOAP but we're missing a couple things.

All sorts of cool stuff we could do!


--
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

People develop abstractions by generalizing from concrete examples.
Every attempt to determine the correct abstraction on paper without
actually developing a running system is doomed to failure. No one
is that smart. A framework is a resuable design, so you develop it by
looking at the things it is supposed to be a design of. The more examples
you look at, the more general your framework will be.

  -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to