Vincent Massol wrote: > Hi there, > > I have 2 questions about report plugins (I'm working on the clover plugin): > > * m2 fails on multiprojects because I'm setting a read-only MavenProject > field in my mojo. The error message is "Cannot override read-only parameter: > project in goal: clover:instrument". Is that to be expected or a bug? > Sounds like a bug. It must be trying to reuse the previous clover mojo with each new project. File it for 2.0.2. Please be specific about how to cause it, it still seems strange we haven't encountered this before - it must be related to forking. > * Is it possible for a report plugin to prevent the generation of a menu > report item upon a certain condition (like when sources do not exist for > example)? I'm trying to look for a plugin doing this but I haven't found so > far... for example if the project is of type pom, I want the report not to > be executed. How would I specify this? Please don't tell me to generate an > empty report! This would be a degraded solution... :-) > override the method canGenerateReport() to return false. See javadoc, etc.
- Brett --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
