You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Adam Leggett <Ad...@upco.co.uk> on 2006/03/17 09:44:44 UTC

[m2] Rss reports

Hi,

Newbie to the list here.

I would like to be able to publish reports generated by the site mojo in
rss format.
I notice that the checkstyle report plug-in provides this. 

My question is, which mojo should have responsibility for output
presentation? I see that a report is encapsulated as a MavenReport
implementation which has a generate method. The method accepts a Doxia
'Sink'.

Is a custom Sink implementation the way to go? Maybe somebody is already
developing RssSink.

TIA

Adam

Adam Leggett <ad...@upco.co.uk>
Senior Consultant
UPCO
Direct Line: 0113 20 10 631
Fax: 0113 20 10 666
<http://www.upco.co.uk>




===========================================================================
The contents of this email are intended for the named addresses and may 
contain confidential and/or privileged material. If received in error, 
please contact UPCO head office on +44(0)113 201 0600 and then delete 
the entire mail from your system. Unauthorised review, distribution, 
disclosure or other use of information could constitute a breach of 
confidence. Your co-operation in this matter is greatly appreciated.

Every effort has been taken to ensure that this email and any 
attachments are virus-free. However, UPCO does not make any warranty 
to this effect, and is not liable for any damage done by an infected 
email message or attachment. UPCO recommends that all emails and 
attachments are checked before opening.

All views or opinions expressed in this electronic message and its 
attachements are those of the sender and do not necessarily reflect 
the views and opinions of The Ultimate People Company Ltd.
===========================================================================



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [m2] Rss reports

Posted by Brett Porter <br...@apache.org>.
A sink is one alternative, as long as you can make a sensible mapping
from section levels, tables, paragraphs, etc to RSS markup.

You might like to do something specialised like checkstyle did too -
that would be done in the individual mojo.

- Brett


Adam Leggett wrote:
> Hi,
> 
> Newbie to the list here.
> 
> I would like to be able to publish reports generated by the site mojo in
> rss format.
> I notice that the checkstyle report plug-in provides this. 
> 
> My question is, which mojo should have responsibility for output
> presentation? I see that a report is encapsulated as a MavenReport
> implementation which has a generate method. The method accepts a Doxia
> 'Sink'.
> 
> Is a custom Sink implementation the way to go? Maybe somebody is already
> developing RssSink.
> 
> TIA
> 
> Adam
> 
> Adam Leggett <ad...@upco.co.uk>
> Senior Consultant
> UPCO
> Direct Line: 0113 20 10 631
> Fax: 0113 20 10 666
> <http://www.upco.co.uk>
> 
> 
> 
> 
> ===========================================================================
> The contents of this email are intended for the named addresses and may 
> contain confidential and/or privileged material. If received in error, 
> please contact UPCO head office on +44(0)113 201 0600 and then delete 
> the entire mail from your system. Unauthorised review, distribution, 
> disclosure or other use of information could constitute a breach of 
> confidence. Your co-operation in this matter is greatly appreciated.
> 
> Every effort has been taken to ensure that this email and any 
> attachments are virus-free. However, UPCO does not make any warranty 
> to this effect, and is not liable for any damage done by an infected 
> email message or attachment. UPCO recommends that all emails and 
> attachments are checked before opening.
> 
> All views or opinions expressed in this electronic message and its 
> attachements are those of the sender and do not necessarily reflect 
> the views and opinions of The Ultimate People Company Ltd.
> ===========================================================================
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org