It might be easiest to just have a generic properties section in the contributor /developer.

Otherwise we'll be forever adding new xsd / java elements.

Nelson, Scott (MAN - Corporate) wrote:

Andy-

I didn't get any further but I would think it would be nice to have a couple
of optional information field for developers and contributors.  As far as I
can tell there are a couple of places that would require a change.  For
starters the maven-project.xsd would need to include the new entrees.  The
Developer.java and Contributor.java would also need to be updated.  And then
there is a DefaultProjectUnmarshaller.java and DefaultProjectMarshaller.java
that could require updating.  Then after all that is updated you should be
able to add an entry to either the developer's or contributor's tag in the
pom.

Does anyone know if I am missing anything here to make this work?

Thanks

Scott


-----Original Message----- From: Andy Jefferson [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 3:29 PM To: Maven Users List Subject: Re: Add additional information to the developers info section


Hi Scott,




I have added the new column in the team-list.xml but I am having problems
with the new entries I have made in my project.xml file.  I guess I have a
couple of questions then.

1.Does maven validate the project.xml file against the maven-project.xsd
file each time it executes its goals?



Not sure on that.




2.If I add an entry to the schema how can I ensure that when my xdoc


plugin


runs that it 'knows' about the new entry in the project.xml file based off
the new schema that I have created? I see that the jelly scripts are
referencing the elements in the project.xml file but I can't get it to
recognize my new entry.

I think I am on the right track but if not someone please point me in the
right direction.



Have looked at it myself as well ... sounded like something that would be
very useful to have ... I managed to get it to add columns on the resultant
report yet it wouldn't fill values in (as you found). Delving further into Maven it


seems that the schema is tied (to some degree) to a Java definition in src/java/org/apache/maven/project/Contributor.java
*Seems* like any extension to the POM in maven-project.xsd has to have an equivalent attribute in the equivalent class file.


You could either download the source for Maven and head in the above direction, or raise an issue in JIRA requesting the extension.








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



Reply via email to