On Aug 2, 2011, at 8:00 AM, Jesse Glick wrote:

> Worse, Maven seems to have a different idea of what valid content is than the 
> schema says. For example, the schema says <xs:element name="modelVersion" 
> minOccurs="0" ...> but Maven will report "'modelVersion' is missing." as a 
> fatal error. Certainly there will be some semantic constraints that XML 
> Schema cannot capture - e.g. <groupId> can be omitted from <project> if 
> <parent> specifies it - but these ought to be minimized.
> 

The schema is being generated from the Modello model so if you see things that 
are incorrect then you probably need to fix them in the Modello XSD plugin[1]

[1]: 
https://github.com/sonatype/modello/tree/master/modello-plugins/modello-plugin-xsd

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

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------

First, the taking in of scattered particulars under one Idea,
so that everyone understands what is being talked about ... Second,
the separation of the Idea into parts, by dividing it at the joints,
as nature directs, not breaking any limb in half as a bad carver might.

  -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander)



Reply via email to