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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating a report from the command line?
[Reposting, due to missing reply] Hi, I have a question regarding MOJO-866. Hopefully, someone can help me. In this bug report, someone is invoking the rat:rat goal (which creates a report) 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 -- Look, that's why there's rules, understand? So that you think before you break 'em. -- (Terry Pratchett, Thief of Time) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Creating a report from the command line?
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]