You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jochen Wiedmann <jo...@gmail.com> on 2007/12/29 22:49:54 UTC

Re: Creating a report from the command line?


May I repeat this question? I am absolutely undecided how to handle MOJO-866
without a helpful reply.


Jochen Wiedmann wrote:
> 
> Hi,
> 
> I have a question regarding MOJO-866. Hopefully, someone can help me.
> 
> In this bug report, someone is invoking the rat:rat goal from the
> command line. The plugin fails with a NullPointerException, because
> getProject() returns null.
> 
> - Are reports supposed to be working, if you are invoking them directly?
> Or
>   are they being restricted to run within the "site" goal?
> - If the former, why is getProject() returning null? Is that a bug?
> (It definitely sounds so,
>   Maven 2.0.7 is in use.) Or is there something, that I as the plugin
> developer have to do?
> - If the latter, shouldn't Maven detect that the user is invoking a
> report and tell him,
>   that he isn't running the site goal?
> 
> Thanks,
> 
> Jochen
> 
> 
> -- 
> "Besides, manipulating elections is under penalty of law, resulting in
> a preventative effect against manipulating elections.
> 
> The german government justifying the use of electronic voting machines
> and obviously  believing that we don't need a police, because all
> illegal actions are forbidden.
> 
> http://dip.bundestag.de/btd/16/051/1605194.pdf
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Creating-a-report-from-the-command-line--tp11854098s177p14541885.html
Sent from the Maven Developers mailing list archive at Nabble.com.


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