On Feb 6, 2008 2:33 PM, Benjamin Bentmann <[EMAIL PROTECTED]> wrote: > > OK I've put forward a patch for MCHANGES-88 - although its based on > > copying something that works (project info reports) rather than > > understanding what the correct way to handle reports being run > > individually. > > Until r430440 of the maven-reporting-impl, the AbstractMavenReport provided > a default implementation of the execute() method that allowed report mojos > out-of-the-box to run standalone. Now, it just throws an exception and > people start to copy around code from other plugins. Am I missing a point > or is there something going wrong here?
Well is worse than that because the AbstractMavenReport reporting impl version that throws the explict MojoExecutionException( "Reporting mojo's can only be called from ReportDocumentRender" ) hasn't yet been released. So when people pick up a newer plexus version (which seems to happen with m2.0.8) then the older AbstractMavenReport reporting impl throws a confusing NoSuchMethod exception which is exactly the problem in MCHANGES-88. Niall > Regards, > > > Benjamin Bentmann > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
