The maven 1 pom is explained here [1] and there is an xsd available
there [2]. As you see, id is not a valid tag for a contributor (the
developer id is an scm id, so it's pointless for a contributor), and
contrary to m1.0, the parser in maven 1.1 enforces the rules.
HTH,
-Lukas
[1] http://maven.apache.org/maven-1.x/reference/maven-model/3.0.2/maven.html
[2] http://maven.apache.org/maven-v3_0_0.xsd
JG Flowers wrote:
Hi folks, I'm using Maven 1 to look at XDoclet. It falls over with an error
parsing an id node in the contributor section
C:\Tools\XDoclet\xdoclet-all\xdoclet\project.xml'
[exec] >> ParseError at [row,col]:[295,17]
[exec] Message: Unrecognised tag: 'id'
So it begs the question is there a DTD for project.xml files or something of
this nature
There is this weird DOCTYPE at top of document
<!DOCTYPE project [
<!ENTITY Ouml "Ö">
<!ENTITY eacute "é">
<!ENTITY oslash "ø">
]>
And it says <pom version> is 3..
Can someone point me to a guide that explains this stuff. Cheers.
BTW: I'm using Maven 1.1
Here is snippet that's failing
<contributors>
<contributor>
<name>Alon Salant</name>
</contributor>
<contributor>
<name>Andreas "Mad" Schaefer</name>
<id>schaefera</id>
[EMAIL PROTECTED]
<organization>JBossGroup</organization>
</contributor>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]