h2-maven-plugin
h2-maven-plugin copied to clipboard
Kindly provide setting the classpath
I want to use H2 as in an integration test. The production database is PostgreSQL. PostgreSQL has some functions which H2 does not.
I could rig up "good enough" versions of those functions I need for H2 in Java, using user defined functions. I could activate them if I could augment the H2 instance's -cp
switch.
But I find I cannot do that. If I add it via <javaOptions>...
, my -cp
is inserted in front of the build-in -cp
- and the last one wins, so my change is ignored.