ljnelson / h2-maven-plugin

A Maven 3 plugin for interacting with the H2 database.
26 stars 10 forks source link

Support H2 createWebServer #3

Open slorber opened 11 years ago

slorber commented 11 years ago

Hello,

This plugin works fine but I'm not a maven expert and the documentation is kind of limited now.

By looking at the abstract mojo I understood how to customize the port (it was not documented) using the plugin configuration.

But I don't know at all how to use the other "services".

I would like to run a webserver for the H2 database. It seems we can set services but I don't understand how, and I guess another mojo may be needed for that right?

ljnelson commented 11 years ago

Hi! I'm glad you're using the plugin. I add things to it when I get time and interest.

I hadn't needed the webserver functionality so I hadn't enabled it.

I'll look into your issue. If you would invoke it as a separate plugin goal, then yes, it's another mojo.

slorber commented 11 years ago

thanks,

This plugin works fine for me anyway, it's just it would be nice to have the possibility to easily debug integration tests DB with the web interface. But perhaps I can connect with MySQL workbench or Oracle SQL Dev to the H2 tcp server?

It would be even nicer if you add just a little bit of documentation on the home page, like basic configuration options, the fact it is published on maven central...