diff --git a/pom/xdocs/index.xml b/pom/xdocs/index.xml index 0cc0a7a5..037d495f 100644 --- a/pom/xdocs/index.xml +++ b/pom/xdocs/index.xml @@ -30,17 +30,6 @@ This plug-in provides some basic validation and updating mechanisms for your POM.

-

- WARNING: for the pom:validate goal - to work, your project descriptor (project.xml) has - to be at least parsable and well-formed in the first place - (chicken or egg?). If your pom is not well-formed, Maven - will fail with a (hopefully useful) error message before any - plugin starts to work. If you are having problems getting Maven - to run, you should try to validate your pom with an independent - validation tool first. - See Validation for more details. -

diff --git a/pom/xdocs/validation.xml b/pom/xdocs/validation.xml index ef5eae4f..215fe4d9 100644 --- a/pom/xdocs/validation.xml +++ b/pom/xdocs/validation.xml @@ -30,7 +30,17 @@ project descriptor (project.xml, pom) against an xsd schema. The general form of a project descriptor can be found on the main Maven - site. + site. +

+

+ WARNING: for the pom:validate goal + to work, your project descriptor (project.xml) has + to be at least parsable and well-formed in the first place + (chicken or egg?). If your pom is not well-formed, Maven + will fail with a (hopefully useful) error message before any + plugin starts to work. If you are having problems getting Maven + to run, you should try to validate your pom with an independent + xml validation tool first.

@@ -178,13 +188,15 @@

- It is recommended that you include a namespace declaration in your - project root: + In order to be valid, your project.xml file needs + to include a namespace declaration in the project root element:

]]>

- but this is currently not enforced by the validation routine. + or

+ ]]>