h2-maven-plugin icon indicating copy to clipboard operation
h2-maven-plugin copied to clipboard

Support H2 createWebServer

Open slorber opened this issue 11 years ago • 2 comments

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?

slorber avatar Apr 18 '13 16:04 slorber

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.

ljnelson avatar Apr 19 '13 00:04 ljnelson

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...

slorber avatar Apr 19 '13 08:04 slorber