Please file a JIRA and resubmit with a diff format. I am sure if there
are enough interests, it will be eventually implemented.

At this moment, I dont see a personal need for the report feature yet,
but it is just me

Thanks for working on this feature.

-D

On Sun, Nov 30, 2008 at 9:14 AM, Gérald Quintana
<[EMAIL PROTECTED]> wrote:
> Dear Maven SQL plugin authors,
>
> I needed something to do some database checking from my CI server. So
> I imagined executing some SQL commands and displaying the results with
> the Maven Site system: in a word do "select ... from ..." query and
> display the result set in HTML. I checked out the SQL plugin from SVN
> did some modifications and here it is: I am able to display SQL output
> in Maven Site. You'll find my prototype attached along with a sample
> project (src/test/resources/test-project) and a snapshot.
>
> Basically, here is what I did:
> 1) I splitted SqlExecMojo into 3 pieces:
>     - The Mojo (Maven plugin + configuration)
>     - The engine (SQL execution)
>     - The rendering (output file)
> 2) I developped a new Mojo
>     - The Report (Maven report + configuration)
>     - The engine (same as above)
>     - The rendering (Doxia Sink)
>
> The code needs polishing (Unit testing, JavaDoc, I18n, more
> configuration...), but it works.
>
> Tell me what you think about this idea? Is it worth continuing?
>
> Gérald
>

Reply via email to