POM XSD and site doco out of sync and both may be out of sync with code
-----------------------------------------------------------------------
Key: MNG-555
URL: http://jira.codehaus.org/browse/MNG-555
Project: Maven 2
Type: Bug
Components: maven-model
Versions: 2.0-alpha-3
Environment: Win 2K, Java 1.4.2 & Java 1.5.0
Reporter: Andy Glick
It looks as if the XML schema is out of sync with the POM documentation page
and both may be out of sync with the code.
The following fragment from Plugin type's definition on the POM documentation
page does not appear in the published XSD:
http://maven.apache.org/maven2/maven-model/maven.html
<executions>
<pluginExecution>
<id/>
<phase/>
<goals/>
<inherited/>
<configuration/>
</pluginExecution>
</executions>
Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd
In addition, in a post from the Maven User mailing list the following fragment
was reported to work, and it matches neither of the published formats:
<executions>
<execution>
<goals>
<goal>sablecc</goal>
</goals>
</execution>
</executions>
http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]