On 6/9/06, Arnaud Bailly <[EMAIL PROTECTED]> wrote:
Hello,
I am looking for a way to integrate my reports into the standard maven
site layut which I believe is controlled by doxia.  Before delving
into the code of some other plugin, I tried digging into the mailing
list archives but could not find an answer at 'custom report plugin'.

If someone could point me to the right direction, I would be grateful.

Your mojo has to implement MavenReport. In the implementation you will
implement several methods that will guide the report plugin framework
and tell it what to expect from your plugin.

Most times you only need to inherit from AbstractMavenReport.

Feel free to look at existing plugin's code either from maven-plugins
or e.g. from http://mojo.codehaus.org.

Here are two examples taken from the mojo project.

http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/cobertura-maven-plugin/src/main/java/org/codehaus/mojo/cobertura/CoberturaReportMojo.java
http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/mojo-sandbox/smc-maven-plugin/src/main/java/org/codehaus/mojo/smc/SmcReportMojo.java

Jerome

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

Reply via email to