Arnaud HERITIER wrote:
After thinking about it I'm not sure it's a good idea to validate the POM with 
a schema :-(

I don't really agree with you here. It's true that the plugin will not help you if your pom is actually not well formed or not parsable, Maven core will fail before the plugin is able to tell you what's wrong. [I have actually committed some documentation updates about this only this morning, see also MAVEN-1707].

pom:validate is not supposed to tell you whether your pom is valid xml, but rather whether it's a valid pom. Any sensible project should at least define name, groupId, etc, in order to produce meaningful results. The pom:validate goal should verify that such minimum requirements are met, so that a user can expect the correct behavior of basic maven features.

-Lukas


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

Reply via email to