Folks,

We use a custom doclet here, which is more useful to us than 
the standard one. I have patched Maven to use it, and thought
it might be useful to other people.

To use, define two new properties in e.g. build.properties:

# Set up our special doclet
maven.javadoc.doclet=full.class.name.here
maven.javadoc.docletpath=full/path/to/doclet/jar


Attached is the patch. There is one slight problem with it,
in that you must define the above properties. I couldn't 
figure out the best way to make this conditional. Maybe
someone with a better understanding of the project can
point me in the right direction. Regardless, I think it 
would be very useful to support using a custom doclet.

Thanks

Todd


Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/src/templates/build/plugins/docs/build.xml,v
retrieving revision 1.22
diff -r1.22 build.xml
936a937,938
>       javadoc.doclet = ${maven.javadoc.doclet}
>       javadoc.docletpath = ${maven.javadoc.docletpath}
949a952,953
>       doclet="${maven.javadoc.doclet}"
>       docletpath="${maven.javadoc.docletpath}"

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

Reply via email to