so, how do you gain access to the custom section? Would you have to re-parse the whole pom? Also, would <custom/> be subject to any sort of inheritance, or would it simply be invisible to the project builder?

-john

Jason van Zyl wrote:
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!



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

Reply via email to