'Lo.

Is there an example out there (or some documentation) of how to write a
simple reporting plugin for Maven 3.2.1?

I have the following:

http://waste.io7m.com/2014/04/19/NullReport.java

Which results in a file called null.html using the current site skin,
the main content of which just contains the word "Nothing". However,
I've no idea how to set a page title.

It's not clear why I'm required to override the methods such as
getSiteRenderer() as they're obviously never called and are
undocumented.

I've only been able to find the following online:

  http://docs.codehaus.org/display/MAVENUSER/Write+your+own+report+plugin

... which is so vague as to be almost useless. For example: "For a
relatively straightforward report, you can take advantage of
AbstractMavenReportRenderer". How can I "take advantage" of it?

I've tried to pick through the standard Maven plugins, but there are so
many layers of indirection and inheritance that it's almost inscrutable.

Anyone got any ideas?

M

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to