[prev in list] [next in list] [prev in thread] [next in thread]
List: maven-dev
Subject: Creating a report from the command line?
From: "Jochen Wiedmann" <jochen.wiedmann () gmail ! com>
Date: 2007-07-29 19:11:46
Message-ID: e75283b10707291211y516ecfd0ua359baa516169be8 () mail ! gmail ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic